Mcp2http
MCP2HTTP is a minimal transport adapter for connecting MCP clients using stdio to stateless HTTP MCP servers.
rating : 2.5 points
downloads : 16
What is MCP2HTTP?
MCP2HTTP is an adapter that allows Model Context Protocol (MCP) clients using standard input/output to communicate with MCP servers over regular HTTP connections. It acts as a translator between different communication methods while maintaining protocol compatibility.How to use MCP2HTTP?
Simply configure your MCP client to use the MCP2HTTP command with your server's HTTP endpoint URL. The adapter handles all the communication conversion automatically.When to use MCP2HTTP?
Ideal when you need to connect MCP clients to cloud-based services, serverless functions, or any HTTP endpoint. Also useful for testing and development environments.Key Features
Automatic Session TrackingGenerates unique session IDs for request correlation without server-side state management
Smart Capability FilteringBlocks unnecessary capability polling requests to reduce server load
Notification OptimizationSilently drops notifications to better match HTTP's request/response model
Pros and Cons
Advantages
Enables MCP clients to work with standard HTTP servers
No server-side session management required
Reduces unnecessary network traffic with capability filtering
Works with serverless platforms and legacy systems
Limitations
Notification messages are not supported
Requires HTTP endpoint implementation
Session tracking relies on client-generated IDs
Setup Guide
Install the adapter
Ensure you have Node.js installed, then run the adapter using npx
Configure your MCP client
Update your client configuration to use the MCP2HTTP command
Add any required headers
Include authentication or other headers as needed
Usage Scenarios
Local Development SetupConnecting a local MCP client to a development server
Cloud Service IntegrationConnecting to a cloud-based MCP service with authentication
Frequently Asked Questions
Do I need to modify my MCP client to use this adapter?
Why are notifications dropped?
Is session tracking secure?
Additional Resources
Model Context Protocol Documentation
Official MCP specification and documentation
Example MCP Server Implementation
Sample HTTP MCP server code
MCP2HTTP GitHub Repository
Source code and issue tracker for the adapter
Featured MCP Services

Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
141
4.5 points

Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
86
4.3 points

Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
1.7K
5 points

Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
830
4.3 points

Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
565
5 points

Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
6.7K
4.5 points

Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
754
4.8 points

Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
283
4.5 points