Skip to content

REALIZE mcp backend via py2mcp (realize.py) #10

Description

@thorwhalen

COACT_SPEC §6.1.3. Foreign-host / interop.

realize(agent_def, backend='mcp') -> FastMCP handle: resolve the skill's declared Python tools (coact: mcp:module:function) and expose them via py2mcp.mk_mcp_server / mk_mcp_from_store. coact writes no MCP plumbing.

Ecosystem enhancement (separate py2mcp PR): add mk_mcp_from_refs(['module:function', ...]) + public import_object so this backend is a one-call delegation. Guard FastMCP/py2mcp as optional deps with an informative error. DoD: realize(..., backend='mcp') returns a runnable server from a skill's declared tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions