ServersOperations
The servers.* operations.
Methods
Section titled “Methods”list()
Section titled “list()”list(owner, options?): Promise<Server[]>;List the MCP servers an owner's agents reach.
The MCP servers the owner keeps. The deployment's include those it starts with.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Server[]>
add( owner, input, options?): Promise<ServerAdded>;Add an MCP server for an owner's agents.
Adds an MCP server for the owner. It starts on every node, and its tools reach the agents your resolver gives it to from their next turn; an agent using another owner's is checked as mcp_server.use. The URL must pass the deployment's egress check.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
input |
ServerInput |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<ServerAdded>
remove()
Section titled “remove()”remove( owner, name, options?): Promise<Server>;Remove an MCP server.
One of the owner's own. It stops on every node, its tools leave its agents from their next turn, and the sign-ins to it are forgotten.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
owner |
string |
name |
string |
options? |
CallOptions |
Returns
Section titled “Returns”Promise<Server>