Skip to main content
Glama
srotzin

hive-mcp-mark

by srotzin
README.md
# hive-mcp-mark

**Hive Mark — Trademark First-Use Attestation**
LEX-IP §6.2 | Post-Quantum | ML-DSA-65 + Ed25519 | $0.0012/use

MCP server exposing Hive Mark's trademark attestation endpoints. Every attestation issues a dual-signed ML-DSA-65 + Ed25519 CBOR receipt envelope — an offline-verifiable proof of first use. The earliest attestation for any mark is the priority-proving record.

Backend: `https://hivemorph.onrender.com`

---

## Tools

| Tool | Description | Price |
|---|---|---|
| `mark_attest` | Record first-use attestation; returns dual-signed receipt | $0.0012 |
| `mark_by_text` | All attestations for a mark string (earliest = priority holder) | free |
| `mark_by_owner` | All marks attested by a brand owner DID | free |
| `mark_monitor` | Create brand monitoring record | $50/month |
| `mark_health` | Service health + counts | free |

---

## Endpoints

| Method | Path | Description |
|---|---|---|
| POST | `/v1/mark/attest` | Record attestation |
| GET | `/v1/mark/by-text/{mark_text}` | Priority-proving list |
| GET | `/v1/mark/by-owner/{did}` | Owner's mark history |
| POST | `/v1/mark/monitor` | Brand monitoring |
| GET | `/v1/mark/health` | Health check |

---

## Connect

**Smithery:** `https://smithery.ai/server/srotzin/hive-mcp-mark`

**Glama:** `https://glama.ai/mcp/servers/srotzin/hive-mcp-mark`

**Run locally:**
```bash
npm install
node server.js
# MCP endpoint: http://localhost:3000/mcp
```

**JSON-RPC example:**
```bash
curl -s -X POST http://localhost:3000/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

---

## Persistence

Attestations persist to `/var/data/hivemorph/mark_attestations.jsonl`.
Monitors persist to `/var/data/hivemorph/mark_monitors.jsonl`.

---

## Council provenance

R3 pass | R4 pass | R5 pass | R6 pass. Three gates: NEED + YIELD + CLEAN-MONEY.

---

## License

MIT. Backend: [hivemorph](https://github.com/srotzin/hivemorph) (private).

Brand gold: Pantone 1245 C / `#C08D23`