Vaner
IntegrationsPer-client guides

Cursor + Vaner (MCP)

Connect Cursor to Vaner over MCP for predictive, repo-grounded context.

Cursor supports the Model Context Protocol out of the box. Point it at vaner mcp and Vaner will serve scenario-ranked context to your agent before every prompt.

Install

If you haven't installed Vaner yet:

curl -fsSL --proto '=https' --tlsv1.2 https://vaner.ai/install.sh | bash
vaner init --path .

Connect Cursor

Path: ~/.cursor/mcp.json

{  "mcpServers": {    "vaner": {      "type": "stdio",      "command": "uvx",      "args": ["--from","vaner[mcp]","vaner","mcp","--path","."]    }  }}

Verify

Restart Cursor, open Settings → MCP, confirm `vaner` is listed. Run the `list_scenarios` tool from the composer to smoke-test.

Upstream docs

https://docs.cursor.com/en/context/mcp

Verify

Restart Cursor, open Settings → MCP, confirm vaner is listed. Run the list_scenarios tool from the composer to smoke-test.

If Cursor reports the server as failed, run vaner mcp --path . manually in a terminal and read the error. The most common failure is a missing backend API key — confirm with vaner config show.

What this unlocks

  • Composer can call list_scenarios/get_scenario for "where is X?" prompts instead of grepping from scratch.
  • Project-scoped config keeps Vaner active only in the repos you want.
  • Agent mode can compare alternatives with compare_scenarios and close the loop with report_outcome.

See also

On this page