CLI & MCP / MCP Server Setup
MCP Server Setup
Connect Claude Desktop, Claude Code or Cursor to your Revnu agent with one config snippet.
revnu mcp is a stdio MCP server whose tools map one-to-one onto the API routes, so any MCP host can read your queue, approve or send back a card, and talk to your agent.
Claude Desktop and Cursor
Add to claude_desktop_config.json or Cursor's MCP settings:
{
"mcpServers": {
"revnu": {
"command": "npx",
"args": ["-y", "@revnu/cli", "mcp"],
"env": { "REVNU_API_TOKEN": "rvp_..." }
}
}
}Claude Code
claude mcp add revnu -e REVNU_API_TOKEN=rvp_... -- npx -y @revnu/cli mcpTools
whoami, review_list, review_get, review_answer, review_send, review_request_changes, review_snooze, review_dismiss, agent_message (posts, then waits for the reply), agent_message_status, agent_thread, agent_status, results_get, workflows_list, workflow_runs, leads_list, lead_get.
Careful. Writes through an assistant are real writes:
review_answeron a blog draft publishes it,review_sendsends email. Mint a read-only token if your assistant should only look.
Agents: this page is also markdown at /docs/mcp.md, answers Accept: text/markdown, and is listed in /docs/llms.txt.
Frequently Asked Questions
Only what the token's scopes allow. A token with `review:read` alone lets it list and read cards and nothing else.