abacusai.mcp_server_connection_with_oauth_config

Classes

McpServerConnectionWithOauthConfig

McpServerConnection plus metadata.oauth_config, for getUserMcpConnection alone: the agent reads oauth_config.url there to

Module Contents

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

Bases: abacusai.return_class.AbstractApiClass

McpServerConnection plus metadata.oauth_config, for getUserMcpConnection alone: the agent reads oauth_config.url there to

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, and oauth_config, the connection’s OAuth setup.

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