FastMCP Beginner MCP Servers
A beginner-friendly collection of MCP server implementations demonstrating calculator tools, web APIs with SSE transport, and RSS feed integration for AI agents. Includes examples using stdio and HTTP transports with validation via MCP Inspector.
README
FastMCP Beginner MCP Servers
Overview
This repository is a beginner-friendly exploration of MCP (Model Context Protocol) servers built using FastMCP. The goal of this project is to understand how to create, run, and validate MCP servers that can later be connected to AI agents for practical tasks such as calculations, API access, and data retrieval.
This project focuses on fundamentals:
- Creating MCP-compliant servers
- Exposing tools and resources to AI agents
- Verifying MCP servers using the official MCP Inspector
- Understanding different transport methods (stdio, HTTP, SSE)
Each scenario is intentionally simple and educational, making this project ideal for a GitHub portfolio that demonstrates early MCP and AI-agent infrastructure knowledge.
Project Structure
This repository contains four MCP scenarios, each showcasing a different way MCP servers can be implemented and tested.
Additionally, supporting notes are included to explain:
- How to run each MCP server
- How to validate functionality using the MCP Inspector
- Common troubleshooting tips
Tools & Technologies Used
- Python
- FastMCP
- Model Context Protocol (MCP)
- MCP Inspector
- HTTP / SSE transports
- RSS (XML feeds)
MCP Inspector (Required for Testing)
All MCP servers in this project are validated using the official MCP Inspector:
🔗 https://modelcontextprotocol.io/docs/tools/inspector
General Command Format
npx @modelcontextprotocol/inspector <command>
Depending on the scenario, the command may be a Python script or a URL endpoint.
Scenario 1: Basic FastMCP Script (Stdio Transport)
Description
This scenario demonstrates a basic FastMCP server running directly from a Python script using standard input/output (stdio). It exposes simple tools (such as a calculator) that an AI agent can call.
How to Run
npx @modelcontextprotocol/inspector python fastmcp_calc.py
Key Concepts
- Stdio-based MCP servers
- Tool exposure via FastMCP
- Direct script execution
Validation
- Launch the MCP Inspector
- Ensure tools appear correctly
- Call exposed tools to verify functionality
Scenario 2: FastMCP Web API (HTTP + SSE Transport)
Description
This scenario runs a FastMCP server as a web API, allowing MCP connections over HTTP using Server-Sent Events (SSE).
Running the API
Start the server locally (example port shown):
python fastmcp_api.py
If the browser shows "Not Found", navigate to:
http://localhost:8002/docs
This opens the interactive API documentation.
MCP Inspector Command
npx @modelcontextprotocol/inspector http://localhost:8001/mcp
Important Inspector Settings
- Transport Type: SSE
- URL: Your selected MCP endpoint (e.g.,
http://localhost:8001/mcp)
Key Concepts
- HTTP-based MCP servers
- SSE transport
- API-style MCP services
Scenario 3: RSS Feed MCP Server
Description
This scenario uses RSS (Really Simple Syndication) feeds to provide structured XML-based updates to an AI agent.
Data Sources
- Website RSS feeds
- YouTube RSS feed for freeCodeCamp.org
- Channel ID:
UC8butISFwT-Wl7EV0hUK0BQ
- Channel ID:
Purpose
- Demonstrates MCP servers as information providers
- Shows how AI agents can consume external XML data
Key Concepts
- RSS and XML parsing
- Content syndication
- MCP as a data ingestion layer
Scenario 4: Project Aggregation & MCP Registration
Description
After completing all scenarios, project metadata is collected into a JSON configuration file. This file is used to register and manage MCP servers inside an AI development environment.
VS Code Agent Mode Setup
- Open Agent Mode in VS Code
- Click the talkbox icon near the top center
- Select an AI model at the bottom of the agent panel
- Navigate to:
Extensions → MCP Servers → Installed - Right-click your MCP server
- Select Start Service
This allows AI agents to discover and interact with your MCP servers.
Architecture Overview

What This Project Demonstrates
- Practical understanding of MCP fundamentals
- Ability to build MCP servers from scratch
- Knowledge of multiple transport types (stdio, HTTP, SSE)
- Experience validating MCP servers with official tools
- Early-stage AI agent infrastructure development
Why This Matters
MCP is becoming a core building block for agentic AI systems. This project shows:
- You understand how AI tools are exposed
- You can wire services into agent workflows
- You are building toward scalable, modular AI systems
For a beginner project, this is exactly the right direction.
Future Improvements
- Add authentication and security layers
- Expand tool complexity
- Integrate databases or vector stores
- Deploy MCP servers remotely
- Connect multiple MCP servers to a single agent
Status
✅ Beginner project completed
This repository represents a learning-first implementation of MCP servers and lays the foundation for more advanced AI-agent systems.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。