Knowledge Server
Provides LLM-agnostic access to API documentation through MCP and REST endpoints, enabling AI assistants to retrieve, search, and proxy requests to whitelisted APIs across multiple platforms.
README
Knowledge Server (FastMCP)
LLM-agnostic API knowledge server with MCP and REST endpoints.
Deploy
Dokploy:
- Add service pointing to this repo
- Set domain to
mcp.soleenterprises.com - Add environment variable:
KNOWLEDGE_DIR=/knowledge/apis - Mount volume:
./knowledge:/knowledge:ro - Deploy
Local Development
# Install dependencies
uv sync
# Run with uv
uv run uvicorn app:app --reload --host 0.0.0.0 --port 8080
# Or with Docker
docker compose up --build
# Run tests
./test.sh
# Or test production:
./test.sh https://mcp.soleenterprises.com
Client Configs
Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"knowledge": {
"url": "https://mcp.soleenterprises.com/mcp"
}
}
}
Claude Code (~/.claude/mcp_servers.json):
{
"knowledge": {
"url": "https://mcp.soleenterprises.com/mcp"
}
}
Endpoints
/mcp- MCP endpoint (for Claude Desktop/Code)/api/docs- List all APIs/api/docs/{api}/{entity}- Get specific documentation/search?q=query- Search across docs/proxy- POST to execute HTTP requests/ui- Web interface for iOS/browser/health- Health check/docs- FastAPI auto-generated docs (Swagger UI)
Knowledge Structure
knowledge/
└── apis/
├── stockx_api/
│ ├── catalog.md
│ ├── listings.md
│ └── orders.md
├── se_api_v2/
│ └── ...
└── alias_api/
└── ...
MCP Tools
When connected via MCP (Claude Desktop/Code), these tools are available:
get_docs(api, entity)- Get specific API documentationlist_apis()- List all available APIs and entitiessearch_docs(query)- Search across all documentationproxy_request(method, url, body?, headers?)- Execute HTTP requests (whitelisted hosts only)
Usage by Platform
| Platform | Method |
|---|---|
| Claude Desktop | Native MCP via /mcp |
| Claude Code | Native MCP via /mcp |
| Claude iOS/Browser | Open /ui, copy docs, paste to Claude |
| GPT-4 Custom GPT | Import /openapi.json as actions |
| Gemini | System prompt with REST endpoint descriptions |
| Any LLM | Describe REST API in prompt, user pastes results |
Example Usage
With Claude Code (MCP connected):
User: Show me the StockX catalog API docs
Claude: [Uses get_docs("stockx_api", "catalog") tool automatically]
With Claude iOS (REST):
1. Open mcp.soleenterprises.com/ui
2. Click /api/docs/stockx_api/catalog
3. Copy the content
4. Paste into Claude iOS chat
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.