Skip to main content

mcp-blender

Easily manage, compose, and route MCP (Model Context Protocol) servers in Python projects.

Installation

pip install mcp-blender

Usage

Registry — manage servers

from mcp_blender import MCPServer, ServerTransport, Registry

reg = Registry()

reg.add(MCPServer(
    name="filesystem",
    command="npx",
    args=["-y", "@modelcontextprotocol/server-filesystem", "/home/user"],
    tools=["read_file", "write_file", "list_directory"],
    tags=["io"],
))

reg.add(MCPServer(
    name="github",
    command="npx",
    args=["-y", "@modelcontextprotocol/server-github"],
    env={"GITHUB_TOKEN": "ghp_xxx"},
    tools=["search_repositories", "create_issue"],
    tags=["code"],
))

# Load from claude_desktop_config.json
reg.load_claude_config("~/.claude/claude_desktop_config.json")

# Or from YAML
reg.load_yaml("mcp-servers.yaml")

Blender — profiles for different contexts

from mcp_blender import Blender

blend = Blender()
blend.register(filesystem_server)
blend.register(github_server)
blend.register(slack_server)

blend.create_profile("coding", ["filesystem", "github"])
blend.create_profile("comms", ["slack"])

blend.activate("coding")   # starts filesystem + github
blend.activate("comms")    # stops coding servers, starts slack

Router — route tool calls

from mcp_blender import Router

router = Router(reg)
server = router.resolve("read_file")  # → filesystem server
print(router.all_tools())

CLI

mcp-blender list servers.yaml
mcp-blender export servers.yaml -o claude_desktop_config.json
mcp-blender import claude_desktop_config.json -o servers.yaml

License

MIT

Metadata

Release files for mcp-blender 0.1.0

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

Source distribution (sdist)

Source distribution for mcp-blender 0.1.0
File Size Uploaded Provenance Actions
mcp_blender-0.1.0.tar.gz 6.0 kB Without provenance Details for mcp_blender-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mcp-blender 0.1.0
File Interpreter ABI Platform Actions
mcp_blender-0.1.0-py3-none-any.whl Python 3 none any Details for mcp_blender-0.1.0-py3-none-any.whl

Total release size: 14.8 kB

Release files / mcp_blender-0.1.0.tar.gz

Download URL mcp_blender-0.1.0.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a4313a558793c68ea74e02478e728b6dac7ec9761c8257903bd27e362727b4e7
BLAKE2b-256 checksum
How to use checksums
2b1c5b10090010f5dbc5716eb11b05bca0e760435cfee48b23139f73320865da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / mcp_blender-0.1.0-py3-none-any.whl

Download URL mcp_blender-0.1.0-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c9c5682ae7622e451add2dd3d5a4d53255eac1dbdc860bb544325b39c0166307
BLAKE2b-256 checksum
How to use checksums
33dfce18ef47a888f68b49f45b4024110fbb0e06db81c5cb11470d8d43c499df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Security for mcp-blender 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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