Codevisor Docs
Api reference

POST Mcps Id Connect

POST/v1/mcps/{id}/connect

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/mcps/string/connect"
{  "id": "string",  "name": "string",  "kind": "managed",  "canEdit": true,  "canRemove": true,  "transport": "http",  "url": "string",  "command": "string",  "args": [    "string"  ],  "headerNames": [    "string"  ],  "environmentNames": [    "string"  ],  "enabled": true,  "authType": "none",  "oauthScope": "string",  "connectionState": "disconnected",  "toolCount": 0,  "detail": "string",  "catalogId": "string",  "catalogVersion": "string",  "capabilities": {    "tools": [      {        "name": "string",        "description": "string",        "effects": "read",        "app": true      }    ],    "events": [      {        "name": "string",        "description": "string"      }    ],    "skills": [      {        "name": "string",        "description": "string"      }    ],    "panes": [      {        "type": "string",        "title": "string",        "resourceUri": "string"      }    ],    "ingress": [      {        "name": "string",        "title": "string",        "route": "string"      }    ]  },  "ageRating": 4,  "createdAt": "string",  "updatedAt": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}
{  "error": "string"}