Rename, enable, disable or replace the API key of one of the person's MCP servers.
const url = 'https://app.everruns.com/api/v1/virtual-users/example/mcp-servers/example';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"api_key":"example","description":"example","enabled":true,"name":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://app.everruns.com/api/v1/virtual-users/example/mcp-servers/example \ --header 'Content-Type: application/json' \ --data '{ "api_key": "example", "description": "example", "enabled": true, "name": "example" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”me or a virtual user id
Request Bodyrequired
Section titled “Request Bodyrequired”Change a user MCP server. The URL cannot change; remove and re-add the server instead.
object
Replace the API key of an api_key server.
Examplegenerated
{ "api_key": "example", "description": "example", "enabled": true, "name": "example"}Responses
Section titled “ Responses ”Success
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
Not found
Name already used