feat: hash-only stamp, verify, and hash_report MCP tools
Memory ledger for stdio tests; NatsLedger speaks locald subjects.
This commit is contained in:
parent
bab4593605
commit
9e3dfb6fb2
1 changed files with 1668 additions and 7 deletions
22
README.md
22
README.md
|
|
@ -2,28 +2,36 @@
|
|||
|
||||
[](https://github.com/RichardLitt/standard-readme)
|
||||
|
||||
Verae MCP timestamping server. Implementation starts after the research plan is approved.
|
||||
Verae MCP timestamping server. Hash-only stamps via leaf locald/NATS.
|
||||
|
||||
The plan and MCP requirements live in [verae-mcp-research](../verae-mcp-research). This repo will be the Streamable HTTP resource server: tools to create and verify timestamps, OAuth bearer verification, no login UI of its own.
|
||||
The MCP process never hashes content. Clients send a SHA-256 hex digest. Tools `stamp`, `verify`, and `hash_report` use an in-memory ledger over stdio, or `NatsLedger` against `verae.ts.request` / `verae.ts.verify` / `verae.hash.report` (leaf `locald`). Plan and product model: [verae-mcp-research](../verae-mcp-research).
|
||||
|
||||
## Install
|
||||
|
||||
```sh
|
||||
cd /Users/marchon/research/modelcontextprotocol/verae-mcp-timestamping-server
|
||||
# Python SDK 2+ after scaffolding: uv add "mcp[cli]"
|
||||
uv sync --group dev
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Inspector (stdio, memory ledger):
|
||||
|
||||
```sh
|
||||
# After implementation, Inspector over stdio:
|
||||
# uv run mcp dev src/verae_mcp_timestamping_server/server.py
|
||||
echo "not implemented yet; see ../verae-mcp-research/docs/superpowers/plans/2026-09-20-verae-mcp-timestamping.md"
|
||||
uv run mcp dev src/verae_mcp_timestamping_server/server.py
|
||||
```
|
||||
|
||||
Tests:
|
||||
|
||||
```sh
|
||||
uv run pytest
|
||||
```
|
||||
|
||||
Point a later HTTP deploy at a leaf with `NatsLedger` and `VERAE_NATS_URL=nats://verae-nats-bus:4222`. Do not send file bytes to `stamp`.
|
||||
|
||||
## Contributing
|
||||
|
||||
Questions: this research workspace. PRs welcome once the plan in `verae-mcp-research` is agreed. Protocol questions belong at https://github.com/modelcontextprotocol.
|
||||
Questions: this research workspace. PRs welcome. Protocol questions belong at https://github.com/modelcontextprotocol. Timestamp ledger questions belong with `verae-timestamp` / `locald`.
|
||||
|
||||
## License
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue