# Connect ProspectFlow over MCP

ProspectFlow runs a remote MCP server over HTTP. Any MCP client can use it, for example Claude, ChatGPT, Gemini or Cursor. With a draft-mode key, nothing sends: drafts wait for your review.

- MCP server URL: `https://api.prospectflow.app/api/public/v1/mcp`
- REST base: `https://api.prospectflow.app/api/public/v1`

## Authentication

Every request carries a ProspectFlow API key as a bearer token:

```
Authorization: Bearer YOUR_KEY
```

- Keys start with `pf_live_` and come from the API Keys page in your ProspectFlow workspace.
- A key is workspace-scoped and acts as the teammate who created it.
- A key stops working if that teammate leaves the workspace.
- A draft-mode key has no tool for sending replies.

Replace `YOUR_KEY` below with your own key. Never commit a key to a repository.

## Any MCP client

Every client needs the same two things:

1. The server URL: `https://api.prospectflow.app/api/public/v1/mcp`
2. The header `Authorization: Bearer YOUR_KEY`

Where you enter them depends on the client: a connector or integration setting in chat apps, a JSON config file in editors, or a command in CLIs. The examples below cover the common shapes. If your client cannot send a custom header, it cannot authenticate with a key yet.

## Example: JSON-configured clients (for example Cursor)

For clients that read an `mcpServers` JSON config:

```json
{
  "mcpServers": {
    "prospectflow": {
      "url": "https://api.prospectflow.app/api/public/v1/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_KEY"
      }
    }
  }
}
```

## Example: Claude Code (CLI)

```
claude mcp add --transport http prospectflow https://api.prospectflow.app/api/public/v1/mcp --header "Authorization: Bearer YOUR_KEY"
```

## Tools

The main tools are listed below. Your MCP client's `tools/list` response has the full, current set.

- `list_signals` (Signals): List buying signals (hiring posts, job changes, LinkedIn engagement) with the company and its ranked decision makers. A signal is evidence, not intent.
- `find_signal_decision_makers` (Contacts): Find and rank the decision makers for a signal.
- `enrich_contact` (Contacts): Find and verify a contact's work email.
- `enroll_contacts` (Sequences): Enroll contacts in one of your sequences on email, LinkedIn, or both.
- `list_replies` (Replies): Read replies to your sequences, with the classified intent.
- `create_reply_draft` (Replies): Write a draft answer to a reply. Nothing is sent: it waits in your inbox for review.
- `approve_draft` (Replies): Send an approved draft. Auto-mode keys only.

## More

- Integrations: https://prospectflow.app/integrations
- Agent summary: https://prospectflow.app/llms.txt
