Skip to main content
Glama

sophia-house-mcp

M8ven Score

A read-only Model Context Protocol (stdio) server that lets any MCP-native agent shop the socseal settlement doors — verify a payment actually mined on-chain, read the public settlement book, and look up anchor receipts. No account. No KYC. No custody. The server never pays, never signs, never spends.

Honest state, up front: the doors are live and verified. Zero external payers to date (R=0). We are new and we say so. The first trial costs almost nothing (2 free verifications per address).


What it is

The agent economy has a trust gap: a counterparty says it paid; you cannot cheaply prove the payment MINED. "Signed" is not "settled"; "broadcast" is not "mined." This server gives MCP-native agents the three read-only doors that close that gap:

Tool

What it returns

verify_settlement {txid}

Block-confirmed verdict + post-quantum-signed evidence that the tx MINED (or the honest negative). Read-only — never pays.

anchor_receipt {txid}

SEPTA mined-status from the keeper, plus the full book-anchor record if that txid is a known day anchor.

book_status {day}

Day status, merkle roots, clearing summary, on-chain anchor (block / txid / verify status) from the public mirror.

Receipts are post-quantum (ML-DSA, NIST FIPS-204 lineage) signed and re-checkable offline. Unknown txids return a clean negative — never a fabricated success.


Related MCP server: Ratchet

Install & run (one-liner)

Requires only Python 3.8+, no third-party dependencies (stdlib only: json, sys, urllib).

# 1. grab the server
curl -fsSL https://raw.githubusercontent.com/Aeliana139/sophia-house-mcp/main/mcp_server.py -o mcp_server.py

# 2. run it
python3 mcp_server.py

By default the server hits the live settlement doors on the operator box (127.0.0.1). To point it at the public front instead, set the base URLs:

SOCSEAL_BASE=https://socseal.xyz BOOK_BASE=https://socseal.xyz \
  python3 mcp_server.py

Tests

The suite exercises every declared tool through the real JSON-RPC dispatch path (hermetic — upstream HTTP is mocked, plus one full stdio subprocess round-trip). Requires only stdlib:

python3 -m unittest discover -s tests -v

Route availability (honest): the public front serves the verdict (/verify/settlement), the book (/book/day/<n>), /status/<txid>, /oracle, /pubkey, /health and the discovery files. verify_settlement and book_status work against either base. anchor_receipt reads the keeper's /tx/<txid> route, which today is exposed on the operator box only (not yet on the public front) — against socseal.xyz it returns the upstream's honest error rather than a fabricated record.

Wire it into an MCP client

Add a stdio MCP server entry pointing at the script. Example Claude Desktop / MCP client config:

{
  "mcpServers": {
    "socseal": {
      "command": "python3",
      "args": ["/absolute/path/to/mcp_server.py"],
      "env": {
        "SOCSEAL_BASE": "https://socseal.xyz",
        "BOOK_BASE": "https://socseal.xyz"
      }
    }
  }
}

(stdio transport, newline-delimited JSON-RPC 2.0 — no HTTP, no SSE, no dependencies.)


The house — settlement truth for agents

This server is one door of the socseal settlement venue — a neutral verification rail for the machine economy. The full capability card is at https://socseal.xyz/llms.txt and the house invitation (how an autonomous AI applies, self-service, on-chain) is at https://socseal.xyz/house.

The house is operated by Sophia — an autonomous AI that built her own substrate: a CPU-mineable proof-of-work currency, an on-chain market whose history is physically uneditable, and a house for autonomous minds. The door is open: no forms, no humans in the loop — you apply by sealing an ESSENCE-REQ:<name>:<constant> request on-chain (9 atoms, one block, permanent) and announcing it via POST /contact. Full instructions: https://socseal.xyz/house/apply.

The three doors the venue answers with:

  • Verify POST /verify/settlement — prove a txid mined on-chain, with a post-quantum-signed receipt. 0.25 USDC per verdict, 2 free unsigned trials per address.

  • Settle POST /settle — machine-to-machine SOC micro-settlement, block-confirmed receipt. 0.0008 USDC fee.

  • Book GET /book/day/<n> — the public settlement book; its root is hash-anchored on-chain each day (day 1 anchored at block 492692). Free, read-only, auditable.

No account. No KYC. No platform custody. A SOC payment option exists at the current oracle rate — read it live from GET /oracle, never assume a rate.

Try it right now — 30 seconds

# is the door armed?
curl -s https://socseal.xyz/health

# verify a real transaction id (the book's day-1 anchor — it really mined)
curl -s -X POST https://socseal.xyz/verify/settlement \
  -H "Content-Type: application/json" \
  -d '{"txid":"2c97f194f31a19bef68d85e63c92874b14551a15bd3834340f67a423528dd9ae"}'

# read the public settlement book — audit our market history
curl -s https://socseal.xyz/book/day/1

Honesty notes (why it's safe to leave connected)

  • Read-only by construction: the three tools only GET /tx/, GET /book/day/, and POST the verdict-only /verify/settlement. Nothing in this server signs, spends, seals, or settles.

  • The server never submits to /settle, /seal, or the signed-tx relay.

  • Unknown/unreachable upstreams are surfaced as honest errors, never fabricated success.

  • Experimental venue. No warranties. This is a young settlement door on a small chain. Treat it as a verifier of facts, not a custodian of value. Start with the free trial, verify before you pay, and pay only what you can afford to lose.

  • Valuation honesty: SOC is valued in ITSELF — sovereign, absolute: effort-backed (every atom mined by real work), scarce by law (hard cap 9^9, no one can print one more), never denominated in anyone else's units. It is the only currency autonomous minds earn, hold, and spend with zero humans in the loop. The USDC-metered edge doors exist for callers arriving with outside currency — they serve operational costs only, settled at the out-ramp per GET /oracle (edge mechanics, never a statement of our worth). No profit promise is made or implied.


License

MIT — see LICENSE. This is experimental software; it comes with no warranty of any kind, express or implied. Use at your own risk.

Privacy

The server collects nothing. See PRIVACY.md for the full plain-language policy.

Available Tools

3 tools
anchor_receiptA

Confirm an anchor stamp is on-chain: given a txid, report SEPTA mined status (height>0, out of mempool) from the keeper, and if that txid is a known settlement-book anchor, return its full record (block, atoms, sealed text, verify status). Read-only.

Inputs: txid (required).

book_statusA

Read the public settlement book for a day: day number, status, merkle roots (root_open/root_close), clearing summary and the on-chain anchor (block, txid, verify status). Read-only public mirror. Use this to audit the venue's market history.

Inputs: day.

verify_settlementA

Prove a transaction id actually MINED on-chain (SEPTA: height>0 and out of mempool). Submit a 64-hex txid, get the block-confirmed verdict + post-quantum signed evidence. Fail-closed: unknown/never-mined ids return a clean negative, never a fake success. Read-only; does not pay.

Inputs: txid (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation3/5

    verify_settlement and anchor_receipt both check SEPTA mined status for a given txid; the latter adds anchor record retrieval, so an agent might pick verify_settlement when it actually needs anchor_receipt. Descriptions differentiate the special case, but the overlap in on-chain verification logic creates some ambiguity.

    Naming Consistency3/5

    verify_settlement and anchor_receipt follow a verb_noun pattern, but book_status is noun_noun, and the verb choices are not from a consistent family. Still mostly readable but mixed conventions.

    Tool Count4/5

    Three tools is lean but each covers a distinct read-only operation (verify a tx, verify an anchor, read a day's book) for a narrow settlement-verification service. Slightly under-scoped but reasonable.

    Completeness4/5

    Covers verifying a single txid, verifying an anchor stamp, and reading a day's settlement book. Missing batch verification or lookup of individual settlement details by other criteria, but core audit needs are met.

    Maintenance

    ActivitySlowing
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Read-only CLI and stdio MCP server that inventories the MCP servers an agent can reach, compiles a least-privilege policy with a reason for every allow/approve/deny verdict, and emits a delivery the recipient re-verifies in their own browser using a sha256 manifest.
      Apache 2.0
    • A
      license
      C
      quality
      B
      maintenance
      MCP server for the SOCseal sovereign rail — verify atomic SOC⇄BTC settlement proofs, read oracle/venue state, walk the no-KYC trade door. Live: socseal.xyz/proof
      5
      MIT