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

mcp

Start the MCP server in stdio mode for AI agent control.

main

Start the MCP server in stdio mode

Data

__command__

API

archivebox.cli.archivebox_mcp.__command__[source]

‘archivebox mcp’

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”:{}}

archivebox.cli.archivebox_mcp.main(**kwargs)[source]

Start the MCP server in stdio mode