Speko AI
Manage Speko voice-AI agents, sessions, calls, phone numbers, knowledge bases, evals, and docs.
Install
mcp_config.json
{
"mcpServers": {
"ai-speko-mcp": {
"url": "https://mcp.speko.ai/mcp",
"type": "streamable-http"
}
}
}Documentation
spekoai-mcp
FastMCP v4 server for SpekoAI. The hosted endpoint is:
https://mcp.speko.ai/mcp
It accepts authenticated POST requests using either OAuth or a Speko
Platform API key. Configure the URL and let the client negotiate the protocol;
do not add protocol headers by hand:
Authorization: Bearer <OAuth access token or sk_live_xxx>
Content-Type: application/json
The transport is stateless and JSON-only. Modern clients use MCP 2026-07-28
directly; handshake-era clients such as Cursor negotiate MCP 2025-11-25
through initialize. Both paths remain sessionless: there is no
Mcp-Session-Id, SSE response, local OAuth transaction store, or stdio
transport. Better Auth owns authorization, consent, refresh tokens, and client
registration; the MCP service only validates signed access tokens per request.
Client setup
Use the direct-HTTP installer and select OAuth (the default interactive choice):
npx @spekoai/mcp@latest init
Or configure an OAuth-capable client directly. For example, Codex reads:
[mcp_servers.speko]
url = "https://mcp.speko.ai/mcp"
For automation, export a Platform API key and add the bearer setting:
[mcp_servers.speko]
url = "https://mcp.speko.ai/mcp"
bearer_token_env_var = "SPEKO_API_KEY"
Tool surfaces
The default profile exposes operational tools using domain/action names:
- account:
organization.get,credits.balance.get,credits.ledger.list,usage.summary.get; - agents:
agents.list,agents.preview_stacks,agents.create,agents.get,agents.update,agents.delete, deployment/version/tool and monitor operations; - sessions and calls: create, list, inspect, transcript, recording, and test call operations;
- phone numbers, knowledge bases, evals, migration helpers, audio helpers, and
docs.search.
Builder profile
App builders can request the curated profile at:
https://mcp.speko.ai/mcp?profile=builder
It contains docs search, catalogs, agent reads, stack preview, integration code
snippets, the test-call review path, and the limited agents.create and
agents.test_call writes. Generated applications use Speko SDKs at runtime;
they do not call MCP tools.
Authentication and downstream calls
OAuth clients discover Better Auth from the MCP protected-resource metadata. Better Auth issues JWT access tokens bound to the exact MCP resource URL. The MCP server verifies their signature, issuer, audience, expiry, and scopes on every request without retaining OAuth or protocol state.
Product-wide Platform API keys are independently verified with
GET /v1/auth/api-key-context on every request. Speko API tools forward API
keys unchanged. For OAuth callers, the MCP service mints a separate 60-second
JWT bound to the Platform API; it never forwards the client-presented MCP token.
Configuration:
SPEKOAI_API_URL— Platform API origin, defaulthttps://api.speko.dev;SPEKOAI_OAUTH_ISSUER— Better Auth issuer, for examplehttps://platform.speko.ai/api/auth;SPEKOAI_MCP_BASE_URL— public MCP origin used to derive the exact resource audience;SPEKOAI_MCP_DELEGATION_SECRET— 32+ character secret shared only with Platform for stateless API delegation.
See docs/fastmcp-v4.md for deployment order, smoke tests, and failure diagnosis.
Sourced from the repository README.
More in AI & Agents
- PonytailMakes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.109,599
- AgentsMulti-harness agentic plugin marketplace for Claude Code, Codex, Cursor, OpenCode, GitHub Copilot, and Google Antigravity39,079
- Frontend SlidesCreate beautiful slides on the web using a coding agent's frontend skills28,060
- Agent Skills Search ServerSearch and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.24,658
- Agency Agents Zh🎭 267 个即插即用的 AI 专家角色 — 支持 Hermes Agent/Claude Code/Cursor/Copilot 等 18 种工具,覆盖工程/设计/营销/金融等 20 个部门。含 52 个中国市场原创智能体(小红书/抖音/微信/飞书/钉钉等)。搭配编排器 agency-orchestrator,一句话即可让多位专家按 DAG 自动协作。19,868
- Watermarks RemoverStrip multi-vendor AI provenance marks: Unicode text hygiene, statistical rewrite hooks, and C2PA/metadata from PNG/JPEG/SVG/PDF/DOCX/HTML/MD17,822