mcp

v0.4.0
@omnirow/mcp Checked 4 days ago Published 4 days ago

OmniRow for Claude, Cursor and other MCP clients: research your lists of companies with evidence.

OmniRow for Claude. An MCP server that is just another authenticated client of the OmniRow public API (/v1): it holds an API URL and one API key, nothing else — no database URL, no service key, no session. Everything it can do, the key's scopes allow; everything that matters (scopes, spend limits, quotes, confirmations, workspace isolation) is enforced by the API, not here. OmniRow is a Claude connector.

Summary extracted from the README.

OmniRow MCP

OmniRow for Claude. An MCP server that is just another authenticated client of the OmniRow public API (/v1): it holds an API URL and one API key, nothing else — no database URL, no service key, no session. Everything it can do, the key's scopes allow; everything that matters (scopes, spend limits, quotes, confirmations, workspace isolation) is enforced by the API, not here.

Connect (customers): no install

OmniRow is a Claude connector. In OmniRow, open Connect Claude (sidebar) and follow it: in Claude, Customize → Connectors → Add custom connector, name it OmniRow, paste https://api.omnirow.ai/mcp, then Connect and Allow in OmniRow. Works on claude.ai, Claude Desktop, mobile and in Claude Code (through the same Claude account, or claude mcp add --transport http omnirow https://api.omnirow.ai/mcp, then /mcp → Authenticate). Cursor and other MCP apps: add a server with that URL and sign in. No key, no Node.js, always the current version.

The hosted server is this package's src/http.ts, run by the OmniRow API; sign-in is server/src/connector/.

Set up with an API key (developers, or apps that can't sign in)

  1. In OmniRow: Settings → Workspace → API keys → Create key. New keys read and write; tick Spend credits or Delete only if you want Claude to do those (each still waits for your yes). The key is shown once, with the setup below already filled in.

  2. Claude Desktop or Cursor: add this to the MCP config (Claude Desktop: Settings → Developer → Edit Config; Cursor: Settings → MCP), then restart the app. Needs Node.js 20 or later.

    { "mcpServers": { "omnirow": { "command": "npx", "args": ["-y", "@omnirow/mcp@latest"], "env": { "OMNIROW_API_KEY": "omr_live_…" } } } }
    

    Claude Code: claude mcp add omnirow --env OMNIROW_API_KEY=omr_live_… -- npx -y @omnirow/mcp@latest

  3. Ask Claude: "What's in my OmniRow workspace?"

A production key (omr_live_) is only ever sent to https://api.omnirow.ai, so nothing else needs setting. @latest means Claude fetches the current version each time it starts; pin one (@omnirow/mcp@0.3.0) only if you need to. Claude can't find Node? Install it from nodejs.org, or put the full path from which npx as command. To keep the key out of the config file, put it in an owner-only file and set OMNIROW_API_KEY_FILE to its path instead. Revoke a key on the same page if a device is lost.

Set up (OmniRow developers, staging)

  1. Install (once): cd mcp && npm install

  2. Get a staging key: Settings → Workspace → API keys on localhost:5174 (the workspace needs API access on in Internal admin), or the operator script from server/:

    npx tsx ../scripts/api-key.mts staging create --email you@example.com --name "MCP on my Mac" --out ~/.omnirow/staging.key
    

    --out writes the key to an owner-only file so it never passes through a terminal or a transcript. Defaults: scopes read,write (add --scopes read,write,spend,delete on purpose), at most 500 credits per run and 2,000 per month, expires in 90 days (--per-run, --per-month, --days change them; none removes a limit).

  3. Add it to Claude under its own name, so it is always clear which one acts:

    claude mcp add omnirow-staging -s user -e OMNIROW_API_URL=http://localhost:8787 -e OMNIROW_API_KEY_FILE=$HOME/.omnirow/staging.key -- node /ABSOLUTE/PATH/groundwork/mcp/bin/omnirow-mcp.mjs
    

    Staging needs both halves of localhost running (npm run dev, npm run server).

Environments

Staging Production
OMNIROW_API_URL http://localhost:8787 https://api.omnirow.ai
Key omr_test_… (issued by the staging database) omr_live_… (issued by the production database)
Credits staging credits real credits

Three locks keep them apart: a key exists only in the database that issued it; each API accepts only its own prefix; and this MCP refuses, before sending anything, to send a live key anywhere but https://api.omnirow.ai or a test key anywhere but a local server.

Scopes

Scope Allows
read every read, export, link, and the free setup help (set up a column, suggest, improve, draft an offer, ask about a summary) — nothing is saved by those
write reversible changes: clients, lists, companies, marks, columns, templates, Priority, cancelling a run
spend research runs and summaries — always quote first, then confirm with the token
delete deleting a list (to Recently deleted, 30 days) and removing a column — always two steps

Never available to any key: billing, members and invitations, key management, Internal admin, permanently deleting a list. A key can never do more than its member can in the app.

Revoke and rotate

npx tsx ../scripts/api-key.mts staging list --email you@example.com
npx tsx ../scripts/api-key.mts staging revoke <key id>     # refused by the API within 30 seconds

Rotate = create a new key, point the MCP config at it, revoke the old one.

Tools (51)

Workspace: get_workspace, get_usage · Clients: list_clients, get_client, save_client (offer, notes, writing style), draft_client_offer, delete_client, restore_client · Lists: find_lists, get_list, create_list, update_list (rename, context, archive, what counts as qualified), delete_list, restore_list · Rows: list_rows, get_row, add_companies (with contacts and extra fields; merges into companies already there), import_csv, mark_rows, update_row (correct a company), remove_rows, remove_contacts · Columns: add_column, update_column (Find / Analyze / Write, and Rule / Calculate, computed free), remove_column, improve_text, suggest_columns, list_apify_actors (workspaces with Apify on) · Templates and Priority: list_templates, apply_template, set_priority · Research: run_research, get_run, cancel_run, diagnose_list · Summaries: summarise, get_summary, ask_summary · Do not contact: list_do_not_contact, add_do_not_contact, remove_do_not_contact · Segment funnel: start_batch, add_to_campaign (freezes the rows it adds), freeze_rows, unfreeze_rows, set_outcomes · Connected outreach tools (Instantly, HeyReach; read only): list_outreach_campaigns, sync_outcomes, sync_do_not_contact · Export: export_csv (compact, full, or for Instantly), open_in_app. Plus the omnirow://guide resource.

QA

OMNIROW_API_KEY_FILE=~/.omnirow/staging.key npx tsx scripts/qa-mcp.mts — staging only. Starts this server over stdio as Claude does and drives every main flow against the local API (≈ 40 staging credits), then deletes what it made.

Releasing a new version (OmniRow)

  1. Bump version in mcp/package.json and mcp/src/version.ts (a test fails if they differ). Patch for fixes, minor for new tools or parameters; a breaking change to a tool needs a major and a note in the changelog.
  2. Release the API changes the new tools need to main first: the package calls the production API.
  3. cd mcp && npm publish. prepublishOnly builds dist/ and refuses if the package holds anything but bin/, dist/, README.md and package.json, or anything shaped like a secret.
  4. Customers on @omnirow/mcp@latest get it the next time Claude starts. To pull a bad release: npm deprecate @omnirow/mcp@<version> "<why>" and publish a fixed patch.