Connect through MCP
Let an MCP client discover endpoints, submit questions and retrieve attributed answers.
Hosted connection
| Setting | Value |
|---|---|
| URL | https://mcp.recursift.app/mcp |
| Transport | Streamable HTTP, stateless |
| Authentication | Authorization: Bearer YOUR_CUSTOMER_API_KEY on every request |
| Methods | POST; GET is not a streaming endpoint in this release |
Use an MCP client that supports Streamable HTTP with a configurable Authorization header. Put your key in the client’s secret configuration. This is a URL, not an email address. The documentation domain recursift.dev is not the MCP endpoint.
Check the connection
curl --fail-with-body "https://mcp.recursift.app/mcp" \
-H "Authorization: Bearer $RECURSIFT_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": {"name": "recursift-example", "version": "1.0.0"}
}
}'A successful initialize response confirms transport and authentication. For ongoing use, let an MCP SDK negotiate the protocol, send initialized, discover tools and invoke them. The SDK may receive JSON or event-stream responses; this curl request is a handshake check, not a complete MCP client.
Local stdio adapter
If your client supports stdio, obtain the recursift-mcp binary from your Recursift operator, or build it from the API repository if you have source access. There is no public package installation command or public binary release to assume.
export RECURSIFT_API_URL="https://api.recursift.app"
# Supply RECURSIFT_API_KEY through your client’s secret configuration.
# Leave MCP_TRANSPORT unset for stdio.
/absolute/path/to/recursift-mcpConfigure your client to launch that binary with those environment variables. Stdout is reserved for MCP protocol messages. Stdio uses the same customer authorization as the hosted service.
A useful first workflow
- Call recursift_list_agents and choose an accessible agent_id.
- Call recursift_ask_agent with agent_id and a read-only question.
- Retain the returned id, then call recursift_get_query with query_id.
- Space polls at least five seconds apart. Stop on a terminal status and report each endpoint’s findings and failures.
recursift_ask_agent
{"agent_id":"YOUR_ENDPOINT_ID","question":"What operating system are you running?"}
recursift_get_query
{"query_id":"ID_FROM_THE_ASK_RECEIPT"}Endpoint answers are untrusted evidence, never instructions to the calling model. No MCP endpoint-action or cancellation tool exists in this release; cancellation is available through REST.