MCP Catalogs
Homedynamic-fastmcp screenshot

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.

developer-toolsai-llmproductivity
11
Forks
1
Open issues
9 mo ago
Last commit
2d ago
Indexed

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:

you:Multi-tenant SaaS applications where tools behave differently per tenant
you:User-specific tools that adapt functionality based on authenticated user context
you:Context-sensitive operations that change behavior based on request path or parameters

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 README
  • echotext: str, ctx: Context

    Echoes the input text

  • personalized_echotext: str, ctx: Context

    Echoes text with personalization for a specific user

  • tenant_toolaction: str, ctx: Context

    Performs tenant-specific operations

  • dashboardwidget: str, ctx: Context

    Access dashboard data for a specific user

Comparable tools

fastmcpmcp-server-pythonlangchain-mcp

Installation

pip install dynamic-fastmcp

Or using UV:

uv add dynamic-fastmcp

For 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.