> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vsyble.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Local MCP with an API key

Use local MCP when your client starts tools as a local process or you need an API-key connection. For browser sign-in and reply drafting, prefer [hosted MCP](https://docs.vsyble.com/mcp/overview.md).

## Set up the package

The current published package is `vsyble@4.0.0`. It requires Node.js 22.23.4+, 24.22.1+, or 26.12.1+ within those supported release lines.

```bash theme={null}
npx -y vsyble@4 setup
```

Create a scoped API key in [Vsyble settings](https://app.vsyble.com/mcp). Setup saves it in `~/.vsyble/config.json` with owner-only permissions and can configure supported clients. API keys require a paid Vsyble plan.

## Configure a client manually

```json theme={null}
{
  "mcpServers": {
    "vsyble": {
      "command": "npx",
      "args": ["-y", "vsyble@4", "mcp"]
    }
  }
}
```

The process reads the saved credential or `VSYBLE_API_KEY` from its environment. Prefer the saved credential for desktop clients that do not inherit shell environment variables. Do not commit a real key inside a client configuration.

For Codex local STDIO:

```toml theme={null}
[mcp_servers.vsyble]
command = "npx"
args = ["-y", "vsyble@4", "mcp"]
```

## Hosted versus local

| Capability | Hosted OAuth | Current local package |
| - | - | - |
| Search and selected enrichment | Yes | Yes |
| Campaign reads, edits, CRM imports | With consent | With key permissions |
| Inbox metadata and full reads | With consent | With opt-in mail-read key permissions |
| Reply draft creation and cancellation | With `vsyble.drafts` | No |
| Reply scheduling | With `vsyble.send` | No |
| Campaign approvals and activation | With sending permission and confirmation | With sending permission and confirmation |

The hosted server exposes eight tools. API-key MCP exposes seven: it omits `inbox_write`, and its `send` tool omits `schedule_reply`.

## Upgrade from an older connection

Version 3 used standalone `people_search`, `company_search`, and older outreach tools. The current package uses unified `search` and grouped method tools. Update the package command to version 4, restart the local process, and refresh the client's tool list. Review the current [method names](https://docs.vsyble.com/mcp/overview.md) instead of replaying old tool calls.

[CLI commands](https://docs.vsyble.com/sdk/cli.md) · [Environment variables](https://docs.vsyble.com/sdk/javascript.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.