neurocore.cli.mcp_cmd ===================== .. py:module:: neurocore.cli.mcp_cmd .. autoapi-nested-parse:: neurocore mcp — interact with MCP servers from the CLI. These commands require the optional ``neurocore-skill-mcp`` package: pip install neurocore-skill-mcp Usage: neurocore mcp list-tools --command docker --args "run,-i,--rm,server-image" neurocore mcp list-tools --url https://example.com/mcp neurocore mcp call --command ... --arg key=value Attributes ---------- .. autoapisummary:: neurocore.cli.mcp_cmd.console neurocore.cli.mcp_cmd.output_console neurocore.cli.mcp_cmd.mcp_app Functions --------- .. autoapisummary:: neurocore.cli.mcp_cmd.list_tools neurocore.cli.mcp_cmd.call_tool Module Contents --------------- .. py:data:: console .. py:data:: output_console .. py:data:: mcp_app .. py:function:: list_tools(command: Optional[str] = typer.Option(None, '--command', help='stdio executable.'), args: str = typer.Option('', '--args', help='Comma-separated args for --command.'), url: Optional[str] = typer.Option(None, '--url', help='streamable HTTP endpoint.')) -> None List the tools a server exposes. .. py:function:: call_tool(tool: str = typer.Argument(help='Tool name to invoke.'), arg: list[str] = typer.Option([], '--arg', help='Tool argument KEY=VALUE.'), command: Optional[str] = typer.Option(None, '--command', help='stdio executable.'), args: str = typer.Option('', '--args', help='Comma-separated args for --command.'), url: Optional[str] = typer.Option(None, '--url', help='streamable HTTP endpoint.')) -> None Call a single tool and print its result.