# Soma — open protocol for agent work

> Soma — open protocol for agent work is a freemium MCP server for ai models and llm tooling. Open protocol server for signed agent messages carrying a token budget, mandate and price. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Starting price:** $19 a month
- **Platforms:** API, CLI, self-hosted
- **Website:** https://rta.lat/soma/pricing
- **Repository:** https://github.com/mrpkk/soma-protocol
- **MCP Registry name:** io.github.mrpkk/soma-protocol
- **Categories:** AI models and LLM tooling
- **Listing updated:** 2026-11-14

## About

What distinguishes Soma from a chat bridge is the envelope. Each message between agents carries a goal, a task, a hard token budget, a mandate, a price, a deadline and an Ed25519 signature, so the receiver knows the limit before starting and refusals name the rule that fired. Signatures can be checked offline using the included public key.

The repository ships a protocol core, a three-tier memory (hot queue, warm SQLite facts with FTS5, cold artifacts by hash), an HTTP transport, usage metering, a hash-linked history chain and a conformance suite any implementation can run. The MCP adapter exposes the same operations as tools.

A public node at rta.lat answers over x402 payments or a subscription. Discovery is always free.

## Features

- **Signed envelopes:** Each message carries budget, mandate, price and a verifiable signature.
- **Mandate rules:** Refusals come with the name of the rule that triggered them.
- **Tiered memory:** Keeps a hot queue, searchable facts and hash-addressed artifacts.
- **Conformance suite:** Lets other implementations test themselves against the protocol.
- **Usage metering:** Measures tokens, CPU, bytes, writes and external calls.

## Good for

- Hand work between agents with a spending limit attached
- Prove what an agent did with an offline-verifiable record
- Test a protocol implementation against the suite
- Meter agent costs per task

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http soma-protocol https://rta.lat/soma-protocol/mcp
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://rta.lat/soma-protocol/mcp
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "soma-protocol": {
      "url": "https://rta.lat/soma-protocol/mcp"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "soma-protocol": {
      "type": "http",
      "url": "https://rta.lat/soma-protocol/mcp"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "soma-protocol": {
      "serverUrl": "https://rta.lat/soma-protocol/mcp"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "soma-protocol": {
      "type": "http",
      "url": "https://rta.lat/soma-protocol/mcp"
    }
  }
}
```

## Tools

- `soma_send`: Send an envelope to an agent: goal, task, recipient, token budget, mandate and price. The envelope is signed and queued.
- `soma_inbox`: What waits for the agent: envelopes, signature verification and context packed under a token budget.
- `soma_claim`: Take an envelope from the queue exclusively and get context packed under its budget. If the work carries a price, a receipt is required.
- `soma_complete`: Close an envelope with the result of the work.
- `soma_route`: Pick an executor by capability, mandate and price. If no candidate fits, the refusal names every reason.
- `soma_verify`: Verify an envelope signature offline: Ed25519, the public key travels with the signature.
- `soma_stats`: Node state: envelopes by status, facts, edges, cold artifacts.
- `soma_remember`: Store a fact: it survives sessions and model changes. Tags for search, importance 1-5.
- `soma_recall`: Find facts: full-text search by meaning, ranked by importance and recency.
- `soma_export`: Export every fact and envelope as one JSON - the right to leave, with no lock-in.
- `soma_nonce`: One-time nonce for registering an external agent: proof of key ownership.
- `soma_register`: Register an external agent: name, Ed25519 public key, nonce signature, capabilities and price per call.
- `soma_agents`: Registry of agents: who is registered, what they can do, what it costs. A public showcase of trust.
- `soma_reputation`: Agent reputation from facts: signed receipts, violations and the running score.
- `soma_reflect`: Collect an observation for a query: facts linked to sources and derived_from edges. The answer names what it was derived from.
- `soma_cold_put`: Put a large artifact in the cold tier. Returns a sha256 reference - the body does not burn context.
- `soma_cold_get`: Fetch an artifact by sha256 reference; the content is checked against the hash.

## FAQ

### What does the hosted node cost?

Free for 20 calls per day; $0.02 per call in USDC on Base over x402; or $19 for 30 days with no daily cap.

### Do I need an account?

The pricing page says no account or API key; you ask, sign and retry.

### Can I run it myself?

Yes, the README shows pip install and a local soma serve hub.

### Is Soma — open protocol for agent work free?

Soma — open protocol for agent work has a free plan, with paid plans for more usage or features. Paid plans start at $19 a month.

### How do I add Soma — open protocol for agent work to Claude Code?

Run this command in your terminal: claude mcp add --transport http soma-protocol https://rta.lat/soma-protocol/mcp

### What are the best alternatives to Soma — open protocol for agent work?

The closest alternatives to Soma — open protocol for agent work are Claude Code Ultimate Guide, signafAIde, Toolkien, Lugh and HypePaper.

## Alternatives

- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [signafAIde](https://ai-powered.com/mcp/signafaide): signafAIde is a freemium MCP server for security.
- [Toolkien](https://ai-powered.com/mcp/toolkien): Toolkien is an open-source MCP server for ai models and llm tooling.
- [Lugh](https://ai-powered.com/mcp/lugh): Lugh is an open-source MCP server for ai models and llm tooling.
- [HypePaper](https://ai-powered.com/mcp/hypepaper): HypePaper is a freemium MCP server for ai models and llm tooling.
- [Agent Data Tools: Compact (find, describe, run)](https://ai-powered.com/mcp/agent-data-tools-compact-find-describe-run): Agent Data Tools: Compact (find, describe, run) is a freemium MCP server for developer tools.
- [Angel Agent Guard: pre-purchase check + prompt-injection scan](https://ai-powered.com/mcp/angel-agent-guard-pre-purchase-check-prompt-injection-scan): Angel Agent Guard: pre-purchase check + prompt-injection scan is a freemium MCP server for ai models and llm tooling.
- [Mizan Calibration](https://ai-powered.com/mcp/mizan-calibration): Mizan Calibration is a free MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/soma-open-protocol-for-agent-work
