Areev
Areev / Developers

Connect an assistant with MCP

Let a compatible AI assistant discover Areev tools, request work and read the resulting evidence.

1. Confirm the client and connection

You need an active deployment with this interface enabled, its deployment ID and its assigned gateway URL. Ask your Areev setup contact for these values. The Store URL and the control API URL are not your deployment’s gateway. A product SKU is not a deployment ID.

Server address: {gateway}/mcp/{deployment_id}. Requests use JSON-RPC over HTTP POST with a Bearer API key. Confirm that your ChatGPT, Claude or other client account supports remote MCP and this authentication method, and that your organisation allows the connection. These guides do not promise one-click setup or availability on every client plan.

The gateway implements initialize, notifications/initialized, ping, tools/list, tools/call, resources/list and resources/read. GET on this MCP address returns 405; there is no persistent GET/SSE stream. Use the protocol version negotiated by initialization. Client compatibility still needs testing.

2. Discover the allowed tools

Use your MCP client’s initialization flow, then tools/list. Tool names come from the deployment’s declared skills. Read each returned inputSchema instead of guessing a tool name from the product title or SKU. Limit the tools and shared records to the work your team has approved.

curl --fail-with-body "$AREEV_GATEWAY/mcp/$DEPLOYMENT_ID" \
  -H "Authorization: Bearer $AREEV_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

3. Request work and read its result

Send tools/call with a name returned by tools/list and arguments matching its input schema. The JSON below shows the envelope; replace TOOL_NAME and the empty arguments object with the values for your deployment.

A successful tool call returns the submitted job information, not necessarily its final output. Use resources/list and resources/read to discover and read evidence resources, or poll the job with REST. Evidence resource URIs use evidence://{deployment_id}/{job_id}. Do not assume that repeating a tool call is duplicate-safe: this MCP path does not forward a caller’s job idempotency key.

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "TOOL_NAME",
    "arguments": {}
  }
}