CAPE MCP Server
A standalone Model Context Protocol (MCP) server for interacting with CAPE Sandbox. This allows LLMs and agents to directly query CAPE Sandbox APIs.
Installation
pip install cape-mcp
Configuration
The server requires environment variables to connect to your CAPE Sandbox instance.
CAPE_API_URL: The URL of your CAPE Sandbox API v2 (e.g.,http://127.0.0.1:8000/apiv2).CAPE_API_TOKEN: Your API token (if authentication is enabled).CAPE_API_TOKEN_REQUIRED: Set totrueif your CAPE instance enforces API tokens globally.CAPE_ENABLED_MCP_TOOLS: (Optional) A comma-separated list of tools to enable. By default, all are enabled.
Usage
You can run the server directly:
export CAPE_API_URL="http://127.0.0.1:8000/apiv2"
export CAPE_API_TOKEN="your_token_here"
cape-mcp
Claude Desktop
To use this with Claude Desktop, add it to your claude_desktop_config.json:
{
"mcpServers": {
"cape-sandbox": {
"command": "cape-mcp",
"env": {
"CAPE_API_URL": "http://127.0.0.1:8000/apiv2",
"CAPE_API_TOKEN": "your_token_here"
}
}
}
}
Metadata
Release files for cape-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cape_mcp-0.1.0.tar.gz | 8.4 kB | With provenance | Details for cape_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cape_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cape_mcp-0.1.0-py3-none-any.whl |
Total release size: 17.8 kB
Release files / cape_mcp-0.1.0.tar.gz
| Download URL | cape_mcp-0.1.0.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fb782f437f02b849751ed41bba86f632eb0b7925f4fc57e720fe4327ee4a270
|
|
BLAKE2b-256 checksum How to use checksums |
917a87505b6cece8b0068da5be1a94ce4e7539cb73b51ac62fed5bd927ba36f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / cape_mcp-0.1.0-py3-none-any.whl
| Download URL | cape_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15a4f9e1190276231fd809ac8f702c7d9783d12460b244b348b64507aa0cf325
|
|
BLAKE2b-256 checksum How to use checksums |
ba780d9ef2efe1112c661fc031d059d9691520cf25290941316dfb0329309506
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logSecurity for cape-mcp 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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cape_mcp-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logA 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.