Skip to content

API Reference parrot.mcp.cli

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

parrot.mcp.cli

View source

Alias MCPServer

Re-exported from parrot.mcp.server.MCPServer.

Alias MCPServerConfig

Re-exported from parrot.mcp.server.MCPServerConfig.

Alias ParrotMCPServer

Re-exported from parrot.mcp.parrot_server.ParrotMCPServer.

Alias TransportConfig

Re-exported from parrot.mcp.parrot_server.TransportConfig.

Function mcp

MCP server commands.

mcp(ctx, config)

Parameter Type Default Description
ctx
config

Function obscura_group

Supervised Obscura process lifecycle commands (FEAT-530).

obscura_group()

Function obscura_mcp_config

Print the native obscura mcp stdio config (for Codex/MCP hosts).

This is the documented command/config path for native Obscura MCP: paste the printed command/args into any MCP host's stdio server configuration (Codex, Claude Code, etc.), or use parrot.mcp.integration.create_obscura_mcp_server() / MCPEnabledMixin.add_obscura_mcp_server() directly from Python.

obscura_mcp_config(binary_path, name, port, stealth, allow_private_network)

Parameter Type Default Description
binary_path
name
port
stealth
allow_private_network

Function obscura_start

Start (or adopt) the supervised Obscura process.

obscura_start(binary_path, host, port, stealth, allow_private_network, attach_only, startup_timeout)

Parameter Type Default Description
binary_path
host
port
stealth
allow_private_network
attach_only
startup_timeout

Function obscura_status

Report whether a supervised Obscura CDP endpoint is responsive.

obscura_status(host, port)

Parameter Type Default Description
host
port

Function obscura_stop

Stop a previously started supervised Obscura process.

obscura_stop(port)

Parameter Type Default Description
port

Function serve

Start an MCP server from a Python config file or YAML.

Examples:

# Python config file
parrot mcp serve workday_server.py --transport unix --socket /tmp/workday.sock

# YAML config file
parrot mcp serve mcp_config.yaml

Python config file should define 'mcp' variable:

# workday_server.py
from parrot.services import ParrotMCPServer
from parrot.toolkits.workday import WorkdayToolkit

mcp = ParrotMCPServer(
    name="workday-mcp",
    tools=WorkdayToolkit(redis_url="redis://localhost:6379/4")
)

serve(config_file: str, transport: Optional[str], socket: Optional[str], port: Optional[int], log_level: str)

Parameter Type Default Description
config_file str
transport Optional[str]
socket Optional[str]
port Optional[int]
log_level str

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