Cursor's Agent mode can already touch every file in your repo. Add AgentValet as its MCP server and you decide what happens next: which branches it can push, which Stripe charges it can run, which Slack channels it can post to. GitHub read-only stays read-only — even if the agent tries to push.
The AgentValet CLI signs you in via your browser, generates an RS256 keypair, registers your
Cursor session as an agent, and writes .cursor/mcp.json for you.
No copy-paste, no IDs to track.
# In your project directory npx @agentvalet/register # Browser opens. Sign in. Done. # The CLI writes: # .cursor/mcp.json - MCP entry, project-scoped
npx @agentvalet/register in your project directory.npx @agentvalet/register --scope user and the CLI writes to ~/.cursor/mcp.json instead of .cursor/mcp.json.
The CLI is the recommended path. If you'd rather edit the config yourself, here's the equivalent:
{
"mcpServers": {
"agentvalet": {
"command": "npx",
"args": ["-y", "@agentvalet/register", "mcp-server"]
}
}
}
You'll still want to run npx @agentvalet/register once so the CLI can store your agent's private key on this machine - the MCP server reads it at startup.
Cursor's agent can now call any platform through AgentValet without holding API keys locally. All calls are scoped, logged, and revocable from the dashboard.
One command. The browser does the rest. Free to start, no credit card.