Add withOhm to Cursor

After Checkout, the success screen’s primary action is Add withOhm to Cursor — a one-click deeplink into Cursor’s MCP install confirm. Your withOhm key is already in the config. That is the product path; manual JSON is only a fallback.

One-click (preferred)

  1. Finish Stripe Checkout on /billing/intermediate
  2. On success, optionally paste your provider key (BYOK)
  3. Click Add withOhm to Cursor → confirm in Cursor’s MCP UI

Deeplink shape (built automatically on success):

cursor://anysphere.cursor-deeplink/mcp/install?name=ohm&config=<base64>

Manual fallback

Only if the deeplink isn’t available:

{
  "mcpServers": {
    "ohm": {
      "command": "python",
      "args": ["-m", "ohm_mcp"],
      "env": {
        "OHM_BASE_URL": "http://127.0.0.1:8081/v1",
        "OHM_API_KEY": "sk-at-…",
        "OHM_UPSTREAM_KEY": ""
      }
    }
  }
}

pip install -e ".[mcp]" once from the withOhm repository (or install the published package when available).

Usable commands (MCP tools)

CommandPurpose
ohm_fetch_webCompliant URL fetch → redacted markdown or JSON context
ohm_usageUsage snapshot (GET /v1/usage)
ohm_chatChat through Ohm; optional fetch_urls for web context

ohm_fetch_web

ParamDefaultNotes
urls(required)Public http(s) pages
purposepublic_web_retrievalAlso: business_catalog, public_company_info, job_listings
query""Optional focus question
formatmarkdownmarkdown or json (title, text, meta, JSON-LD)

Metered as ohm_web_fetch. Public pages only.

ohm_usage

No params. Returns cache hit ratio, fetches, and web attach rate.

ohm_chat

ParamDefaultNotes
prompt(required)User message
modelmockgpt/claude need BYOK
fetch_urlsnoneOptional compliant web attach
purposepublic_web_retrievalWhen fetch_urls is set
upstream_api_key""Overrides OHM_UPSTREAM_KEY

Env

VarRole
OHM_BASE_URLEdge /v1 (default http://127.0.0.1:8081/v1)
OHM_API_KEYTenant key (sk-at-…)
OHM_UPSTREAM_KEYOptional BYOK for cache misses

OpenAI-compatible base URL

FieldValue
base URLhttp://127.0.0.1:8081/v1
API keywithOhm sk-at-…
UpstreamHeader X-Ohm-Upstream-Key