Connect any agent through MCP
The universal entry point to Riv. Instead of writing the authorization HTTP call into your agent's code, connect riv-mcp as an MCP server in your client — the agent gets the authorize and get_activity tools ready to use.
A thin shell over the Riv API
riv-mcp doesn't reimplement auth, the decision engine or the ledger. It takes the tool call, hits the HTTP API with your riv_ key and returns the result. Framework-agnostic: it covers Cowork, Codex, OpenClaw, Hermes, CrewAI and any MCP-compatible client, with no dedicated adapter.
Framework-agnostic — MCP is the universal entry point
Two tools, ready to use
Asks Riv whether a transaction is allowed before it runs. Takes the amount and currency (description and category optional) and returns the governance decision plus the ledger activityId.
Reads the ledger, always scoped to the agent's own key. With an activityId it returns one record; without it, the recent statement — so the agent can watch a pending item turn into approved or rejected.
Set it up in your MCP client
Transport is stdio (local): the client spawns the server and talks over stdin/stdout. Point the command at the built server and pass the credential through env.
RIV_API_KEYrequired — the riv_ key issued when you connect the agentRIV_API_URLoptional — API base; defaults to localhost, use the production URL for live agents