Debian Policy Manual MCP server for AI agents
debot is a Model Context Protocol (MCP) server that exposes the Debian Policy
Manual as MCP resources, with two tools:
- search_policy — multi-word keyword search over the whole policy manual;
a query need not match every word, but lines matching more of the query's
words rank first, returned as file:line: text matches
- upgrade_checklist — emits the policy upgrade checklist sections from a
given standards version (the Standards-Version your package was last
checked against) until the latest
The policy manual is embedded at build time from the git submodule in
policy/, so the server needs no network access at runtime.
Configuration
Run debot setup to see the supported AI tools, or debot setup <tool>
(e.g. debot setup opencode) to print ready-to-use MCP configuration and
setup instructions for that tool.