
Dynamic FastMCP
by ragieai
Extends MCP Python servers with context-aware tools that adapt behavior and descriptions based on user and request context.
What it does
Dynamic FastMCP is a specialized library for building advanced Model Context Protocol (MCP) servers in Python. Unlike standard MCP servers, it enables the creation of dynamic tools that can modify their own descriptions and execution logic in real-time based on the authenticated user, tenant ID, or specific request paths. This makes it ideal for multi-tenant SaaS applications where tool availability and behavior must be tailored to different users.
Tools
- Dynamic Tool Generation: Allows tools to resolve their descriptions dynamically via
handle_description. - Contextual Execution: Tools gain access to the full request context during the
handle_callphase. - Hybrid Support: Seamlessly mixes static MCP tools with these dynamic, context-aware variants.
Installation
To use Dynamic FastMCP, install the package via pip:
pip install dynamic-fastmcp
For a basic configuration in claude_desktop_config.json (assuming a local python script wrapper):
{
"mcpServers": {
"dynamic-fastmcp": {
"command": "python",
"args": ["path/to/your/server.py"]
}
}
}
Supported hosts
- Claude Desktop
Quick install
pip install dynamic-fastmcpInformation
- Pricing
- free
- Published
- 4/23/2026






