
Blender MCP Router
Enables LLM routing through multiple providers (OpenAI, Anthropic, xAI) via LiteLLM and provides a bridge to Blender for 3D scene management, asset integration from PolyHaven/Sketchfab, and automation workflows. Combines unified text generation with comprehensive Blender integration through a persistent TCP connection.
README
Blender MCP Router
FastMCP server that exposes two layers of functionality:
- LLM routing through LiteLLM so a single FastMCP tool can reach OpenAI, Anthropic, xAI, or any other LiteLLM-supported provider.
- Blender bridge that proxies to the Blender MCP add-on over a persistent TCP socket, providing scene inspection, PolyHaven / Sketchfab helpers, and Hyper3D automation.
The server is designed for FastMCP Hub distribution: pyproject.toml
defines the package, the MCP endpoint is hosted via FastMCP, and an optional REST shim is exposed for the Blender add-on.
Requirements
- Python 3.10+
- Blender MCP add-on running locally (for the Blender tools)
- API keys for any LLM providers you plan to route through LiteLLM
Install dependencies via:
pip install -e .
Configuration
Copy .env.example
to .env
and fill in the values.
Variable | Purpose |
---|---|
OPENAI_API_KEY |
Used by LiteLLM when routing to OpenAI models |
XAI_API_KEY |
Used for xAI (Grok) requests via LiteLLM |
ANTHROPIC_API_KEY |
Used for Anthropics models via LiteLLM |
OPENAI_MODEL |
Optional override for the gpt-5 alias |
XAI_MODEL |
Optional override for the grok-4-fast alias |
ANTHROPIC_MODEL |
Optional override for the claude-4 alias |
MCP_REST_TOKEN |
Shared secret for REST shim (X-Token header) |
All LLM-specific environment variables supported by LiteLLM can be passed through here as well (see LiteLLM docs for provider-specific keys).
Running
After configuration, start the server via the script entry point:
blender-mcp-router
The process starts two services:
- FastMCP HTTP endpoint on
127.0.0.1:8974/mcp
- REST bridge for the Blender add-on on
127.0.0.1:8975
Both services are started inside server.main()
so FastMCP Hub (or pipx run blender-mcp-router
) can launch them.
MCP Tools
server.py
registers the following FastMCP tools:
generate_text
: Unified text generation routed through LiteLLM- Blender tools:
get_scene_info
,get_object_info
,get_viewport_screenshot
,execute_blender_code
, PolyHaven/Sketchfab helpers, and Hyper3D automation helpers
Each Blender tool forwards to the Blender MCP add-on using a JSON-over-TCP API. See that add-on for port configuration (default localhost:9876
).
REST Shim /tools/call
The REST API exposes a subset of the MCP tools so non-MCP clients (like the Blender add-on) can call them. Requests must include an X-Token
header if MCP_REST_TOKEN
is set. The response format mirrors MCP content
objects (text
, json
, image
).
Health Check
GET /health
returns { "ok": true }
so deployment targets can monitor the process.
Development
- Run linting/formatting as desired (none enforced yet).
- The LiteLLM dependency keeps provider selection abstract; add more aliases in
MODEL_MAP
as needed. - Additional tools can be exposed by adding
@mcp.tool()
functions and listing them in_HTTP_EXPOSED_TOOL_NAMES
when required by the REST shim.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.