export { cli } from '@phantom/cli'; /** * @phantom/mcp-server — Phantom CLI exposed as an MCP stdio server. * * This package re-exports the CLI instance from @phantom/cli and provides * a `serve` helper that starts it in `--mcp` mode. * * Usage: * # Register with your agent (e.g. Claude Code): * phantom-mcp mcp add * * # Start MCP server manually: * phantom-mcp --mcp */ /** * Start the Phantom CLI as an MCP stdio server. * Equivalent to running `phantom --mcp` from the terminal. */ declare function serve(): Promise; export { serve };