Skip to content

AcpMcpServer

Base classes

Name Children Inherits
BaseMcpServer
aclientp.schema.mcp
MCP server base class.

⋔ Inheritance diagram

graph TD
  95970858779632["mcp.AcpMcpServer"]
  95970858786304["mcp.BaseMcpServer"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970858786304 --> 95970858779632
  95970862258240 --> 95970858786304
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: BaseMcpServer

UNSTABLE: MCP server reachable over the ACP connection itself (mcp/message).

Only available when the Agent capabilities indicate mcp_capabilities.acp is true.

Source code in src/aclientp/schema/mcp.py
class AcpMcpServer(BaseMcpServer):
    """**UNSTABLE**: MCP server reachable over the ACP connection itself (``mcp/message``).

    Only available when the Agent capabilities indicate ``mcp_capabilities.acp`` is ``true``.
    """

    type: Literal["acp"] = Field(default="acp", init=False)
    """ACP transport type."""

    server_id: McpServerAcpId
    """Unique identifier for this MCP server, generated by the component providing it."""

server_id instance-attribute

server_id: McpServerAcpId

Unique identifier for this MCP server, generated by the component providing it.

type class-attribute instance-attribute

type: Literal['acp'] = Field(default='acp', init=False)

ACP transport type.

:fa-brands-github: Show source on GitHub