Authentication
The MCP server supports multiple authentication methods depending on how you connect.
Local mode (stdio)
All requests to the Prospeo API are authenticated with your API key, passed as the X-KEY HTTP header. The MCP server handles this automatically — you only need to provide the key as an environment variable.
Setup
- Get your API key — Log in to app.prospeo.io → API Management and generate or copy your key.
- Set
PROSPEO_API_KEY— Pass the key as an environment variable when registering the MCP server (see Quick Start). - Key is validated at startup — The server fails immediately with a clear message if
PROSPEO_API_KEYis missing or empty.
Never commit your API key to source control. Use environment variable injection via your MCP client’s config — not hardcoded strings.
Hosted mode (mcp.prospeo.io)
The hosted server at https://mcp.prospeo.io works with any MCP-compatible client and supports three authentication methods:
OAuth 2.0 (automatic)
Clients that support OAuth (like Claude.ai and Claude Desktop) handle this flow automatically:
- Client redirects you to Prospeo’s authorization page
- You approve access to your account
- You’re connected — the client handles the rest
OAuth 2.0 (manual client credentials)
For MCP clients that don’t have built-in OAuth support, you can create OAuth credentials manually:
- Go to app.prospeo.io → Integration → MCP
- Click Manage OAuth Clients → Create OAuth Client
- Copy the Client ID and Client Secret (shown once)
- Configure your MCP client with these credentials to authenticate against
https://mcp.prospeo.io
This is useful for custom integrations, self-built MCP clients, or tools that require manual OAuth configuration.
API Key header
For the simplest direct access, pass your API key in the X-KEY header:
X-KEY: your_api_key_hereThis works with any HTTP-based MCP client that supports custom headers.