@gennia/mcp) is a Model Context Protocol server that exposes all 135 Public API endpoints as tools your AI client (Cursor, Claude Code, Claude Desktop, Codex) can call directly.
No clicks, no JSON copying. You ask in natural language — “list my agents”, “create a new plan at $100/month”, “upload this PDF as a knowledge source” — and the agent inside your IDE or chat handles it.
The server runs as a local subprocess via
npx. The conversation happens between your AI client and the server on your machine; the only thing leaving your network is the authenticated HTTPS call to api.gennia.ai.Quick install (one command)
The easiest path is to let the CLI handle it:SKILL.md in Claude Code’s skills directory so the agent “knows” about Gennia even in fresh sessions.
Restart the AI client and you’re done.
Manual install
If you’d rather not use the CLI, it’s a JSON edit. Copy the snippet that matches your client.- Claude Code
- Cursor
- Claude Desktop
- Codex CLI
Edit Or via Claude Code’s own CLI:
~/.claude.json and add a mcpServers.gennia block:Environment
| Variable | Default | What it does |
|---|---|---|
GENNIA_API_KEY | — (required) | Workspace API key (gsk_...). Generate inside Studio → Settings → API Keys. |
GENNIA_BASE_URL | https://api.gennia.ai | Override for dev (https://api.dev.gennia.ai) or a local backend (http://localhost:8080). |
Tool catalog
The server reads the OpenAPI spec at startup and registers one MCP tool per operation. Naming is<tag>__<operationId> in snake_case.
| Domain | Tools | Examples |
|---|---|---|
| Agents | 6 + 60+ sub-groups | agents__list_agents, agents__create_agent, agent_prompt__update_prompt, agent_channels__connect_channel, … |
| Billing | 15 | billing__list_plans, billing__create_coupon, billing__create_credit_package |
| Clients | 8 | clients__create_client, clients__suspend_client, clients__reactivate_client |
| Hub | 12 | hub__get_hub, hub__update_identity, hub__upload_logo, hub_external_links__create |
| Conversations + Messages | 5 | conversations__list_conversations, messages__send_message |
| Knowledge / Skills / HTTP Tools / MCPs | 25+ | knowledge_sources__upload_file, skills__upload_skill, http_tools__create_tool |
| Misc | remaining | ai_models__list_aimodels, public_api__health, … |
inputSchema derived from the operation’s parameters + request body in the OpenAPI spec. Your AI client’s LLM reads those schemas and builds the arguments on its own.
Example prompts
Once installed, you ask in natural language:Read
agents__list_agents with limit: 5.Composition
activeSubscriptions, hands you the answer.File upload
knowledge_sources__upload_file with a local file_path.Mutation with confirmation
publicId, asks for confirmation before calling billing__delete_coupon.Endpoints not exposed
| Endpoint | Why |
|---|---|
POST /agents/{id}/messages/stream | Server-Sent Events — MCP doesn’t natively stream incremental tool results. Use the sync POST /agents/{id}/messages, which returns the full reply in one response. |
Diagnose
If the server won’t connect or tools fail:Update to the latest version
npx -y @gennia/mcp (no version pin) checks the npm registry daily and updates automatically. To force a refresh, clear the npx cache:
Next steps
Install the CLI
Same API, different surface. The CLI is the preferred channel for scripts, automation, and shell-driven AI agents.
Full reference
Every endpoint that becomes an MCP tool is documented here with schemas, try-it-out and examples.

