An MCP server utilizing Zoo's various tools
Project description
Zoo Model Context Protocol (MCP) Server
An MCP server housing various Zoo built utilities
Prerequisites
- An API key for Zoo, get one here
- An environment variable
ZOO_API_TOKENset to your API keyexport ZOO_API_TOKEN="your_api_key_here"
Installation
-
uv venv -
Install the package from GitHub
uv pip install git+ssh://git@github.com/KittyCAD/zoo-mcp.git
Running the Server
The server can be started locally by using uv and the zoo_mcp module
uv run -m zoo_mcp
The server can also be run with the mcp package
uv run mcp run src/zoo_mcp/server.py
Integrations
The server can be used as is by running the server or importing directly into your python code.
from zoo_mcp.server import mcp
mcp.run()
Individual tools can be used in your own python code as well
from mcp.server.fastmcp import FastMCP
from zoo_mcp.ai_tools import text_to_cad
mcp = FastMCP(name="My Example Server")
@mcp.tool()
async def my_text_text_to_cad(prompt: str) -> str:
"""
Example tool that uses the text_to_cad function from zoo_mcp.tools
"""
return await text_to_cad(prompt=prompt)
The server can be integrated with Claude desktop using the following command
uv run mcp install src/zoo_mcp/server.py
The server can also be integrated with Claude Code using the following command
claude mcp add --scope project "Zoo-MCP" uv -- --directory "$PWD"/src/zoo_mcp run server.py
The server can also be tested using the MCP Inspector
uv run mcp dev src/zoo_mcp/server.py
Contributing
Contributions are welcome! Please open an issue or submit a pull request on the GitHub repository
PRs will need to pass tests and linting before being merged.
ruff is used for linting and formatting.
uvx ruff check
uvx ruff format
ty is used for type checking.
uvx ty check
Testing
The server includes tests located in tests. To run the tests, use the following command:
uv run pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zoo_mcp-0.2.0-py3-none-any.whl.
File metadata
- Download URL: zoo_mcp-0.2.0-py3-none-any.whl
- Upload date:
- Size: 16.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.18
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c661b7f89e4cd8bce9563509abf1b6276de7febdf7b21da0f3d526b1af0dcee2
|
|
| MD5 |
a2e64bb3b0d227143500550817de8176
|
|
| BLAKE2b-256 |
bceb5b5743470aa33512abd9e8859a40d8e485bdd0f0d0119ad9fda9543750b4
|