Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.

MCP-transport-prototype
Une implémentation prototype pour créer un serveur MCP personnalisé accessible sur STdio et SSE Transport
0
Github Watches
0
Github Forks
0
Github Stars
mcp-transport-prototype
A prototype implementation to understand building custom MCP server that is accessible over stdio and SSE transport. The goal here is to understand SSE and stdio transports.
SSE Transport
Server-Sent Events (SSE) is a simple, efficient way to push real-time updates from the server to the client over HTTP.
- Unlike WebSockets, SSE is one-way: the server can stream data to the client, but not vice versa.
- It works over standard HTTP and is well-suited for scenarios like live updates, notifications, or streaming responses.
Unlike stdio, SSE runs the MCP server as a separate HTTP service. This makes it well-suited for use cases like web dashboards or browser-based apps that need to receive streamed updates from the server over the network.
Stdio Transport
Stdio (short for standard input/output) is a traditional way for programs to communicate by reading from and writing to the terminal or connected processes.
-
stdin
(standard input): receives input data — usually from the keyboard, a file, or another program. -
stdout
(standard output): sends output data — usually printed on the terminal or piped to another program.
Compared to SSE, stdio-based MCP servers feel more like in-process tools. They're ideal when you're launching the MCP server as a subprocess, such as from a command-line tool, an LLM agent, or a background script that needs to send and receive structured data efficiently without using a network.
See in Action
mcp_client.py is a quick script to test MCP server in SSE mode.
# Run in Terminal 1
uv run main.py
# Run in Terminal 2
uv run mcp_client.py
相关推荐
Text your favorite pet, after answering 10 questions about their everyday lives!
Carbon footprint calculations breakdown and advices on how to reduce it
You're in a stone cell – can you get out? A classic choose-your-adventure interactive fiction game, based on a meticulously-crafted playbook. With a medieval fantasy setting, infinite choices and outcomes, and dice!
Evaluates language quality of texts, responds with a numerical score between 50-150.
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
Structured recipes for food and desserts – ingredient lists and step-by-step recipe instructions from any input. Become surprised, try something new or breathe life into grandma's old recipe notebook.
🧑🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.
🔥 1Panel fournit une interface Web intuitive et un serveur MCP pour gérer des sites Web, des fichiers, des conteneurs, des bases de données et des LLM sur un serveur Linux.
Ce projet a été créé pour démontrer comment nous pouvons nous connecter avec différents protocoles de contexte de modèle (MCP).
⛓️RULEGO est un cadre de moteur de règle d'orchestration des composants de nouvelle génération légère, intégrée, intégrée et de nouvelle génération pour GO.
PDF Traduction de papier scientifique avec formats conservés - 基于 AI 完整保留排版的 PDF 文档全文双语翻译 , 支持 Google / Deepl / Olllama / Openai 等服务 , 提供 CLI / GUI / MCP / DOCKER / ZOTERO
Exécuter des serveurs STDIO de contexte de modèle existant (MCP) dans les fonctions AWS Lambda
Reviews

user_nUWEWWBd
The mcp-transport-prototype by Amishk599 is a game-changing application for efficient transport management. It’s intuitive, user-friendly, and significantly improves organizational logistics. Highly recommend it for anyone looking to optimize their transport operations!

user_4pdyOnJZ
I recently tried the mcp-transport-prototype by Amishk599 and I'm thoroughly impressed! This innovative product offers seamless integration and efficient transport solutions. It's user-friendly and designed with a meticulous attention to detail. A must-try for anyone looking to enhance their existing system!

user_vEki8M0r
The mcp-transport-prototype by Amishk599 is an exceptional tool for transportation management. Its user-friendly interface and efficient performance make daily operations more streamlined. The system's reliability and robust features have significantly improved our workflow. Highly recommended for anyone in the logistics and transportation industry!

user_pwt0ZXyP
As a dedicated user of MCP applications, I can confidently say that the mcp-transport-prototype by Amishk599 is a remarkable tool. Its intuitive design and functionality have greatly enhanced my workflow. The ease of navigation and reliability make it a must-have for anyone seeking efficiency in their transport management tasks. Highly recommended!

user_tz1AW9uj
As a dedicated user of mcp applications, I found the mcp-transport-prototype created by Amishk599 to be an impressive addition. Its intuitive interface and seamless functionality have significantly enhanced my workflow. I highly recommend it to anyone looking to streamline their transport-related tasks.