You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FastMCP (v3.1.0, Apache-2.0, 23.3k stars) is the standard Python framework for building MCP servers. It transforms Python functions into MCP-compliant tools with automatic schema generation, validation, and transport negotiation. With ~1M daily downloads and ~70% market share of MCP servers, it is the de facto standard.
A Hermes Agent skill that teaches the agent how to build, test, inspect, and deploy MCP servers using FastMCP would enable users to quickly create custom tool servers for their specific needs — wrapping APIs, databases, CLI tools, or business logic into MCP-compatible servers that any AI client can use.
This is the companion to #342 (exposing Hermes's own tools as an MCP server). While #342 is about Hermes serving its built-in tools, this skill is about helping users build their own MCP servers for arbitrary use cases.
# Run a server from a file
fastmcp run server.py:mcp --transport http --port 8000
# Inspect tools available on a server
fastmcp inspect server.py --json
# List tools from a running server
fastmcp list http://localhost:8000/mcp
# Call a tool directly
fastmcp call http://localhost:8000/mcp analyze_data csv_path=data.csv column=revenue
# Install into Claude Desktop/Cursor
fastmcp install server.py --name "My Server"# Discover MCP servers configured on this machine
fastmcp discover
Real-World Use Cases
Wrap an API — Turn a REST API into MCP tools (e.g., internal company API, SaaS service)
Database access — Expose query capabilities from PostgreSQL, SQLite, etc.
File processing — Build tools for PDF parsing, image analysis, data transformation
Business logic — Wrap domain-specific calculations or workflows
CLI tool wrappers — Make CLI tools accessible as MCP tools
Current State in Hermes Agent
Existing MCP Skills/Tools
tools/mcp_tool.py — MCP client for consuming external servers (native)
Overview
FastMCP (v3.1.0, Apache-2.0, 23.3k stars) is the standard Python framework for building MCP servers. It transforms Python functions into MCP-compliant tools with automatic schema generation, validation, and transport negotiation. With ~1M daily downloads and ~70% market share of MCP servers, it is the de facto standard.
A Hermes Agent skill that teaches the agent how to build, test, inspect, and deploy MCP servers using FastMCP would enable users to quickly create custom tool servers for their specific needs — wrapping APIs, databases, CLI tools, or business logic into MCP-compatible servers that any AI client can use.
This is the companion to #342 (exposing Hermes's own tools as an MCP server). While #342 is about Hermes serving its built-in tools, this skill is about helping users build their own MCP servers for arbitrary use cases.
Research source: FastMCP Documentation and GitHub repo
Research Findings
What FastMCP Enables
FastMCP lets you turn any Python function into an MCP tool in 4 lines:
Key Capabilities for Users
mount()and namespacingfastmcp run,fastmcp inspect,fastmcp installFastMCP CLI Commands (Key for the Skill)
Real-World Use Cases
Current State in Hermes Agent
Existing MCP Skills/Tools
tools/mcp_tool.py— MCP client for consuming external servers (native)mcporterskill — CLI-based MCP tool calling (discovery, auth, calling)docs/mcp.md— MCP client documentationThe Gap
fastmcpCLI for testing/deploymentImplementation Plan
Skill vs. Tool Classification
This should be a skill (bundled, not Skills Hub) because:
fastmcpCLI and Python API, which the agent uses viaterminalandwrite_fileWhat We'd Need
Phased Rollout
Phase 1: Core skill with templates
templates/api_wrapper.py— REST API → MCP servertemplates/database_server.py— Database query toolstemplates/file_processor.py— File analysis toolsfastmcp inspect,fastmcp call,fastmcp listfastmcp installPhase 2: Composition and deployment
Phase 3: Integration with Hermes MCP client
~/.hermes/config.yamlPros & Cons
Pros
Cons / Risks
pip install fastmcp(not a Hermes dependency)Open Questions
References