autessa.mcp
MCP server configuration.
autessa.mcp.serverCreateMUTATE
autessa.mcp.serverCreate({ name, serverUrl, description, authType, authConfig })Register a remote MCP server by name and serverUrl, with optional auth (authType NONE | API_KEY | BEARER_TOKEN | BASIC_AUTH | CUSTOM_HEADERS and authConfig as a JSON string).
name and serverUrl are required (blank values are rejected). authType defaults to NONE. authConfig is a JSON string whose keys depend on authType (for example {"apiKey":...,"headerName":...} or {"bearerToken":...}); it is encrypted at rest and can never be read back — responses only expose a hasAuthConfig boolean. No connectivity check happens at create time — call mcp.serverTestConnection afterwards to verify the server is reachable.
Request fields
- Name
name- Type
- string
- Description
- Name
serverUrl- Type
- string
- Description
- Name
description- Type
- string
- Description
- Name
authType- Type
- "NONE" | "API_KEY" | "BEARER_TOKEN" | "BASIC_AUTH" | "CUSTOM_HEADERS"
- Description
- Name
authConfig- Type
- string
- Description
Response fields
- Name
server- Type
- McpServerDto
- Description
autessa.mcp.serverDeleteMUTATE
autessa.mcp.serverDelete({ serverId })Permanently delete an MCP server registration (hard delete).
Irreversible hard delete of the registration and its stored (encrypted) auth config. The server must exist in your current company or the call fails with an error. Tools already promoted from this server via tools.createFromMcp are not removed by this call.
Request fields
- Name
serverId- Type
- string
- Description
Response fields
No fields.
autessa.mcp.serverGetREAD
autessa.mcp.serverGet({ serverId })Fetch one MCP server registration by id; authConfig is never returned, only a hasAuthConfig boolean.
Returns the registration if it exists in your current company; otherwise the call fails with a not-found/access-denied error. No live network call is made — this reads stored configuration only.
Request fields
- Name
serverId- Type
- string
- Description
Response fields
- Name
server- Type
- McpServerDto
- Description
autessa.mcp.serverListPromptsREAD
autessa.mcp.serverListPrompts({ serverId, pageSize, pageToken })List the prompts advertised by the remote MCP server (live synchronous network call — can be slow or fail if the server is unreachable).
Introspects a registered server over the network with its stored auth and returns its advertised prompts (name, description, argument definitions). The server must exist in your company. If the server is unreachable or errors, the call returns an errors entry rather than prompts.
Request fields
- Name
serverId- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
prompts- Type
- McpPrompt[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.mcp.serverListResourcesREAD
autessa.mcp.serverListResources({ serverId, pageSize, pageToken })List the resources advertised by the remote MCP server (live synchronous network call — can be slow or fail if the server is unreachable).
Introspects a registered server over the network with its stored auth and returns its advertised resources (uri, name, description, mimeType). The server must exist in your company. If the server is unreachable or errors, the call returns an errors entry rather than resources.
Request fields
- Name
serverId- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
resources- Type
- McpResource[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.mcp.serverListToolsREAD
autessa.mcp.serverListTools({ serverId, pageSize, pageToken })List the tool definitions advertised by the remote MCP server (live synchronous network call — can be slow or fail if the server is unreachable); use tools.createFromMcp to promote one into an Autessa Tool.
Introspects a registered server over the network with its stored auth and returns its advertised tools (name, description, JSON input schema). The server must exist in your company. If the server is unreachable or errors, the call returns an errors entry rather than tools. Promote a returned tool into a first-class Autessa Tool with tools.createFromMcp.
Request fields
- Name
serverId- Type
- string
- Description
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
tools- Type
- McpTool[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.mcp.serversListREAD
autessa.mcp.serversList({ pageSize, pageToken })List every remote MCP server registered in the current company.
Returns all server registrations scoped to your current company. Not paginated. Auth secrets are never included — each server reports only a hasAuthConfig boolean.
Request fields
- Name
pageSize- Type
- number
- Description
- Name
pageToken- Type
- string
- Description
Response fields
- Name
servers- Type
- McpServerDto[]
- Description
- Name
nextPageToken- Type
- string
- Description
autessa.mcp.serverTestConnectionMUTATE
autessa.mcp.serverTestConnection({ serverId })Connect to the remote MCP server with its stored credentials and report {connected, message, toolCount}; failures come back as connected false rather than an error.
Makes a live synchronous network call using the server's stored auth to establish a session and count its tools. A connectivity or auth failure is reported as connected=false with a message and toolCount=0 — it is not surfaced as an errors entry. An errors entry appears only when the server id is missing or not found in your company. No data is mutated; classified MUTATE/EXECUTE because it triggers an outbound side-effecting call.
Request fields
- Name
serverId- Type
- string
- Description
Response fields
- Name
connected- Type
- boolean
- Description
- Name
message- Type
- string
- Description
- Name
toolCount- Type
- number
- Description
autessa.mcp.serverUpdateMUTATE
autessa.mcp.serverUpdate({ serverId, name, serverUrl, description, authType, authConfig })Patch an MCP server's name, serverUrl, description, or auth settings; only the fields you send are changed.
Sparse update: any field left null is left untouched — this is NOT a whole-entity replace, so you need not read the server first. serverId is required and the server must exist in your current company. Sending authConfig re-encrypts and replaces the stored credentials; omit it to keep the existing auth config. Connectivity is not re-validated — verify with mcp.serverTestConnection after changing the URL or auth.
Request fields
- Name
serverId- Type
- string
- Description
- Name
name- Type
- string
- Description
- Name
serverUrl- Type
- string
- Description
- Name
description- Type
- string
- Description
- Name
authType- Type
- "NONE" | "API_KEY" | "BEARER_TOKEN" | "BASIC_AUTH" | "CUSTOM_HEADERS"
- Description
- Name
authConfig- Type
- string
- Description
Response fields
- Name
server- Type
- McpServerDto
- Description