Create connect session

Create connect session.

Arguments

  • project_referencestring · min length 1

    Project ID or slug. A missing or inaccessible project, including a denied scope-dependent project access check, returns not_found.

  • namestring · min length 1required

    Integration name, for example github or slack.

  • scopestringrequired

    Connection owner. Project scope needs the editor role; user scope connects your own account and needs viewer access to the project. API keys also need the integrations write scope. Verified user-session or API-key credentials are required; MCP OAuth grants and runtime credentials are refused. One of user, project.

  • redirect_uristring · max length 4096required

    Trusted web or native URI the browser returns to after consent.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_connect_session",    "arguments": {      "name": "string",      "scope": "user",      "redirect_uri": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"session_token\":\"string\",\"connect_url\":\"string\",\"expires_at\":\"2026-01-01T00:00:00Z\"}"      }    ],    "structuredContent": {      "session_token": "string",      "connect_url": "string",      "expires_at": "2026-01-01T00:00:00Z"    }  }}

The tool ran; its output is result.structuredContent.