mcp-tool-server
An MCP server that provides utility tools for text analysis, URL metadata fetching, and temperature conversion.
README
mcp-tool-server
A production-ready MCP tool server built with FastMCP.
Status: Phase 2 — Example Tools & Tool Metadata
Stack
Python 3.12+ · FastMCP 3 · Pydantic v2 · httpx · uv
Tools
| Tool | Tags | Description |
|---|---|---|
analyze_text |
text, utility |
Word/character/sentence counts and an estimated reading time. |
fetch_url_metadata |
network, utility |
Status code, headers, and response time for an http/https URL. |
convert_temperature |
math, utility |
Convert between celsius, fahrenheit, and kelvin. |
Each tool is a thin adapter over a service function in app/services/ —
the services have no FastMCP import and are unit-tested directly; the tool
layer only adds MCP-facing concerns (schema, metadata, error translation).
Quick Start
uv sync
cp .env.example .env
uv run python -m app.server
The server starts on http://0.0.0.0:8000 using the http transport by
default. Set MCP_TRANSPORT=stdio in .env if a client will spawn this
process directly instead of connecting over the network.
Project Structure
app/
├── server.py # FastMCP instance + process entrypoint
├── config/ # Environment-driven settings (Pydantic v2)
├── utils/ # Logging and other cross-cutting helpers
├── tools/ # MCP tool adapters (schema, metadata, error translation)
├── services/ # Pure business logic behind each tool, no FastMCP import
└── models/ # Pydantic schemas for tool inputs/outputs
tests/
├── test_bootstrap.py # Scaffold smoke tests
├── test_tools_registration.py # Tools reachable via list_tools/call_tool
├── test_text_analysis_service.py
├── test_conversion_service.py
└── test_web_service.py # Uses httpx.MockTransport, no real network
Testing
uv run pytest
uv run ruff check .
uv run mypy app
Roadmap
- [x] Phase 1 — Architecture & project initialization
- [x] Phase 2 — Example tools + tool metadata
- [ ] Phase 3 — FastAPI mounting + health endpoint
- [ ] Phase 4 — Full unit test suite
- [ ] Phase 5 — Docker + docker-compose
- [ ] Phase 6 — Full documentation pass
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.