Skip to content

API Reference parrot.mcp._quic

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.mcp._quic

View source

Lazy loader for the optional QUIC/WebTransport MCP transport.

The QUIC transport is built on aioquic, which ships in the ai-parrot-server[mcp] extra rather than as a core dependency. Importing :mod:parrot.mcp.transports.quic therefore fails on a bare install — and because that module used to be imported at the top of the MCP server and client modules, a missing aioquic broke every transport (stdio, http, sse, unix, websocket) and not just QUIC.

Every consumer now resolves QUIC symbols through this module, so the MCP layer imports cleanly without aioquic and only selecting the "quic" transport raises — with an actionable install hint.

Attribute QUIC_INSTALL_HINT

Function load_quic

Import the QUIC transport module on demand.

load_quic() -> ModuleType

Returns: ModuleType — The :mod:parrot.mcp.transports.quic module.

Raises:

  • ImportError — If aioquic (or the ai-parrot-server package that provides the transport module) is not installed. The message carries the install hint.

Function quic_attr

Resolve one public symbol from the QUIC transport module.

quic_attr(name: str) -> Any

Parameter Type Default Description
name str Attribute name to read, e.g. "QuicMCPServer".

Returns: Any — The requested attribute.

Raises:

  • ImportError — If the QUIC transport is not installed.
  • AttributeError — If the transport module has no such attribute.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally