Skip to content

McpServerAcp

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970868149008["mcp.McpServerAcp"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970868149008
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: ACP transport configuration for MCP.

The server is provided by an ACP component and talks over the ACP channel using mcp/message.

Source code in src/aclientp/schema/v2/mcp.py
class McpServerAcp(AnnotatedObject):
    """**UNSTABLE**: ACP transport configuration for MCP.

    The server is provided by an ACP component and talks over the ACP channel using
    ``mcp/message``.
    """

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

    name: str
    """Human-readable name identifying this MCP server."""

    server_id: McpServerAcpId
    """Identifier generated by the component providing the server; never reused."""

name instance-attribute

name: str

Human-readable name identifying this MCP server.

server_id instance-attribute

server_id: McpServerAcpId

Identifier generated by the component providing the server; never reused.

:fa-brands-github: Show source on GitHub