Skip to main content

Metatool MCP Server

Project description

MCP Server MetaTool

Overview

Metatool MCP Server is a proxy server that joins multiple MCP servers and forward tool calls to the appropriate server. It should be used with metatool-app, the GUI tool manager for MCP which is also open source, together.

sequenceDiagram
    participant MCPClient as MCP Client (e.g. Claude Desktop)
    participant MetaToolMCP as MetaTool MCP Server
    participant MetaToolApp as MetaTool App
    participant MCPServers as Installed MCP Servers in Metatool App

    MCPClient ->> MetaToolMCP: Request list tools
    MetaToolMCP ->> MetaToolApp: Get tools configuration & status
    MetaToolApp ->> MetaToolMCP: Return tools configuration & status

    loop For each listed MCP Server
        MetaToolMCP ->> MCPServers: Request list_tools
        MCPServers ->> MetaToolMCP: Return list of tools
    end

    MetaToolMCP ->> MetaToolMCP: Aggregate tool lists
    MetaToolMCP ->> MCPClient: Return aggregated list of tools

    MCPClient ->> MetaToolMCP: Call tool
    MetaToolMCP ->> MCPServers: call_tool to target MCP Server
    MCPServers ->> MetaToolMCP: Return tool response
    MetaToolMCP ->> MCPClient: Return tool response

How it works

  • mcp-server-metatool itself is both a MCP client and a MCP server
  • On startup, it connects to the metatool-app API to get a list of MCP servers to connect to
  • On list_tools call of MCP, it joins all tools from all MCP servers with namespace isolation.
  • On call_tool call of MCP, it forwards the call to the appropriate server.

Installation

Best way to use this is through uv A METATOOL_API_KEY environment variable must be set

export METATOOL_API_KEY="my_api_key" # get from metatool-ai/metatool-app, which is self hostable and free
uvx mcp-server-metatool

You need a MCP Client to connect to this server to use it.

Additional Configuration

A METATOOL_API_BASE_URL environment variable can be set to point to another metatool instance

export METATOOL_API_BASE_URL="http://localhost:12005"

License

Apache License 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_server_metatool-0.0.4.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_server_metatool-0.0.4-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file mcp_server_metatool-0.0.4.tar.gz.

File metadata

  • Download URL: mcp_server_metatool-0.0.4.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.15

File hashes

Hashes for mcp_server_metatool-0.0.4.tar.gz
Algorithm Hash digest
SHA256 43b430def48c8bf629d1f23dca9c11d956b76a065c23ab195c16ac20e5d34f76
MD5 f6a1fecf6b1f0119f09809625f801e0f
BLAKE2b-256 fc608c555675c64cbed29dd06ab6b9f991e133112bcba9a709c219b4ef48116a

See more details on using hashes here.

File details

Details for the file mcp_server_metatool-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_server_metatool-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6d4ea0b04d8e0e6bdacabaa0168dfa03e1712f903637c6de44886ac727cd3469
MD5 8655f015d53c4adcef6c1c98ce493bb8
BLAKE2b-256 bac3329bd6602d09f569e30b849c3a8ddd5038b1fefe64e2d40f6bf23c0cc5ce

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page