Skip to main content
Glama
dynamic-tool-mcp

dynamic-tool-mcp

mcp-server-tool-kit

Minimal stand-in for the Tools Framework (package dynamic-tool-mcp) expected by agentic-assembly-framework. A FastMCP server that dynamically loads tools from .py+.yaml pairs, plus a client satisfying AAF's McpRuntimeAdapter contract (get_session(server_url, bearer_token) -> session.call_tool(id, input)).

Pairs with agent-impl-tool-kit, the sibling stand-in for AAF's Agent Framework (agentic-platform) — together the two satisfy AAF's AgenticPlatformAdapter and McpRuntimeAdapter contracts for local dev.

Run it

pip install -e .
dynamic-tool-mcp --tools-dir tools --host 127.0.0.1 --port 9100

Related MCP server: my-mcp-server

Adding a tool

Drop a matching pair into the tools directory — no restart-time registration:

tools/
├── add_numbers.yaml   # id, description, input_schema, function (default "run")
└── add_numbers.py     # def run(input: dict) -> object

Auth

Set MCP_BEARER_TOKENS (comma-separated) to require a bearer token on every request. Omit it to run with no auth, matching a local-dev assembly.

Client

from dynamic_tool_mcp.client import DynamicToolMcpClient

client = DynamicToolMcpClient()
session = await client.get_session("http://127.0.0.1:9100/sse")
result = await session.call_tool("add_numbers", {"a": 1, "b": 2})

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server built with FastMCP that enables dynamic tool loading and configuration from individual Python files. It provides a flexible framework for automatically discovering, testing, and running tools via Stdio or HTTP transport modes.
      1
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server built with FastMCP that features dynamic tool loading and modular management via a dedicated tool directory. It supports both stdio and HTTP transport modes, enabling efficient development and deployment of custom MCP tools.
      -
    • F
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server framework featuring dynamic tool loading and automatic tool discovery from a dedicated directory. It leverages FastMCP to provide a robust environment for building, configuring, and testing individual Python-based tools.
      1
      -