abacusai.mcp_server_connection

Classes

McpServerConnection

Model Context Protocol Server Connection, as the MCP Servers page lists and edits it: the server, its sign-in kind, which

Module Contents

class abacusai.mcp_server_connection.McpServerConnection(client, mcpServerConnectionId=None, name=None, config=None, authType=None, inactive=None, tools=None, errorMsg=None, metadata=None)

Bases: abacusai.return_class.AbstractApiClass

Model Context Protocol Server Connection, as the MCP Servers page lists and edits it: the server, its sign-in kind, which

Parameters:
  • client (ApiClient) – An authenticated API Client instance

  • mcpServerConnectionId (id) – the id of the MCP server connection.

  • name (str) – The name of the MCP server.

  • config (dict) – a dictionary containing the config for the MCP server.

  • authType (str) – the auth type for the MCP server.

  • inactive (bool) – whether the MCP server is inactive.

  • tools (list) – the tools for the MCP server, each with its name, title, description and annotations.

  • errorMsg (str) – the error message for the MCP server.

  • metadata (dict) – tool_permissions, the tools the user turned off.

mcp_server_connection_id = None
name = None
config = None
auth_type = None
inactive = None
tools = None
error_msg = None
metadata = None
deprecated_keys
__repr__()
to_dict()

Get a dict representation of the parameters in this class

Returns:

The dict value representation of the class parameters

Return type:

dict