neurocore.cli.mcp_cmd¶
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 <tool> –command … –arg key=value
Attributes¶
Functions¶
|
List the tools a server exposes. |
|
Call a single tool and print its result. |
Module Contents¶
- neurocore.cli.mcp_cmd.console¶
- neurocore.cli.mcp_cmd.output_console¶
- neurocore.cli.mcp_cmd.mcp_app¶
- neurocore.cli.mcp_cmd.list_tools(command: str | None = typer.Option(None, '--command', help='stdio executable.'), args: str = typer.Option('', '--args', help='Comma-separated args for --command.'), url: str | None = typer.Option(None, '--url', help='streamable HTTP endpoint.')) None[source]¶
List the tools a server exposes.
- neurocore.cli.mcp_cmd.call_tool(tool: str = typer.Argument(help='Tool name to invoke.'), arg: list[str] = typer.Option([], '--arg', help='Tool argument KEY=VALUE.'), command: str | None = typer.Option(None, '--command', help='stdio executable.'), args: str = typer.Option('', '--args', help='Comma-separated args for --command.'), url: str | None = typer.Option(None, '--url', help='streamable HTTP endpoint.')) None[source]¶
Call a single tool and print its result.