alejandro-ao/mcp-server-demo
Demo of MCP Server in Python using FastMCP
Platform-specific configuration:
{
"mcpServers": {
"mcp-server-demo": {
"command": "npx",
"args": [
"-y",
"mcp-server-demo"
]
}
}
}Add the config above to .claude/settings.json under the mcpServers key.
This repository provides an educational example of a Model Context Protocol (MCP) server implemented in Python using the FastMCP library. It demonstrates how to expose tools, resources, and prompts to AI clients, enabling seamless integration with applications like IDEs, chatbots, and agent frameworks.
Model Context Protocol (MCP) is an open protocol that standardizes how AI applications connect to external tools and data sources. MCP servers expose:
Learn more: modelcontextprotocol.io
FastMCP is a Python library for building MCP servers quickly and easily. It provides:
MCP uses a client-server architecture:
Servers declare their capabilities during initialization. Tools are listed and can be invoked by the client or model. FastMCP makes it easy to implement these features in Python.
pip install fastmcp python mcp_server.pyLoading reviews...