Speedle
v1.9.0MCP server for self-hosted Speedle and Speedle Cloud: authorization checks and policy management
Values you need
| Variable | What it is | |
|---|---|---|
SPEEDLE_ENDPOINT | required | ADS base URL, for example https://cloud.speedle.io or http://127.0.0.1:6734. |
SPEEDLE_ADS_ENDPOINT | optional | Alias of SPEEDLE_ENDPOINT. |
SPEEDLE_ADS_URL | optional | Alias of SPEEDLE_ENDPOINT. |
SPEEDLE_SERVICE_NAME | required | Service name sent on every authorization check. Callers cannot override it. |
SPEEDLE_SERVICE | optional | Alias of SPEEDLE_SERVICE_NAME. |
SPEEDLE_TOKEN | optional secret | API key (bearer token) for Speedle Cloud. Required for Speedle Cloud; omit it for a self-hosted ADS without an API key or bearer token. The endpoint must use https://. Never logged or echoed. |
SPEEDLE_ADS_TOKEN | optional secret | Alias of SPEEDLE_TOKEN. |
SPEEDLE_BACKEND | optional | speedle-cloud or speedle. Defaults to speedle-cloud when SPEEDLE_TOKEN is set, and speedle otherwise. |
SPEEDLE_ALLOW_INSECURE_HTTP | optional | Set to true to allow http:// to a non-loopback host for backend speedle without an API key or bearer token. |
SPEEDLE_CA_CERT | optional | Extra PEM CA certificate for a self-hosted https:// server. |
SPEEDLE_EXPOSE_DIAGNOSE | optional | Set to true or 1 to register diagnose. Self-hosted speedle only; refused on speedle-cloud. |
SPEEDLE_EXPOSE_ALL_GRANTED_ROLES | optional | Set to true or 1 to register all_granted_roles. |
SPEEDLE_EXPOSE_ALL_GRANTED_PERMISSIONS | optional | Set to true or 1 to register all_granted_permissions. |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add speedle-mcp -e 'SPEEDLE_ENDPOINT=<SPEEDLE_ENDPOINT>' -e 'SPEEDLE_SERVICE_NAME=<SPEEDLE_SERVICE_NAME>' -- npx -y --package=@speedle/mcp@1.9.0 speedle-mcp checkAdd to
claude_desktop_config.json{
"mcpServers": {
"speedle-mcp": {
"args": [
"-y",
"--package=@speedle/mcp@1.9.0",
"speedle-mcp",
"check"
],
"command": "npx",
"env": {
"SPEEDLE_ENDPOINT": "<SPEEDLE_ENDPOINT>",
"SPEEDLE_SERVICE_NAME": "<SPEEDLE_SERVICE_NAME>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"speedle-mcp": {
"args": [
"-y",
"--package=@speedle/mcp@1.9.0",
"speedle-mcp",
"check"
],
"command": "npx",
"env": {
"SPEEDLE_ENDPOINT": "<SPEEDLE_ENDPOINT>",
"SPEEDLE_SERVICE_NAME": "<SPEEDLE_SERVICE_NAME>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "SPEEDLE_ENDPOINT",
"id": "speedle-endpoint",
"password": true,
"type": "promptString"
},
{
"description": "SPEEDLE_SERVICE_NAME",
"id": "speedle-service-name",
"password": true,
"type": "promptString"
}
],
"servers": {
"speedle-mcp": {
"args": [
"-y",
"--package=@speedle/mcp@1.9.0",
"speedle-mcp",
"check"
],
"command": "npx",
"env": {
"SPEEDLE_ENDPOINT": "${input:speedle-endpoint}",
"SPEEDLE_SERVICE_NAME": "${input:speedle-service-name}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.speedle-mcp]
command = "npx"
args = ["-y", "--package=@speedle/mcp@1.9.0", "speedle-mcp", "check"]
env = { "SPEEDLE_ENDPOINT" = "<SPEEDLE_ENDPOINT>", "SPEEDLE_SERVICE_NAME" = "<SPEEDLE_SERVICE_NAME>" }For AI agents
- Ask the user for: SPEEDLE_ENDPOINT, SPEEDLE_SERVICE_NAME. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: is_allowed.
- If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.
Machine-readable: install.md · manifest.json