# Warp + Dizo

> Add Dizo as a URL MCP server in Warp so its agents can search, enrich and verify B2B data from your terminal.

Type: MCP client — server URL `https://mcp.dizo.ai/mcp`. No native app needed.

## Steps
1. Open **Settings > Agents > MCP servers** (or search "Open MCP Servers" in the Command Palette) and click **+ Add**.
2. Paste the JSON below with your key in `headers`, or leave `headers` out and sign in with OAuth when the server starts.
3. Start the Dizo server from the MCP servers page and check that its tools are listed.
4. Ask the Warp agent for data in plain English, for example "count heads of RevOps at US fintechs".

## Where to go
Settings → Agents → **MCP servers** → + Add, then paste the JSON below.

Open Warp MCP settings: warp://settings/mcp
From the web: https://docs.warp.dev/agents/capabilities/mcp/

## MCP server JSON
```
{
  "mcpServers": {
    "dizo": {
      "url": "https://mcp.dizo.ai/mcp",
      "headers": { "Authorization": "Bearer dz_live_..." }
    }
  }
}
```

## File-based config
```
# Global (auto-spawns):   ~/.warp/.mcp.json
# Project (needs approval): <repo>/.warp/.mcp.json
# Same mcpServers JSON as above.
```

## Notes
- With OAuth, Warp opens a browser sign-in the first time the server starts and stores the credentials on your device.
- Project-scoped servers must be approved and started manually, and toggled on again after Warp restarts.
- Keep live keys out of a committed `.warp/.mcp.json`: use the global file or OAuth.

## Related API docs
- [/docs/search](https://dizo.ai/docs/search.md)
- [/docs/count](https://dizo.ai/docs/count.md)
- [/docs/keys](https://dizo.ai/docs/keys.md)


## What Warp is

Warp is a terminal with built-in AI agents. Alongside a normal shell, you can hand a task to an agent in plain English: it plans the steps, runs commands, reads their output, edits files and reports back, asking for approval where you have told it to. Many developers use it as the place where scripts get written and run in one loop.

Warp's agents can use tools from MCP servers. You manage them under **Settings > Agents > MCP servers**, also reachable from Warp Drive or by searching "Open MCP Servers" in the Command Palette. A server can be a CLI command Warp launches, or a URL server configured with a `url` and an optional `headers` object. Warp also supports OAuth for URL servers. The Dizo server at `https://mcp.dizo.ai/mcp` is a URL server, so it takes a few lines of JSON.

## Why connect Dizo to Warp

A terminal is where data jobs actually run: the CSV export, the enrichment script, the curl call that checks an endpoint, the cron job that refreshes a list. Giving Warp's agent Dizo tools means it can fetch real records while it writes and runs those scripts, and you can answer quick questions without opening another tool.

Dizo exposes every API as an MCP tool, with the credit cost in each tool description. That includes natural-language search, people and company search, free counts, the decision-maker finder, org charts, email and phone finders, enrichment, reverse lookups, lists and batch jobs. The data covers 850M professional profiles, 100M+ websites and companies, 800M verified emails and 550M mobiles and direct dials. See the [MCP page](/mcp) for the full table.

Dizo's charging rules suit an agent that experiments. Lookups that find nothing are free, and searches charge only for the results they return. Counts, quotes, balance checks and `dizo_whoami` cost nothing at all. So when the Warp agent tries three filter combinations to see which one produces a sensible list, the first two can be free counts, and only the final search spends credits. A good first instruction for a new session is to call `dizo_whoami` and report the key's scopes and remaining budget, which takes one free call and tells both you and the agent what it is allowed to do.

## Tasks to give the Warp agent

With Dizo connected, try tasks like these:

- "How many security engineering managers work at UK companies with 200 to 2,000 employees?" `dizo_count`, free.
- "Find a work email for every row in `contacts.csv` that has a name and domain but no address, and write it to a new column." `dizo_find_email`, 1 credit only if found.
- "Look up the company behind each domain in `domains.txt`." `dizo_domain_to_company`, 1 credit per domain found.
- "Find 25 VPs of Engineering at Series B devtools companies and save them as JSON." `dizo_search`, 1 credit for 25 results.
- "Get the org chart for the engineering team at example.com." `dizo_org_chart`, 1 credit per 25 people returned.
- "Quote the cost of finding emails for all 800 rows before you run anything." `dizo_quote`, free.
- "Show my Dizo balance and this month's spend." `dizo_balance`, free.

## Setup walkthrough

Open **Settings > Agents > MCP servers** and click **+ Add**. Paste the JSON from the top of this page. The `url` key is required and points at `https://mcp.dizo.ai/mcp`. The `headers` object is optional; use it to send `Authorization: Bearer dz_live_...` if you want key-based auth.

If you would rather not store a key, remove the `headers` object. Warp supports OAuth for URL servers: when you start a server without saved credentials, it opens a browser login, stores the credentials on your device and reuses them. You will need to sign in again on a new machine, and you can revoke saved credentials from the MCP servers pane.

Start the server from the MCP servers page. A server that's running when you close Warp starts again next launch; one you stopped stays stopped. Anyone can [sign up](/signup) for a live key and OAuth sign-in, and work email signups get 250 free credits with no card. A `dz_test_` key returns synthetic data and never spends credits.

## Global or project config

Warp also reads MCP servers from files. The global file is `~/.warp/.mcp.json`, and a project-scoped file lives at `.warp/.mcp.json` in the repository root. Both use the same `mcpServers` JSON shape. Global Warp servers auto-spawn by default. Project-scoped servers need to be approved one by one, must be started manually and need toggling on again after a restart.

That difference is useful. Put Dizo in the global file, or add it through Settings, if you want it available everywhere. Use a project file when a repository's scripts depend on Dizo and you want teammates to get the same server definition, but leave the key out of it and have each person sign in with OAuth. Warp also reads servers configured for some other agents, such as Claude Code and Codex, when you enable **Auto-spawn servers from third-party agents**.

## Controlling spend

Terminal agents are good at loops, which is exactly when you want hard limits. Create a key for Warp with [API keys](/docs/keys): `data:read` scope, a `daily_cap_credits`, a `monthly_cap_credits`, a `max_credits_per_request` and an `allowed_endpoints` list. MCP connections default to `data:read` and a 500-credit per-call limit, so a single runaway call can't spend more than that unless you raise it.

Add an account-wide monthly cap in USD as the last line of defence. Once it's reached, calls return `402 monthly_cap_reached`, and auto-refill never exceeds it. Alerts arrive by email and webhook at 50%, 80% and 100% of any cap.

A worked example at the $0.025 entry rate: an agent asked to find emails for a 2,000-row CSV that gets 1,400 hits spends 1,400 credits, which is $35, and the 600 misses are free. If it also finds phones for 50 priority rows and gets 30 hits, that is 300 more credits, or $7.50. Asking it to call `dizo_quote` first, or using a [free count](/docs/count) to size a search, keeps those numbers visible before anything runs.

## Example workflows

**Re-identify bounces before a send.** Tell the agent to read `bounced.csv`, submit the rows to [batch](/docs/batch) for person enrich and write each person's current employer and new work email back to the file, flagging anyone who could not be matched so you can suppress them. Batch takes up to 10,000 lookups per job and returns JSONL or CSV, which the agent can merge with a one-line command.

**Domain triage.** Hand the agent a text file of inbound domains. It calls `dizo_domain_to_company` for each one and prints a table of headcount, industry and HQ, then flags the ones that match your ideal customer profile. At 1 credit per domain found, 100 domains cost at most 100 credits, or $2.50.

**Prototype, then script.** Ask the agent to try a [people search](/docs/people-search) with a few filter sets until the results look right. Then have it write a shell or Python script that makes the same call to `https://api.dizo.ai/v1/people/search` with `"max_credits"` set and an `Idempotency-Key` header, so the job can run on a schedule without the agent.

## Troubleshooting

If the Dizo tools don't appear, open the MCP servers page and check that the server is started. For a project-scoped server, make sure you approved it and toggled it on after the last restart. If the JSON was rejected, check for a missing brace and confirm the key is `url`, not `serverUrl`.

Authentication errors usually mean the header is missing the `Bearer ` prefix, the key was revoked, or saved OAuth credentials are stale. Revoke them from the MCP servers pane and sign in again. A `402` means a cap was reached on the key or the account. Dizo errors include a stable `error.code` and a plain-English `fix`; retry only when `error.retryable` is true, after `error.retry_after` seconds.

## Security practices

Never commit a `dz_live_` key in `.warp/.mcp.json`. Use OAuth, or keep the key in the global file on your own machine. If you share a server definition through Warp, check what it includes before you send it. Give Warp its own key, separate from production services, so you can revoke it without breaking anything.

Keep the key at `data:read`. Only keys with `billing:write` can top up or change refills, and the account owner can lock billing entirely. Dizo hashes keys at rest and uses TLS 1.2 or later; the [trust page](/trust) has the details.

## FAQ

### Does Warp support remote MCP servers?
Yes. Warp supports URL servers configured with a `url` and an optional `headers` object, plus CLI servers it launches itself. Dizo connects as a URL server at `https://mcp.dizo.ai/mcp`.

### Can I sign in instead of pasting a key?
Yes. Leave out the `headers` object. When the server starts without saved credentials, Warp opens a browser sign-in and stores the credentials on your device.

### Where does Warp store MCP config files?
Globally at `~/.warp/.mcp.json`, and per project at `.warp/.mcp.json` in the repository root. You can also add servers through Settings > Agents > MCP servers.

### Why did my project-scoped Dizo server stop after a restart?
Project-scoped servers must be approved, started manually and toggled on again after Warp restarts. Use the global config if you want Dizo to start automatically.

### Is there a Dizo integration in Warp's catalog?
No. There is no Dizo listing in Warp. You add the Dizo MCP server yourself with the JSON on this page.

### How do I stop the agent from overspending in a loop?
Set daily, monthly and per-request caps on the key and an account monthly cap. MCP connections also default to a 500-credit per-call limit, and calls stop with a 402 when a cap is reached.
