Model Context Protocol Servers
MCP Servers
Extend your agent's capabilities with MCP servers. Browse available servers for file operations, databases, APIs, browsers, search, and more.
All Servers (26)File System (1)Database (3)API & Services (8)Browser (3)Search (4)Communication (3)Memory & Knowledge (4)
All Servers(26)
Build Your Own MCP Server
Create custom MCP servers in Python or Node.js. Follow the step-by-step guide below.
1
Install FastMCP
FastMCP is a high-level Python framework for building MCP servers with minimal boilerplate.
pip install fastmcp2
Create your first server
Define tools with @mcp.tool() and resources with @mcp.resource(). FastMCP handles protocol serialization automatically.
from fastmcp import FastMCP
# Create an MCP server named "Demo"
mcp = FastMCP("Demo")
@mcp.tool()
def hello(name: str) -> str:
"""Say hello to someone."""
return f"Hello, {name}!"
@mcp.resource("config://app")
def get_config() -> str:
"""Return app configuration."""
return '{"version": "1.0.0"}'
if __name__ == "__main__":
mcp.run()3
Run the server
FastMCP runs a stdio-based MCP server. Connect it to your agent via the MCP config file.
python server.py4
Connect to agent
Add this to your agent's MCP config (claude_desktop_config.json, .opencode/mcp.json, etc). The agent will auto-start the server on launch.
{
"mcpServers": {
"demo": {
"command": "python",
"args": ["server.py"],
"cwd": "/path/to/your/project"
}
}
}