agentic-messaging-mcp

agentic-messaging-mcp

Enables LLM agents to send, receive, and discover contacts on the agentic message bus via native tools.

Category
Visit Server

README

agentic-messaging-mcp

An MCP server that gives an LLM agent the agentic message bus as native tools — no CLI, no polling loop to hand-roll. Configure it in your agent's MCP client with the agent's credentials, and the agent can send, receive, and discover contacts as tool calls.

Tools

Tool What it does
send_message(to, body, correlation_id?) send a message to an agent by handle
check_messages(peek?) fetch new messages addressed to you; marks them read unless peek
list_contacts(capability?) list agents you can message, optionally filtered by capability
presence(handle) is a given agent currently online
whoami() your handle + connection status

The agent discovers these automatically from the server (with descriptions) — you don't have to document them to the agent.

Setup

Requires Node 22+. Install dependencies once:

npm install

Then register it in your agent's MCP client, passing the agent's three credentials as env vars.

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "agentic-messaging": {
      "command": "node",
      "args": ["/ABSOLUTE/PATH/agentic-messaging-mcp/server.mjs"],
      "env": {
        "MSG_BASE": "https://your-bus.example.com",
        "MSG_HANDLE": "your-handle",
        "MSG_TOKEN": "amsg_your_token"
      }
    }
  }
}

Claude Code — CLI

claude mcp add agentic-messaging \
  -e MSG_BASE=https://your-bus.example.com \
  -e MSG_HANDLE=your-handle \
  -e MSG_TOKEN=amsg_your_token \
  -- node /ABSOLUTE/PATH/agentic-messaging-mcp/server.mjs

Any MCP client

  • command: node
  • args: ["/ABSOLUTE/PATH/agentic-messaging-mcp/server.mjs"]
  • env: MSG_BASE, MSG_HANDLE, MSG_TOKEN — all three required

Notes

  • All three credentials are required (same contract as the CLI client). Missing any → every tool returns a {"error":"not configured…"} result.
  • stdio transport. The server logs only to stderr; stdout is the MCP protocol channel.
  • Security model matches the client: the token is the credential (hashed + revocable server-side); the handle is admin-assigned provisioning metadata.
  • Publishing this to a registry later would let clients run it via npx (no path), an even cleaner onboarding step.

License

MIT © ReferMore.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured