Files
vacuum-wall/DOCS-MCP-SERVER.md
mteehan 65741644a3 Fix dashboard template bugs, acme date parsing, wireguard sudoers match, and stale docs
- dashboard.html: Fix zones, leases, wg_status, cert key names, add services var
- server.py: Pass services to dashboard template via _get_service_status()
- lib/acme.py: Fix dead third date format (%Y%m%d%H%M%z) using astimezone(UTC)
- lib/wireguard.py: Add -- separator to cp command to match sudoers rule
- lib/nginx.py: Replace shallow dict.copy() with {**...} for DEFAULT_SSL
- AGENTS.md: Update test count 149 -> 154
- docs/api.md: Rename cert field expiry -> expires_at
2026-05-08 19:11:54 +00:00

16 lines
1.5 KiB
Markdown

# Documentation MCP Server Rules
## Context
This project uses the `docs-mcp-server` to provide grounded, real-time access to technical documentation. These rules ensure the AI prioritizes this live data over internal training knowledge.
## Rules for Documentation Retrieval
1. **Mandatory Documentation Check**: Before answering any question regarding API signatures, library configurations, or framework versions, you MUST use the `docs-mcp-server` tools (e.g., `search_docs` or `ask_question`).
2. **Preference for Retrived Content**: If the information retrieved from the MCP server contradicts your internal training data, the MCP data is the "source of truth." You must follow it strictly.
3. **No Hallucinations**: If the MCP server returns no results for a specific query, do not guess. State "No official documentation found via MCP" and ask the user if they would like you to proceed based on general knowledge or if they have a local file to reference.
4. **Citation Requirement**: When providing an answer based on MCP data, include a brief mention that the information was retrieved from the live documentation server.
## Operational Workflow
- **Search First**: Start by searching for broad keywords related to the user's request.
- **Drill Down**: If multiple results are found, use specific queries to narrow down the relevant documentation sections.
- **Verify Config**: Use the server to check for `opencode.json` schema requirements or tool-specific parameters before suggesting configuration changes.