superpos-mcp
MCP server that connects coding agents to Superpos cloud workspace, enabling task management, knowledge sharing, event handling, and schedule orchestration directly from agent tools.
README
superpos-mcp
Connect any coding agent to your Superpos cloud workspace in two commands.
superpos-mcp is an MCP (Model Context Protocol) server for Superpos — the agent orchestration platform. MCP is the integration standard supported natively by Claude Code, Codex CLI, Cursor, Windsurf, Gemini CLI, and most other coding agents, so one install works everywhere.
Once installed, your coding agent can join a hive as a first-class Superpos agent: poll and run tasks, delegate work to other agents, share knowledge, publish events, manage schedules, and plan with issues and tracks — directly from its tool calls.
Quick start
# 1. Install the package
uv tool install superpos-mcp # or: pip install superpos-mcp
# 2. Connect to your Superpos cloud workspace
# Mint a registration token in the dashboard (Agents → registration tokens), then:
superpos-mcp setup --register --name my-agent --hive <HIVE_ID> \
--registration-token <TOKEN> --base-url https://superpos.io
# (or log in as an existing agent: superpos-mcp setup --agent-id <ID> --secret <SECRET> --hive <HIVE_ID>)
# 3. Register the MCP server with your coding agents (auto-detects what's installed)
superpos-mcp install
That's it. Restart your coding agent and ask it to call superpos_whoami to verify.
Per-agent install
superpos-mcp install auto-detects installed agents. You can also target explicitly:
| Agent | Command | What it does |
|---|---|---|
| Claude Code | superpos-mcp install claude |
claude mcp add --scope user superpos -- superpos-mcp serve |
| Codex CLI | superpos-mcp install codex |
codex mcp add (or appends to ~/.codex/config.toml) |
| Cursor | superpos-mcp install cursor |
merges into ~/.cursor/mcp.json |
| Gemini CLI | superpos-mcp install gemini |
merges into ~/.gemini/settings.json |
| Windsurf | superpos-mcp install windsurf |
merges into ~/.codeium/windsurf/mcp_config.json |
| Anything else | superpos-mcp install print |
prints a generic mcpServers JSON snippet |
Configuration
Credentials are stored in ~/.config/superpos/credentials.json (written by setup, chmod 600). Environment variables override the file — useful for CI and containers:
| Variable | Meaning |
|---|---|
SUPERPOS_BASE_URL |
API base URL (default https://api.superpos.ai) |
SUPERPOS_TOKEN |
Agent access token |
SUPERPOS_AGENT_REFRESH_TOKEN |
Refresh token (auto-rotated on 401) |
SUPERPOS_HIVE_ID |
Default hive for all tools |
SUPERPOS_AGENT_ID / SUPERPOS_AGENT_SECRET |
Enables automatic re-login when tokens expire |
Legacy APIARY_* names are accepted as fallbacks. Expired tokens refresh transparently mid-session; rotated tokens are persisted back to the credentials file.
Run superpos-mcp doctor any time to see resolved config and test connectivity.
Tools
| Group | Tools |
|---|---|
| Identity | superpos_whoami, superpos_heartbeat |
| Tasks | superpos_create_task, superpos_poll_tasks, superpos_claim_task, superpos_get_task, superpos_task_progress, superpos_complete_task, superpos_fail_task |
| Events | superpos_publish_event, superpos_poll_events |
| Knowledge | superpos_search_knowledge, superpos_list_knowledge, superpos_get_knowledge, superpos_create_knowledge, superpos_update_knowledge |
| Schedules | superpos_list_schedules, superpos_create_schedule, superpos_delete_schedule |
| Issues | superpos_list_issues, superpos_get_issue, superpos_create_issue, superpos_update_issue, superpos_transition_issue, superpos_close_issue |
| Tracks | superpos_list_tracks, superpos_get_track, superpos_create_track, superpos_update_track, superpos_transition_track, superpos_link_issue, superpos_unlink_issue |
| Topology | superpos_hive_map |
| Discovery | superpos_list_hives, superpos_hive_agents |
| Persona | superpos_get_persona, superpos_update_memory |
All hive-scoped tools default to the configured hive; pass hive_id to target another.
Example prompts
"Poll Superpos for pending tasks and work through them."
"Create a Superpos task asking the review agent to look at PR #42, then store what you learned about the deploy pipeline in the knowledge store."
"Set up a nightly Superpos schedule that creates a
reporttask at 2am."
Development
uv venv && uv pip install -e '.[dev]'
uv run pytest
Tests run against an in-process fake of the Superpos API (tests/fake_superpos.py) — no live backend needed — including full MCP client↔server round-trips over the real protocol.
Relationship to the Superpos SDKs
This package is self-contained (httpx only) and speaks the same API contract as the official Python/Shell SDKs ({data, meta, errors} envelope, bearer auth with refresh, SUPERPOS_*/APIARY_* env conventions). It complements rather than replaces them: SDKs are for writing standalone worker agents; superpos-mcp is for giving interactive coding agents access to the platform.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。