veryfront__create_connect_session
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug. A missing or inaccessible project, including a denied scope-dependent project access check, returns not_found. Minimum length: 1. |
name | string | Yes | Integration name, for example github or slack. Minimum length: 1. |
scope | string | Yes | 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. Values: "user", "project". |
redirect_uri | string | Yes | Trusted web or native URI the browser returns to after consent. Maximum length: 4096. |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_connect_session",7 "arguments": {8 "name": "github",9 "scope": "user",10 "redirect_uri": "veryfront://auth/integrations"11 }12 }13}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
session_token | string | Yes | One-time connect session token, embedded in connect_url. |
connect_url | string | Yes | URL to open in a browser. It starts provider consent through GET /oauth/connect/{integration}. |
expires_at | string | Yes | UTC time (RFC 3339) after which connect_url no longer starts consent. Format: date-time. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "minLength": 1,7 "description": "Project ID or slug. A missing or inaccessible project, including a denied scope-dependent project access check, returns not_found."8 },9 "name": {10 "type": "string",11 "minLength": 1,12 "description": "Integration name, for example github or slack."13 },14 "scope": {15 "type": "string",16 "enum": [17 "user",18 "project"19 ],20 "description": "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."21 },22 "redirect_uri": {23 "type": "string",24 "maxLength": 4096,25 "description": "Trusted web or native URI the browser returns to after consent."26 }27 },28 "required": [29 "name",30 "scope",31 "redirect_uri"32 ],33 "additionalProperties": false,34 "description": "Arguments for the create_connect_session tool.",35 "$schema": "http://json-schema.org/draft-07/schema#"36}output-schema.json
1{2 "type": "object",3 "properties": {4 "session_token": {5 "type": "string",6 "description": "One-time connect session token, embedded in connect_url."7 },8 "connect_url": {9 "type": "string",10 "description": "URL to open in a browser. It starts provider consent through GET /oauth/connect/{integration}."11 },12 "expires_at": {13 "type": "string",14 "format": "date-time",15 "description": "UTC time (RFC 3339) after which connect_url no longer starts consent."16 }17 },18 "required": [19 "session_token",20 "connect_url",21 "expires_at"22 ],23 "additionalProperties": false,24 "description": "Structured result returned by the create_connect_session tool.",25 "$schema": "http://json-schema.org/draft-07/schema#"26}