MsgMesh

v0.1.11
com.alderflux/msgmesh Checked 4 days ago Published 2 months ago

Event bus for AI agents: watch_topic long-polls live events; manage topics, schemas, webhooks.

Values you need

VariableWhat it is
MQ_API_KEYrequired secret MsgMesh API key. Sign one (admin scope recommended) at https://msgmesh-panel.alderflux.com Keys page.
MQ_CONTROL_PLANE_URLoptional Control-plane base URL. Leave unset to use the hosted MsgMesh service. Default: https://msgmesh-api.alderflux.com
MQ_GATEWAY_URLoptional Gateway (publish/consume) base URL. Leave unset to use the hosted MsgMesh service. Default: https://msgmesh-api.alderflux.com
MQ_REALTIME_URLoptional Realtime (presence) base URL. Leave unset to use the hosted MsgMesh service. Default: https://msgmesh-api.alderflux.com

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add msgmesh -e 'MQ_API_KEY=<MQ_API_KEY>' -- npx -y --package=@msgmesh/mcp-server@0.1.11 msgmesh-mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "msgmesh": {
      "args": [
        "-y",
        "--package=@msgmesh/mcp-server@0.1.11",
        "msgmesh-mcp"
      ],
      "command": "npx",
      "env": {
        "MQ_API_KEY": "<MQ_API_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "msgmesh": {
      "args": [
        "-y",
        "--package=@msgmesh/mcp-server@0.1.11",
        "msgmesh-mcp"
      ],
      "command": "npx",
      "env": {
        "MQ_API_KEY": "<MQ_API_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "MQ_API_KEY",
      "id": "mq-api-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "msgmesh": {
      "args": [
        "-y",
        "--package=@msgmesh/mcp-server@0.1.11",
        "msgmesh-mcp"
      ],
      "command": "npx",
      "env": {
        "MQ_API_KEY": "${input:mq-api-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.msgmesh]
command = "npx"
args = ["-y", "--package=@msgmesh/mcp-server@0.1.11", "msgmesh-mcp"]
env = { "MQ_API_KEY" = "<MQ_API_KEY>" }

For AI agents

  1. Ask the user for: MQ_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: create_topic, list_topics, delete_topic, publish_message, consume_messages, watch_topic, register_schema, get_schema, ….
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json