Add an MCP server for the person, from the catalog or by URL.
const url = 'https://app.everruns.com/api/v1/virtual-users/example/mcp-servers';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"api_key":"example","auth_mode":"none","catalog":"linear","description":"example","enabled":true,"headers":"example","name":"my-notes","url":"https://mcp.example.com/mcp"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://app.everruns.com/api/v1/virtual-users/example/mcp-servers \ --header 'Content-Type: application/json' \ --data '{ "api_key": "example", "auth_mode": "none", "catalog": "linear", "description": "example", "enabled": true, "headers": "example", "name": "my-notes", "url": "https://mcp.example.com/mcp" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”me or a virtual user id
Request Bodyrequired
Section titled “Request Bodyrequired”Add a user MCP server. Give catalog to add a catalog preset, or name
and url to add a custom server.
object
API key for a custom api_key server. Never returned.
Catalog preset name to add.
Example
linearDefaults to true.
Literal headers for a custom server. Never returned.
Name for a custom server; also the tool prefix agents see.
Example
my-notesHTTPS endpoint of a custom server.
Example
https://mcp.example.com/mcpResponses
Section titled “ Responses ”Created
An MCP server a person added for themselves.
object
MCP server authentication mode.
Catalog preset name, for servers added from the catalog.
Sign-in state of a user MCP server.
object
Connection provider to pass to the authorize endpoint
(/v1/virtual-users/{id}/connections/{provider}/authorize) when the
server signs in with OAuth.
Whether the person has signed in to a user MCP server.
Disabled servers are kept but never offered to agents.
Names of the literal headers sent with each request. Values are write-only.
Where a user MCP server came from.
Example
{ "auth_mode": "none", "connection": { "status": "connected" }, "id": "mcp_01933b5a00007000800000000000001", "source": "catalog"}Invalid request
Authentication required
Permission denied
Name already used