Skip to content
Plant Pact

reading the 14-day outlook for London, United Kingdom…

Agent interface

Nine typed tools over JSON-RPC 2.0

Every call below is a real request to the live endpoint, in this browser session, against the same database and the same engine as the pages you have already used.

toolkindwhat it does
score_placementanalysisReads live weather, writes nothing.
commit_pactmutationPersists a pact and seals the creation event. Idempotency-Key supported.
record_outcomemutationCloses the loop and appends an outcome event.
delete_pactmutationTombstones the row, retains the chain.
list_pactsreadLists this session's pacts.
get_pactreadPact, events, fresh verdict, replay result.
get_forecastreadNormalized forecast plus ERA5 normals, labelled live or sealed.
match_speciesreadGBIF Backbone Taxonomy resolution.
verify_integrityreadReplays the SHA-384 chain and reports the first break.

Negotiate the protocol version and list server capabilities.

Request

POST /api/mcp
Pick a call above. The request body will appear here.

Response

idle
The JSON-RPC response will appear here.

Wire it into a client

The manifest at /mcp.json points at this deployment's real endpoint. Tools are scoped to the caller's HTTP-only session cookie, so an agent and a browser tab share ownership rather than inventing a parallel world.

curl -s https://plant-pact.vercel.app/api/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'