A basic stdio & streamable http implementation of FastMCP Server
Overview
What is Simple MCP Server?
Simple MCP Server is a minimal implementation of the Model Context Protocol (MCP) server using FastMCP, designed to connect AI systems with external tools and data sources.
How to use Simple MCP Server?
To use the Simple MCP Server, clone the repository, install the dependencies, and run the server in one of three modes: both transports, HTTP transport only, or stdio transport only.
Key features of Simple MCP Server?
- Dual transport support (HTTP and stdio)
- Simple authentication middleware for HTTP transport
- Example tools implementation
- Compatible with MCP clients like Windsurf IDE and Claude
Use cases of Simple MCP Server?
- Connecting AI systems to external tools and data sources.
- Providing a simple interface for AI clients to interact with.
- Demonstrating the capabilities of the Model Context Protocol.
FAQ from Simple MCP Server?
- What is the Model Context Protocol (MCP)?
MCP is a standard that connects LLMs with external tools and data sources.
- What are the prerequisites for running the server?
You need Python 3.11+ and the FastMCP library.
- How can I extend the server with my own tools?
Modify the
create_mcp_server()function inrun_server.pyto add custom tools.