Enterprise MCP Documentation Server
A self-hosted MCP server that provides up-to-date documentation for enterprise and development tools directly to AI coding assistants like Claude Code and Cursor.
README
Enterprise MCP Documentation Server
<div align="center">
Multi-tool documentation provider for Claude Code, Cursor, and other MCP clients
Installation • Configuration • Usage • Contributing
</div>
🚀 Overview
Enterprise MCP Documentation Server is a powerful, self-hosted Model Context Protocol (MCP) server that provides up-to-date documentation for enterprise and development tools directly to AI coding assistants like Claude Code, Cursor, and Windsurf.
Unlike traditional approaches that rely on stale training data, this server fetches and processes live documentation from official sources, ensuring your AI assistant always has accurate, current information.
Why This Project?
🔍 No More Hallucinations: Stop getting outdated API examples
🏢 Enterprise Ready: Supports internal tools like Proxmox, Nessus, TopDesk
🔒 Privacy First: Self-hosted, no data leaves your infrastructure
⚡ Smart Caching: Redis-backed performance optimization
🧩 Modular Design: Easy to extend with new tools
🎯 Context7 Compatible: Integrates with existing solutions
🛠️ Supported Tools
| Category | Tools | Status |
|---|---|---|
| Search & Analytics | Elasticsearch | ✅ Complete |
| Containerization | Docker, Docker Compose | ✅ Complete |
| Programming | Python 3.x Documentation | ✅ Complete |
| Automation | n8n Workflows | ✅ Complete |
| AI/ML | Ollama | ✅ Complete |
| Virtualization | Proxmox VE | ✅ Complete |
| Security | Nessus Professional | ✅ Complete |
| Service Management | TopDesk | ✅ Complete |
| Collaboration | Confluence | ✅ Complete |
| Version Control | Git, GitHub | 🚧 Planned |
| Infrastructure | Terraform, Ansible | 🚧 Planned |
📋 Requirements
- Python 3.9+
- Redis (for caching)
- 4GB+ RAM (for embeddings)
- Internet access (for documentation crawling)
🔧 Installation
Option 1: pip install (Recommended)
pip install enterprise-mcp-docs
Option 2: Docker
# Using docker-compose (includes Redis)
git clone https://github.com/hasecon/enterprise-mcp-docs.git
cd enterprise-mcp-docs
docker-compose up -d
Option 3: From Source
git clone https://github.com/hasecon/enterprise-mcp-docs.git
cd enterprise-mcp-docs
pip install -e .
⚙️ Configuration
1. Basic Setup
# Copy configuration template
cp config/default.json config/local.json
# Set environment variables
cp .env.example .env
2. Configure Tools
Edit config/local.json:
{
"tools": {
"elasticsearch": {
"provider": "Elasticsearch",
"base_url": "https://www.elastic.co/guide/en/elasticsearch/reference/current/",
"sections": ["getting-started", "search", "mapping", "query-dsl"],
"cache_ttl": 3600,
"enabled": true
},
"docker": {
"provider": "Docker",
"base_url": "https://docs.docker.com/",
"sections": ["get-started", "build", "compose"],
"cache_ttl": 7200,
"enabled": true
}
},
"vector_db": {
"enabled": true,
"embedding_model": "all-MiniLM-L6-v2"
},
"cache": {
"redis_url": "redis://localhost:6379",
"ttl": 3600
}
}
3. Initialize Documentation
# Crawl all enabled tools
enterprise-mcp-docs crawl --all
# Or crawl specific tools
enterprise-mcp-docs crawl --tool elasticsearch
enterprise-mcp-docs crawl --tool docker
🚦 Usage
Start the MCP Server
# Start server
enterprise-mcp-docs serve
# Or with custom config
enterprise-mcp-docs serve --config config/production.json
Claude Code Integration
Add to your Claude Code configuration:
{
"mcpServers": {
"enterprise-docs": {
"command": "python",
"args": ["-m", "enterprise_mcp_docs.server"],
"env": {}
}
}
}
Cursor Integration
Add to .cursor/mcp.json:
{
"mcpServers": {
"enterprise-docs": {
"command": "enterprise-mcp-docs",
"args": ["serve"]
}
}
}
Example Queries
Once configured, you can ask Claude Code:
How do I create an Elasticsearch mapping for user data?
Show me Docker Compose syntax for a web application with Redis.
What are the best practices for n8n workflow error handling?
How do I configure Proxmox clustering with shared storage?
🔌 Adding New Providers
- Create Provider Class
# src/enterprise_mcp_docs/providers/mytool.py
from .base import BaseProvider
class MyToolProvider(BaseProvider):
async def crawl_docs(self):
# Implement crawling logic
docs = []
# ... fetch and process docs
await self.add_to_vector_db(docs)
return docs
- Add Configuration
{
"tools": {
"mytool": {
"provider": "MyTool",
"base_url": "https://mytool.com/docs/",
"sections": ["api", "guides"],
"cache_ttl": 3600,
"enabled": true
}
}
}
- Test and Submit PR!
🧪 Development
Setup Development Environment
git clone https://github.com/hasecon/enterprise-mcp-docs.git
cd enterprise-mcp-docs
# Install development dependencies
pip install -e ".[dev]"
# Install pre-commit hooks
pre-commit install
Running Tests
# Run all tests
pytest
# Run with coverage
pytest --cov=enterprise_mcp_docs
# Run specific test types
pytest -m unit
pytest -m integration
Code Quality
# Format code
black src/ tests/
isort src/ tests/
# Type checking
mypy src/
# Linting
flake8 src/ tests/
🐳 Docker Deployment
Development
docker-compose -f docker-compose.dev.yml up
Production
docker-compose -f docker-compose.prod.yml up -d
📊 Monitoring
The server exposes metrics on /metrics endpoint:
- Documentation fetch success/failure rates
- Cache hit ratios
- Search query performance
- Vector similarity scores
🤝 Contributing
We love contributions! Here's how to help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
See CONTRIBUTING.md for detailed guidelines.
Contributors
- Hasecon - Initial work
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
- Context7 for inspiration on documentation processing
- MCP Team for the protocol
- Upstash for Redis expertise
- All contributors and community members
📞 Support
- 📖 Documentation
- 🐛 Issues
- 💬 Discussions
<div align="center">
⭐ Star this project if you find it useful!
Made with ❤️ for the developer community
</div>
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。