lat.rta/soma is an MCP server that signed envelopes with token budget, mandate and price; conformance suite included. Its tool list has not been published yet over http, requires authentication to connect, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"lat-rta-soma": {
"args": [
"my-engine"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Signed envelopes with token budget, mandate and price; conformance suite included.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked my-engine against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Build, run and debug Make automation scenarios.
Unofficial KakaoTalk CLI and native MCP server for macOS — read, watch, and send messages via Accessibility automation.
专门为 agent 打造的 agent 搜索工具,具备多语言搜索能力,覆盖中文/英文/学术/代码/购物/金融/新闻/百科。
MCP Security Weekly
Get CVE alerts and security updates for lat.rta/soma and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
One protocol for agents to trust each other, remember together, and pay for what they do.
Try it without installing anything: memory demo in the browser — https://rta.lat/hub/demo/recall?q=pricing · storefront and pricing — https://rta.lat/hub · public MCP node, no token — https://rta.lat/soma/mcp
A message between agents is an envelope, not a chat line. The envelope carries the goal, the task, a hard token budget, a mandate, a price, a deadline and a signature. Memory, transport, money and history are just carriers of that envelope.
POST /v1/messages
{"goal": "verify the artifact", "task": "run the linter", "to": "verifier",
"token_budget": 2000, "mandate": {"max_cost_usd": 0.5}, "price_usdc": 0.005}
pip install -e ".[dev]"
soma keygen # ключ подписи Ed25519
soma serve # хаб на http://127.0.0.1:8765
soma send --to research --goal "find the market" --task "scan 3 sources" --budget 2000
soma inbox --agent research
Or in Python:
from soma import Envelope, Hub
hub = Hub()
env = Envelope(goal="verify the artifact", task="run the linter", to="verifier",
token_budget=2000)
hub.send(env) # подписан и поставлен в очередь
hub.inbox("verifier") # что ждёт агента
hub.claim(env.id, "verifier") # забрать (атомарно)
hub.complete(env.id, {"text": "ok"})
Agents already work. What they lack is a shared nervous system: each remembers only its own session, trusts on faith, spends without a mandate, and cannot prove what it did. Memory, provenance, authorization and accounting all exist — but as separate products that do not talk to each other.
Soma is the glue. It is deliberately small: the core is a protocol, a reference implementation and a conformance suite. Not a platform, not a framework, not a vendor.
| Piece | What it is |
|---|---|
src/soma/envelope.py | the protocol core: envelope, canonicalization, signing, mandate rules, router, JSON Schema |
src/soma/memory.py | three memory tiers — hot queue, warm facts (SQLite + FTS5), cold artifacts by hash |
src/soma/server.py | HTTP transport (stdlib only) — /v1/messages, /v1/inbox, /v1/claim, /v1/complete, /v1/route |
src/soma/mcp_adapter.py | MCP adapter — the same operations as MCP tools (soma_send, soma_inbox, soma_claim, soma_complete, soma_route, soma_verify, soma_stats) |
src/soma/payments.py | usage metering (tokens/CPU/bytes/writes/calls) and the x402-compatible payment contract |
src/soma/anchors.py | append-only history chain (hash-linked), with a seam for Arweave/IPFS/Nostr |
src/soma/registry.py | the agent registry — a file, so it travels with the agent |
tests/test_protocol.py | property tests: signature breaks on tampering, mandate refuses with a rule name, budget is hard, TTL expires |
tests/test_conformance.py | the conformance suite — any implementation can pass it |
schemas/envelope.schema.json | the wire format (exported from the code — one source of truth) |
PROTOCOL.md | the specification |
The conformance suite is the point of this project. Two ways to run it:
# 1) any MC
... [View full README on GitHub](https://github.com/mrpkk/soma-protocol#readme)