How to connect an AI agent to an MCP server that finds B2B prospects
What MCP server can an agent call to find B2B prospects?
Prosp (prosp.cc) runs an MCP server that gives an AI agent tools to search for companies matching criteria and read the contacts found. The agent connects over Streamable HTTP at:
https://api.prosp.cc/mcp-rpc
Do not add a trailing slash; /mcp-rpc/ answers with a redirect.
- Agent registers with the MCP serverOAuth 2.1 authorization code with PKCE
- User signs inTelegram or e-mailed one-time code; no keys to paste
- Agent calls find_prospectsNatural-language criteria; returns jobId immediately
- Agent polls get_discovery_statusFree; pass cursor to get only new domains
- Agent calls get_discovery_resultsCompanies and contacts, once the search is terminal
How does the agent sign in to the MCP server?
The MCP connection uses OAuth 2.1 authorization code with PKCE. The agent registers itself with the server, then opens a sign-in window where the user chooses Continue with Telegram or signs in with an e-mailed one-time code. There are no API keys to paste.
This sign-in covers the MCP connection only. If your agent also calls the REST API directly, that needs its own token — see the REST page on this site.
Which MCP tools does the agent get for prospect discovery?
The discovery group gives the agent everything it needs to start a search, follow it, and read results:
- find_prospects — start a search from a natural-language query (plus optional industries, locations, company sizes, keywords, exclusions, sub-country regions, business models). Returns a
jobIdimmediately. - get_discovery_status — poll a search: lifecycle state, total prospects so far, target, and the domains found so far. Pass the previous
next_cursorascursorto receive only new domains. - get_discovery_results — once the search is terminal, read the result summary and the discovered companies with their contacts.
- get_discovery_export — a download link for the finished companies as an Excel workbook.
- cancel_discovery — cancel a running search. Credits are refunded only when nothing had been delivered at cancel time.
A search costs 100 credits. Polling, reading results, exporting, and cancelling are free.
What other MCP tool groups are available?
Beyond discovery, the server exposes tools in these groups:
- Saved ICPs —
list_icps,save_icp,run_icp. Save reusable criteria once, then start a search from a savedicpId(100 credits per run). - Credits —
get_credit_balance,get_credit_ledger. - Smart Messaging —
set_seller_profile,generate_message,get_message_generation,cancel_message_generation. Write a grounded e-mail for a company by domain (10 credits, research included). - Odoo CRM —
set_odoo_credentials,get_crm_connection,disconnect_crm. Sync discovered prospects into your own Odoo instance. - Circular-economy opportunities —
list_circular_opportunities,run_circular_opportunity. - Prospect reading —
search_prospects(semantic search over already-discovered companies),get_prospect(full record by domain),acknowledge_prospects(mark domains delivered so they are not returned again).
Questions
Is the MCP sign-in the same as the REST sign-in?
No. The MCP sign-in window (Telegram or one-time code) covers the MCP connection only. The REST API uses a separate OAuth 2.0 client-credentials grant with a Client ID and Secret from the Telegram bot.
Can the agent use MCP tools without a REST token?
Yes. The MCP tools authenticate through the OAuth 2.1 PKCE flow the agent completes at sign-in. No API key is pasted or stored.