When the Claude.ai MCP OAuth token has expired and re-authorisation is not immediately possible, the notes store REST API is directly accessible via the stunnel tunnels on kelp. This bypasses OAuth entirely — the stunnel client certificate provides transport-layer authentication.
| Store | Local port | Stunnel tunnel |
|---|---|---|
| Public notes | 8021 | gravlax-notes → gravlax.critchley.biz:18021 |
| Private notes | 8121 | gravlax-notes-private → gravlax.critchley.biz:18121 |
| Public MCP | 8024 | gravlax-notes-mcp → gravlax.critchley.biz:18023 |
| Private MCP | 8124 | gravlax-notes-mcp-private → gravlax.critchley.biz:18123 |
GET a note:
curl --silent 'http://127.0.0.1:8121/<key>' -o /path/to/file.json
PUT (replace) a note:
curl --silent -X PUT 'http://127.0.0.1:8121/<key>' \
-H 'Content-Type: application/json' \
-d @/path/to/file.json
PATCH (block-level edit) a note — POST with a patch op body:
curl --silent -X POST 'http://127.0.0.1:8121/<key>' \
-H 'Content-Type: application/json' \
-d '{"op": "append_block", "block": {"para": ["new content"]}}'
Creating a note:
Modifying a note:
See also: GData Server overview | MCP note editing guide