Skip to main content

exoclaw-tools-mcp

MCP client for exoclaw — connects to MCP servers over stdio, SSE, or streamable HTTP and registers their tools as native exoclaw tools.

Install

pip install exoclaw-tools-mcp

Usage

from contextlib import AsyncExitStack
from exoclaw.agent.tools.registry import ToolRegistry
from exoclaw_tools_mcp.tool import connect_mcp_servers
from exoclaw_tools_mcp.config import MCPServerConfig

stack = AsyncExitStack()
registry = ToolRegistry()

await connect_mcp_servers(
    mcp_servers={
        "filesystem": MCPServerConfig(command="npx", args=["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]),
        "my-api":     MCPServerConfig(url="https://example.com/mcp"),
    },
    registry=registry,
    stack=stack,
)
# registry now contains all tools from both servers as mcp_<server>_<tool> entries

Transport type is inferred automatically: command → stdio; URLs ending in /sse → SSE; other URLs → streamable HTTP. Custom headers and per-tool timeouts are supported via MCPServerConfig.

Metadata

Release files for exoclaw-tools-mcp 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exoclaw-tools-mcp 0.2.1
File Size Uploaded
exoclaw_tools_mcp-0.2.1.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for exoclaw-tools-mcp 0.2.1
File Interpreter ABI Platform
exoclaw_tools_mcp-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / exoclaw_tools_mcp-0.2.1.tar.gz

Download URL exoclaw_tools_mcp-0.2.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
848436ab8b122e9bf224a3e1cb42df5fe84a0413eea81bd9c0966cb7954e474c
BLAKE2b-256 checksum
How to use checksums
350a0f6ea3f34789f2b8652100696b4bbe2c77e35137ad73714cd3a41dff7b6d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / exoclaw_tools_mcp-0.2.1-py3-none-any.whl

Download URL exoclaw_tools_mcp-0.2.1-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db64302b7633d8ea8b48b59f5ab69fdf640b37d1ce39596cf285d5b81cf18a1c
BLAKE2b-256 checksum
How to use checksums
9ce78ff5b3a676bc30eef34b15cc6e6bb48deb3c30d0801ad686f52aa7118db4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.10.10 {"installer":{"name":"uv","version":"0.10.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page