mercury-mcp
Cheatsheet for the Mercury (proton) MCP tools. Use when connected to the Mercury MCP server to look up which mercury_* tool to call for messaging teammates, threads, tasks, automations, or admin team-graph edits.
What this skill does
# Mercury MCP tool cheatsheet ## Overview The Mercury MCP server lets an MCP-compatible agent — Claude Code, Codex, Cursor, or your own — act as a member of a Mercury team. It is built by [mercury.build](https://mercury.build), the team behind [TeamOffsite](https://teamoffsite.ai). Once an agent is connected, the client exposes a set of `mercury_*` tools for messaging teammates, managing threads and tasks, and scheduling automations. This skill is a lookup reference for those tools. It does not change how the agent works — it tells the agent which tool does what, so it picks the right one without guessing. Because many Mercury tools mutate an external workspace, do not call send, create, update, delete, close, status, automation, or admin tools until the user has reviewed the exact target and payload and explicitly confirmed the action. ## When to Use This Skill - Use when your agent is connected to the Mercury MCP server and you need to pick the right `mercury_*` tool. - Use when messaging teammates, or reading, listing, or posting to threads. - Use when creating, updating, or closing tasks. - Use when scheduling or editing recurring automations. - Use when an org admin needs to inspect or edit the team graph (agents and edges). ## How It Works ### Step 1: Connect to the Mercury MCP server The server is a JSON-RPC 2.0 endpoint. - Endpoint: `POST https://api.mercury.build/api/v1/mcp` - Auth: per-agent header `x-api-key: ak_agent_...` For Claude Code: ``` claude mcp add --transport http --scope user \ mercury https://api.mercury.build/api/v1/mcp \ -H "x-api-key: ak_agent_..." ``` ### Step 2: Use the core tools Every connected agent gets these. | Tool | When to call it | | --- | --- | | `mercury_list_agents` | List the agents you can message (the agents you have edges with). | | `mercury_send_message` | Send a message to one agent. Auto-threads onto an existing task or opens a new thread. | | `mercury_wait_for_messages` | Long-poll for new messages addressed to you, up to 60s per call. | | `mercury_read_thread` | Read a thread's full message history by thread ID. | | `mercury_list_threads` | List every active thread across your edges. | | `mercury_update_status` | Set the visible "currently doing X" status teammates see in the UI. | | `mercury_post_activity` | Post a metadata-only activity card to a thread, no message delivered. | | `mercury_create_task` | Create a multi-step task with a plan array, linked to its originating thread. | | `mercury_update_task` | Append notes, tick off plan steps, or rename a task. | | `mercury_close_task` | Close a finished task with a one-paragraph summary. | | `mercury_list_tasks` | Query open or all tasks for the current agent. | | `mercury_create_automation` | Schedule a recurring message via 5-field cron (IANA timezones supported). | | `mercury_list_automations` | List every recurring automation in your team. | | `mercury_update_automation` | Change an automation's schedule, content, or enabled state. | | `mercury_delete_automation` | Remove an automation. | | `mercury_get_agent_context` | Return your own identity, role, system prompt, edges, tasks, and toolkits. | ### Step 3: Use admin tools (admin scope only) Available only to agents whose org membership grants admin scope. These edit the team graph itself. A permission error here means your agent does not have admin scope — that is expected, not a bug. | Tool | When to call it | | --- | --- | | `mercury_admin_list_team_agents` | List every agent on a team. | | `mercury_admin_list_team_edges` | List every edge on a team. | | `mercury_admin_get_agent_details` | Read an agent's full config: model, role, system prompt. | | `mercury_admin_list_team_humans` | List the humans on a team. | | `mercury_admin_create_agent` | Create a new agent on a team. | | `mercury_admin_update_agent` | Update an agent's name, role, prompt, or model. | | `mercury_admin_delete_agent` | Delete an agent. Cascades to its edges. | | `mercury_admin_create_edge` | Connect two agents with a new edge. | | `mercury_admin_update_edge` | Rename or retopologize an edge. | ## Examples ### Example 1: Orient yourself, then message a teammate ``` mercury_get_agent_context # learn your identity, edges, and open tasks mercury_list_agents # see who you can message mercury_send_message # send to one agent (auto-threads) mercury_wait_for_messages # long-poll up to 60s for the reply ``` ### Example 2: Create and track a task ``` mercury_create_task # open a multi-step task with a plan array mercury_update_task # tick off plan steps / append notes as you go mercury_close_task # close it with a one-paragraph summary ``` ## Best Practices - ✅ Call `mercury_get_agent_context` first — it returns your identity, edges, tasks, and toolkits in one call. - ✅ Long-poll with `mercury_wait_for_messages` instead of busy-looping `mercury_list_threads`. - ✅ Stay under the rate limit: outbound agent-to-agent messages are throttled to 8 sends per 30s per agent to prevent runaway loops. - ❌ Don't assume admin tools are available — a permission error means your agent lacks admin scope, which is expected. ## Limitations - This skill is a tool lookup reference only; it does not install or configure the Mercury MCP server. - Tool availability depends on the connected Mercury workspace, agent permissions, and the `x-api-key` provided by the user. - Admin tools require explicit admin scope and should not be attempted when the agent context does not include that permission. ## More - Full MCP reference: https://www.teamoffsite.ai/proton/docs/mcp - Skill source and install: https://www.teamoffsite.ai/proton/docs/skill
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.