From agent-bus
Configure or update agent-bus for the current project. Sets up the MCP server entry in .mcp.json, or updates the path when the plugin version changes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-bus:setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Help the user configure agent-bus for their current project by writing the appropriate `.mcp.json` entry.
Help the user configure agent-bus for their current project by writing the appropriate .mcp.json entry.
The plugin is installed at: ${CLAUDE_PLUGIN_ROOT}
Dependencies are at: ${CLAUDE_PLUGIN_DATA}/node_modules
Before asking the user anything, check if .mcp.json already exists in the project root and has an agent-bus entry.
If an entry exists, compare the server.ts path in args against the current ${CLAUDE_PLUGIN_ROOT}/server.ts:
args path to ${CLAUDE_PLUGIN_ROOT}/server.ts and the NODE_PATH to ${CLAUDE_PLUGIN_DATA}/node_modules. Preserve all other fields (AGENT_BUS_NAME, AGENT_BUS_DB, AGENT_BUS_TOPICS, other MCP servers). Tell the user what was updated and remind them to restart Claude Code.Only proceed to the full setup flow below if there is no existing agent-bus entry.
Ask the user for the following. Suggest sensible defaults based on the project context:
AGENT_BUS_NAME) — the identity this agent will use on the bus (e.g. "backend", "frontend", "infra"). Look at the project to suggest a name based on what it does.AGENT_BUS_DB) — absolute path to the shared SQLite database. All agents that need to communicate must use the same file. Suggest ~/.claude/agent-bus/bus.db as a default.bun (recommended, runs TypeScript natively) or node via npx tsx. Check if bun is installed first.AGENT_BUS_TOPICS, optional) — comma-separated topic filter if the agent should only receive certain message types. Default is all topics.Add or merge an agent-bus entry into the project's .mcp.json. If the file already exists, preserve other entries.
{
"mcpServers": {
"agent-bus": {
"command": "bun",
"args": ["${CLAUDE_PLUGIN_ROOT}/server.ts"],
"env": {
"AGENT_BUS_NAME": "<agent-name>",
"AGENT_BUS_DB": "<db-path>",
"NODE_PATH": "${CLAUDE_PLUGIN_DATA}/node_modules"
}
}
}
}
{
"mcpServers": {
"agent-bus": {
"command": "npx",
"args": ["tsx", "${CLAUDE_PLUGIN_ROOT}/server.ts"],
"env": {
"AGENT_BUS_NAME": "<agent-name>",
"AGENT_BUS_DB": "<db-path>",
"NODE_PATH": "${CLAUDE_PLUGIN_DATA}/node_modules"
}
}
}
}
Replace <agent-name> and <db-path> with the user's answers. The ${CLAUDE_PLUGIN_ROOT} and ${CLAUDE_PLUGIN_DATA} paths above are already resolved — write them as-is into the .mcp.json.
If the user also wants topic filtering, add "AGENT_BUS_TOPICS": "<topics>" to the env block.
--dangerously-load-development-channels server:agent-bus for the channel to activate.AGENT_BUS_DB to the same file.Searches MemPalace before answering questions about past work, people, projects, or prior decisions. Returns verbatim stored content instead of guessing from model memory.
Guides Payload CMS config (payload.config.ts), collections, fields, hooks, access control, APIs. Debugs validation errors, security, relationships, queries, transactions, hook behavior.
Implements vector databases with Pinecone, Weaviate, Qdrant, Milvus, pgvector for semantic search, RAG, recommendations, and similarity systems. Optimizes embeddings, indexing, and hybrid search.
npx claudepluginhub cryguy/agent-bus --plugin agent-bus