Knowledge Base Management¶
Guide to managing the Nautobot MCP Server knowledge base.
Overview¶
The knowledge base indexes documentation and code from GitHub repositories, enabling semantic search over Nautobot-related content.
Repository Configuration¶
Official Repositories¶
Managed in config/repositories.json:
{
"repositories": [
{
"name": "nautobot/nautobot",
"description": "Core Nautobot application",
"priority": 1,
"enabled": true,
"branch": "develop",
"file_patterns": [".py", ".md", ".rst", ".txt", ".yaml", ".yml"]
}
]
}
User Repositories¶
Add custom repositories via MCP tools or config/user_repositories.json.
Managing Repositories¶
List Repositories¶
Add Repository¶
Remove Repository¶
Update Repositories¶
Search Strategies¶
Basic Search¶
Returns relevant documentation and code.
Optimized Search¶
For better LLM consumption:
Indexed Content¶
- Python Code (
.py) - Markdown Docs (
.md) - reStructuredText (
.rst) - Text Files (
.txt) - Configuration (
.yaml,.yml,.json)
Best Practices¶
- Add Relevant Repos - Only add repositories related to your work
- Update Regularly - Keep content fresh with periodic updates
- Monitor Size - Large repos take time and space
- Use Descriptions - Help identify repositories later
Troubleshooting¶
See the Troubleshooting Guide for common issues.