dynamic-fastmcp
by ragieai·★ 45·Score 42
Dynamic FastMCP extends MCP Python server with context-aware tools that adapt behavior based on user and tenant context.
Overview
Dynamic FastMCP is a Python library that builds upon the official MCP Python SDK, adding dynamic tool capabilities that can adapt their behavior and descriptions based on request context, user information, and path parameters. It provides seamless integration with FastAPI and supports multi-tenant environments. The library enables developers to create context-aware tools that offer personalized experiences and tenant-specific functionality while maintaining compatibility with standard MCP tools.
Try asking AI
After installing, here are 3 things you can ask your AI assistant:
When to choose this
Choose Dynamic FastMCP when building multi-tenant applications or tools that need to adapt their behavior based on user context, tenant information, or request parameters.
When NOT to choose this
Don't choose this if you need simple, static tools without context adaptation or if you're not building on Python with FastAPI.
Tools this server exposes
4 tools extracted from the READMEechotext: str, ctx: ContextEchoes the input text
personalized_echotext: str, ctx: ContextEchoes text with personalization for a specific user
tenant_toolaction: str, ctx: ContextPerforms tenant-specific operations
dashboardwidget: str, ctx: ContextAccess dashboard data for a specific user
Comparable tools
Installation
pip install dynamic-fastmcpOr using UV:
uv add dynamic-fastmcpFor Claude Desktop configuration, add to your claude_desktop_config.json:
{
"mcpServers": {
"dynamic-fastmcp": {
"command": "python",
"args": ["-m", "dynamic_fastmcp"],
"env": {
"PYTHONPATH": "<your-project-path>"
}
}
}
}Compare dynamic-fastmcp with
Last updated · Auto-generated from public README + GitHub signals.