archivebox.cli.archivebox_mcp
archivebox mcp
Start the Model Context Protocol (MCP) server in stdio mode. Exposes all ArchiveBox CLI commands as MCP tools for AI agents.
Module Contents
Functions
Start the MCP server in stdio mode for AI agent control. |
|
Start the MCP server in stdio mode |
Data
API
- archivebox.cli.archivebox_mcp.mcp()[source]
Start the MCP server in stdio mode for AI agent control.
The MCP (Model Context Protocol) server exposes all ArchiveBox CLI commands as tools that AI agents can discover and execute. It communicates via JSON-RPC 2.0 over stdin/stdout.
Example usage with an MCP client: archivebox mcp < requests.jsonl > responses.jsonl
Or interactively: archivebox mcp {“jsonrpc”:”2.0”,”id”:1,”method”:”initialize”,”params”:{}} {“jsonrpc”:”2.0”,”id”:2,”method”:”tools/list”,”params”:{}}