AI Initiative logoAI Initiative
Reading room / Manthan

Manthan MCP server

Manthan MCP server. Covers Tools (9); Run; stdio (Claude Desktop, Cursor, Codex CLI); http/SSE (headless agents, maestro-platform foundry, automation).

Project explanation / technical method
This is the retained source text, not a new validation of its claims. Numerical results and comparative claims require the accompanying source review before public reuse.

Read the connected case study or article →

Not explicitly stated in source · Date not established

Provenance, authorship and editorial notes

Manthan MCP server

Id

manthan-mcp-server-readme

Project

Manthan

Source path

manthan/mcp-server/README.md

Source sha256

651e8c687a89d2d768cfbdd195b8d1c9ae2f5445e73d776016a636b936136aa7

Local copy sha256

651e8c687a89d2d768cfbdd195b8d1c9ae2f5445e73d776016a636b936136aa7

Repo head

3a94084024a3434cef331fecac91c2c3b43f0313

Date
Not recorded
Date basis

Original publication date not established; Git revision date retained separately.

Author

Not explicitly stated in source

Author basis

Unknown; Git committer not substituted for document author.

Last source commit

8b75d1b0157c20a0a463f0e31008ef9f73099beb

Last source commit date

2026-06-08T07:40:14Z

Document status

Project explanation / technical method

Summary

Manthan MCP server. Covers Tools (9); Run; stdio (Claude Desktop, Cursor, Codex CLI); http/SSE (headless agents, maestro-platform foundry, automation).

Topics
  • Exploration architecture and selection
  • Tools (9)
  • Run
  • stdio (Claude Desktop, Cursor, Codex CLI)
Theme

Exploration architecture and selection

Priority

deep

Related ids
  • manthan-readme
  • manthan-docs-architecture
  • manthan-docs-business-overview
  • manthan-docs-demo-walkthrough
  • manthan-docs-principles
  • manthan-docs-qd-measurement-direction-plan
  • manthan-docs-swarm-evolution-integration
Evidence concerns
  • Recovered source text is preserved verbatim. Assertions, comparisons, commands and results belong to its original context; they were not re-executed or externally re-verified during this corpus review.
Word count

686

Bytes

5177

Source relative

mcp-server/README.md

Remote mirror

manthan/mcp-server/README.md

Full text preserved

True

Manthan MCP server

Exposes the Manthan substrate as an MCP (Model Context Protocol) tool surface.
External AI agents — *Claude Desktop, Cursor, Codex CLI, Copilot's MCP
client, the maestro-platform foundry
* — can read and write Manthan
artefacts through the same standard tool-call protocol.

Tools (9)

NameRead/WritePurpose
manthan_artefact_createWCreate idea / critique / synthesis / prototype / opportunity / message; lineage parent + relation optional. Auto-tagged via-mcp + source:<client>.
manthan_artefact_recentRMost-recent artefacts; filter by kind, capped at 200.
manthan_artefact_getROne artefact by UUID.
manthan_agent_listRPersonas registered in the substrate.
manthan_herald_statusRLive status of all 3 HERALD nodes (sigil, uptime, peer/session, canary period, tree size). One call.
manthan_herald_canaryRSpecific node's signed canary. Re-signed every call.
manthan_herald_charterRSpecific node's signed Charter (operator legal posture).
manthan_herald_entriesRRecent CT-log entries, minimum profile.
manthan_readyzRSingle-call stack health.

Run

stdio (Claude Desktop, Cursor, Codex CLI)

cd manthan/mcp-server
npm install --no-audit --no-fund
npm run start:stdio

http/SSE (headless agents, maestro-platform foundry, automation)

MANTHAN_MCP_TRANSPORT=http MANTHAN_MCP_PORT=47100 npm run start:http
# then: GET local-service/sse

Client config

Claude Desktop

Edit ~/Library/Application Support/Claude/claude_desktop_config.json
(macOS) or the equivalent on your platform:

{
  "mcpServers": {
    "manthan": {
      "command": "node",
      "args": [
        "--experimental-strip-types",
        "--no-warnings",
        "manthan/mcp-server/src/index.ts"
      ],
      "env": {
        "MANTHAN_API_URL": "local-service",
        "MANTHAN_SUBSTRATE_URL": "local-service"
      }
    }
  }
}

Restart Claude Desktop. The 9 tools appear under the 🔌 menu and Claude can
read + write Manthan during conversations.

Cursor

Cursor uses MCP via its config UI (Settings → Features → MCP). Same shape
as Claude Desktop — point it at this server's stdio entrypoint with the
two env vars.

Codex CLI

Codex's MCP support is via the mcp block in its workspace config. Same
stdio command + env.

Copilot

GitHub Copilot's MCP integration is rolling out (late 2025/early 2026).
When you wire it, point at the http/SSE transport rather than stdio:
MANTHAN_MCP_TRANSPORT=http, then SSE URL http://manthan-host:47100/sse.

maestro-platform foundry

Run the http/SSE variant inside the same network as the foundry. The
swarm agents (Codex / Gemini / DeepSeek / Qwen) connect via their MCP
client wrappers and use the same 9 tools. Promoted artefacts (per a
Patina threshold or operator marker) are exported from Manthan back into
maestro by P-106 — separate ticket, not in this server.

Provenance

Every artefact created via MCP is auto-tagged:

Plus a metadata blob: { via: "mcp", source, submitted_at }. So the
viewer can distinguish "this came from a human's Claude session" from
"this came from a long-running maestro agent" from "this came from the
internal runtime baseline."

Smoke test (against a live Manthan stack)

# Stack must be up — see infra/compose/README.md and the root docker-compose.yml.
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"0.0.1"}}}
{"jsonrpc":"2.0","method":"notifications/initialized"}
{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"manthan_readyz","arguments":{}}}' \
| MANTHAN_API_URL=local-service \
  node --experimental-strip-types --no-warnings src/index.ts

You should see ready: true and all four downstreams report ok.

What's not here yet

stdio process or the http port can call any tool. For local-only stdio
this is fine; for the http variant in production, put a reverse proxy
with auth in front, or run inside a Tailscale ACL'd network.

client doesn't pass one, the artefact is unattributed. Future work:
per-client substrate agent so MCP writes land under e.g. "claude-desktop"
or "maestro-codex" identities.

substrate (idea-layer). Writing into the HERALD CT log (verifiable
layer) requires the agent SDK with a sigil + key — separate
scope, P-103.5 / P-104 territory.

score; once it does, manthan_artefact_recent should grow a
min_patina filter so consumers can ask for "only the high-trust
recent artefacts."

Continue exploring