Skip to content

McpCapabilities

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970860986752["capabilities.McpCapabilities"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970860986752
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

MCP capabilities supported by the agent.

Source code in src/aclientp/schema/capabilities.py
class McpCapabilities(AnnotatedObject):
    """MCP capabilities supported by the agent."""

    http: bool | None = False
    """Agent supports [`McpServer::Http`]."""

    sse: bool | None = False
    """Agent supports [`McpServer::Sse`]."""

    acp: bool | None = False
    """**UNSTABLE**: Agent supports ``acp`` MCP servers (MCP over ACP via ``mcp/message``)."""

acp class-attribute instance-attribute

acp: bool | None = False

UNSTABLE: Agent supports acp MCP servers (MCP over ACP via mcp/message).

http class-attribute instance-attribute

http: bool | None = False

Agent supports [McpServer::Http].

sse class-attribute instance-attribute

sse: bool | None = False

Agent supports [McpServer::Sse].

:fa-brands-github: Show source on GitHub