MCP Servers
by devsapp
MCP Servers on Serverless provides templates and a proxy to enable existing MCP servers using STDIO to work with SSE, allowing them to be used in web applications. The mcp-proxy facilitates the transition of MCP Server code to SSE mode without requiring any code changes.
Last updated: N/A
What is MCP Servers?
This repository provides a collection of MCP (Micro Control Protocol) server templates and a proxy solution (mcp-proxy) that allows existing MCP servers using the STDIO (Standard Input/Output) communication mechanism to be adapted for use with SSE (Server-Sent Events). This enables real-time communication between web clients and MCP servers.
How to use MCP Servers?
To use these templates, choose the appropriate template based on your needs (e.g., GitHub, GitLab, Time, etc.). For existing STDIO MCP servers, deploy the mcp-proxy alongside your server. The mcp-proxy will translate between STDIO and SSE. Refer to the provided examples for Node.js, Python, and Java for hello-world implementations using both STDIO and SSE.
Key features of MCP Servers
Enables existing STDIO MCP servers to work with SSE
No code changes required for existing MCP servers
Provides a proxy (mcp-proxy) for protocol translation
Offers various templates for different use cases (GitHub, GitLab, etc.)
Includes hello-world examples in Node.js, Python, and Java
Use cases of MCP Servers
Integrating existing MCP servers into web applications
Enabling real-time communication with MCP servers
Migrating MCP servers to a serverless environment
Building web-based interfaces for MCP-controlled services
Creating event-driven applications using MCP
FAQ from MCP Servers
What is MCP?
What is MCP?
MCP stands for Micro Control Protocol. It's a protocol used for communication between applications, often involving control and data exchange.
What is STDIO?
What is STDIO?
STDIO stands for Standard Input/Output. It's a communication mechanism where data is exchanged through standard input and output streams.
What is SSE?
What is SSE?
SSE stands for Server-Sent Events. It's a server push technology that allows a server to send updates to a web client over a single HTTP connection.
What is mcp-proxy?
What is mcp-proxy?
mcp-proxy is a proxy server that translates between the STDIO and SSE protocols, allowing existing STDIO-based MCP servers to work with web clients using SSE.
Do I need to modify my existing MCP server code to use mcp-proxy?
Do I need to modify my existing MCP server code to use mcp-proxy?
No, the mcp-proxy is designed to work with existing STDIO MCP server code without requiring any modifications.