Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

MCP-Transport-Protype
一个原型实现,用于构建可通过STDIO和SSE Transport访问的自定义MCP服务器
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
相关推荐
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Create and Publish Business Websites in seconds. AI will gather all the details about your website and generate link to your website.
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!
Carbon footprint calculations breakdown and advices on how to reduce it
Text your favorite pet, after answering 10 questions about their everyday lives!
Best-in-class AI domain names scoring engine and availability checker. Brandability, domain worth, root keywords and more.
AI's query engine - Platform for building AI that can answer questions over large scale federated data. - The only MCP Server you'll ever need
llm llm聊天机器人及开发框架平台支持QQ QQ QQ 频道、电报| mcp 服务器、 openai,deepseek,双子座、硅基流动、月之暗面、 ollama,
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.