mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-06-21 19:10:45 -04:00
18 lines
434 B
Python
18 lines
434 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Tests for archivebox mcp command.
|
|
|
|
TODO: expand beyond command discovery into JSON-RPC stdio behavior.
|
|
"""
|
|
|
|
from archivebox.tests.conftest import run_archivebox_cmd
|
|
|
|
|
|
def test_mcp_help_runs_successfully(tmp_path):
|
|
"""The mcp command should be registered and expose help."""
|
|
|
|
result = run_archivebox_cmd(["mcp", "--help"])
|
|
|
|
assert result.returncode == 0
|
|
assert "mcp" in result.stdout.lower()
|