Speedle

v1.9.0
io.github.teramoby/speedle-mcp Checked 11 hours ago Published 14 days ago

MCP server for self-hosted Speedle and Speedle Cloud: authorization checks and policy management

Values you need

VariableWhat it is
SPEEDLE_ENDPOINTrequired ADS base URL, for example https://cloud.speedle.io or http://127.0.0.1:6734.
SPEEDLE_ADS_ENDPOINToptional Alias of SPEEDLE_ENDPOINT.
SPEEDLE_ADS_URLoptional Alias of SPEEDLE_ENDPOINT.
SPEEDLE_SERVICE_NAMErequired Service name sent on every authorization check. Callers cannot override it.
SPEEDLE_SERVICEoptional Alias of SPEEDLE_SERVICE_NAME.
SPEEDLE_TOKENoptional 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_TOKENoptional secret Alias of SPEEDLE_TOKEN.
SPEEDLE_BACKENDoptional speedle-cloud or speedle. Defaults to speedle-cloud when SPEEDLE_TOKEN is set, and speedle otherwise.
SPEEDLE_ALLOW_INSECURE_HTTPoptional Set to true to allow http:// to a non-loopback host for backend speedle without an API key or bearer token.
SPEEDLE_CA_CERToptional Extra PEM CA certificate for a self-hosted https:// server.
SPEEDLE_EXPOSE_DIAGNOSEoptional Set to true or 1 to register diagnose. Self-hosted speedle only; refused on speedle-cloud.
SPEEDLE_EXPOSE_ALL_GRANTED_ROLESoptional Set to true or 1 to register all_granted_roles.
SPEEDLE_EXPOSE_ALL_GRANTED_PERMISSIONSoptional 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 check
Add 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

  1. 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.
  2. 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).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: is_allowed.
  5. 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