# Amazon Q Developer + Dizo

> Add Dizo as an HTTP MCP server in Amazon Q Developer for VS Code or JetBrains and query B2B data from the Q chat panel.

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

## Steps
1. Open the Q Developer panel, go to **Chat** and choose the tools icon to open the MCP configuration.
2. Choose **+**, pick global or local scope, name the server Dizo and select `http` as the transport.
3. Enter the URL `https://mcp.dizo.ai/mcp` and, under **Headers - optional**, add `Authorization` = `Bearer dz_live_...`. Choose **Save**.
4. Set each Dizo tool to Ask, Always allow or Deny in the tool permissions panel, then ask Q for data in chat.

## Where to go
Q Developer chat → tools icon → **+** → transport http, URL, optional headers → Save.

Open the Amazon Q MCP docs: https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/mcp-ide.html

## MCP server form (IDE)
```
Scope:      Global (~/.aws/amazonq/default.json)
            or Local (.amazonq/default.json)
Name:       dizo
Transport:  http
URL:        https://mcp.dizo.ai/mcp
Headers:    Authorization = Bearer dz_live_...
Timeout:    60
```

## Notes
- If you leave the header out and the server asks for authorization, Q opens a browser so you can sign in at dizo.ai instead.
- Set paid tools such as `dizo_find_phone` to **Ask** so every call needs your approval.
- Workspace (local) configuration takes precedence over global, so keep live keys in the global scope.

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


## What Amazon Q Developer is

Amazon Q Developer is AWS's AI assistant for software work. In the IDE it runs as a plugin for editors including VS Code, JetBrains IDEs, Eclipse and Visual Studio, with a chat panel that can read your project, explain and write code, and call tools on your behalf. Teams already working in AWS often use it because it sits inside the same account and identity setup as the rest of their tooling.

Q Developer is an MCP client. Its configuration UI, opened from the tools icon in the Chat panel, supports two transports: STDIO for local processes and HTTP for remote servers. For an HTTP server you enter a name, a URL, optional headers and a timeout. The settings are saved to `~/.aws/amazonq/default.json` at global scope or `.amazonq/default.json` inside the project at local scope. That makes connecting the remote Dizo server at `https://mcp.dizo.ai/mcp` a form you fill in once.

## Why add Dizo to Q

Q Developer knows your code and AWS. It doesn't know who works at a given company, what a company's headcount is, or whether an email address will bounce. If you are building anything that touches B2B data, such as a lead-scoring service on Lambda, a CRM sync or an enrichment step in a data pipeline, connecting Dizo lets Q pull real examples while it helps you write the code.

Dizo exposes every API as an MCP tool with its credit cost in the description: natural-language search, people and company search, free counts, the decision-maker finder, org charts, email and phone finders, enrichment, verification, 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. The [MCP page](/mcp) lists every tool.

## Prompts to try

Once Dizo is connected, ask Q in the chat panel for things like:

- "Enrich example.com with Dizo and write a TypeScript interface for the response." `dizo_enrich_company`, 1 credit if matched.
- "How many data engineering leads work at US retailers with over 1,000 employees?" `dizo_count`, free.
- "Pull 50 cloud architects at healthcare companies into `seed/people.json`." `dizo_search`, 2 credits for 50 results.
- "What's the domain-to-company result for this list of five domains?" `dizo_domain_to_company`, 1 credit each only if found.
- "Find a work email for this person and show the verification status." `dizo_find_email`, 1 credit only if found.
- "Write a Lambda handler that enriches a new signup's email with Dizo."
- "How much Dizo budget does this key have left?" `dizo_balance`, free.

## Setup walkthrough

Open the Q Developer panel, switch to **Chat**, and choose the tools icon to open the MCP configuration. Choose the plus symbol to add a server. Pick a scope: global stores the server in `~/.aws/amazonq/default.json` and makes it available in all your projects, while local stores it in `.amazonq/default.json` in the current project.

Enter `dizo` in the **Name** field and select `http` as the transport. In the **URL** field, enter `https://mcp.dizo.ai/mcp`. Under **Headers - optional**, add a header named `Authorization` with the value `Bearer dz_live_...`. Set a **Timeout** if you want one, then choose **Save**. The configuration panel is replaced with the tool permissions panel.

If you would rather sign in than paste a key, leave the headers empty. AWS's docs say that when an MCP HTTP endpoint requires authorization, Q opens a browser page so you can authorize it, and Dizo's server supports OAuth sign-in. Anyone can [sign up](/signup) for a live key and sign-in, and work email signups get 250 free credits. A `dz_test_` key returns synthetic data and is always free.

## Tool permissions and spend

Q gives you per-tool permissions, which pair well with Dizo's per-key controls. For each tool you choose **Ask**, which prompts before every use, **Always allow**, or **Deny**. A practical setup is Always allow for free tools such as `dizo_count`, `dizo_quote`, `dizo_whoami` and `dizo_balance`, Ask for low-cost lookups and searches, and Deny for anything you don't need from the editor, such as job-change watches or monitors.

On the Dizo side, create a dedicated key with [API keys](/docs/keys): `data:read` scope, `daily_cap_credits`, `monthly_cap_credits`, `max_credits_per_request` and an `allowed_endpoints` list. MCP connections already default to `data:read` and a 500-credit per-call limit. Then set an account monthly cap in USD through [spend limits](/docs/billing-limits). When it is reached, calls return `402 monthly_cap_reached`, and auto-refill never exceeds the cap.

A worked example at the $0.025 entry rate: a week building an enrichment Lambda might use 30 company enrichments (30 credits), 100 search results (4 credits) and 40 email finds with 30 hits (30 credits). That is 64 credits, or $1.60. Phone finds are the expensive lookup at 10 credits each, which is why Ask is a sensible default for `dizo_find_phone`.

## Example workflows

**Enrichment Lambda.** Ask Q to call `dizo_email_to_profile` on a sample signup address so you can see the person, title, seniority and employer fields. Then have it write a handler that calls `POST https://api.dizo.ai/v1/people/by-email` with an `Idempotency-Key` header and a `max_credits` ceiling, reading the key from AWS Secrets Manager or an environment variable. The MCP call costs 2 credits only if a profile is found.

**Pipeline backfill.** For a table of 10,000 company domains, ask Q to write a job that submits them through [batch](/docs/batch), which takes up to 10,000 lookups per job and calls a webhook on completion. At 1 credit per matched domain, a 90% match rate would cost 9,000 credits. Before running it, call `dizo_quote` or send the batch with `"dry_run": true` to get the exact figure for free.

**Test fixtures.** Use a `dz_test_` key and ask Q to generate fixtures for people search, email find and company enrich so your unit tests run against realistic shapes without live calls.

## MCP while you build, REST when you ship

The MCP connection in Q is for exploring and prototyping. It lets you look at real records, settle on filters and confirm field names without leaving the editor. Production code should call the REST API at `https://api.dizo.ai/v1` directly, with its own key, rather than routing through an assistant. Ask Q to turn what you learned in chat into that code.

Dizo publishes machine-readable references that help here: an OpenAPI 3.1 file at `https://dizo.ai/openapi.json` and a full text reference at `https://dizo.ai/llms-full.txt`. Point Q at the OpenAPI file when it generates a client, so request and response types come from the spec rather than from one sample. Ask it to add the habits Dizo recommends for agents: send `"max_credits"` on every billable request, send an `Idempotency-Key` header on every POST so retries within 24 hours are never charged twice, and read the `x-dizo-credits-used` and `x-dizo-credits-remaining` headers on each response.

Before a large job, have the code call `POST /v1/count` (free) to size it, then send the real request with `"dry_run": true` to get an exact quote. Both steps cost nothing and keep a misconfigured filter from turning into a surprise bill.

## Troubleshooting

After you save, Q tries to connect. If there's a problem, an alert appears in the panel. Choose **Fix Configuration** to return to the form. Common causes are a typo in the URL, a header value missing the `Bearer ` prefix, or a revoked key. Make sure the URL ends in `/mcp`.

If a server you added doesn't appear to be active, open the MCP Servers panel and check whether it is disabled; choose **Enable** next to it. Remember that workspace configuration takes precedence over global, so a local entry with the same name can override the global one.

A `402` response 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. For large jobs, switch from repeated tool calls to [batch](/docs/batch).

## Security practices

Local configuration lives inside the project in `.amazonq/default.json`, which can end up in version control. Keep `dz_live_` keys in the global scope, or use OAuth so no key is stored, and add the local file to `.gitignore` if it contains anything sensitive.

Use a separate key for the IDE from the one your deployed services use, so you can revoke either independently. Keep the IDE key at `data:read`. Only `billing:write` keys 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, as described on the [trust page](/trust).

## FAQ

### Does Amazon Q Developer support remote MCP servers?
Yes. In the IDE, the MCP configuration UI supports an `http` transport with a URL, optional headers and a timeout. Dizo's server at `https://mcp.dizo.ai/mcp` connects that way.

### Where is the configuration saved?
At global scope in `~/.aws/amazonq/default.json`, and at local scope in `.amazonq/default.json` in your project. Q also reads legacy `mcp.json` files in the same folders.

### Do I need an API key, or can I sign in?
Either. Add `Authorization: Bearer dz_live_...` as a header, or leave headers empty and Q opens a browser to authorize when the server requires it. Dizo supports OAuth sign-in.

### Can I stop Q from running expensive lookups without asking?
Yes. Set tools like `dizo_find_phone` to Ask in the tool permissions panel, and add per-key caps in Dizo. MCP connections default to a 500-credit per-call limit.

### Does this work with the Q Developer CLI?
The setup on this page is for the IDE. The CLI also reads MCP configuration, but its remote server options can differ by version, so check AWS's Q Developer CLI docs before relying on them.

### Is there a Dizo listing in Amazon Q or AWS Marketplace?
No. There is no Dizo listing. You add the Dizo MCP server yourself through Q's MCP configuration.
