MCP server providing search access to Cortex Cloud documentation
Project description
Cortex Cloud Docs MCP Server
A Model Context Protocol (MCP) server that provides search access to Cortex Cloud documentation. This server allows Claude and other MCP-compatible clients to search through Cortex Cloud's official documentation and API references.
Features
- Search across Cortex Cloud documentation
- Search Cortex Cloud API documentation
- Caching system for improved performance
- Real-time indexing of documentation sites
Installation
Option 1: From PyPI (Recommended)
No installation needed! Just use uvx in your Claude Desktop configuration.
Installing via Smithery
To install cortex-cloud-docs-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @clarkemn/cortex-cloud-docs-mcp-server --client claude
Option 2: Development Installation
Prerequisites
- Python 3.12 or higher
- uv package manager
Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
Clone and Setup
git clone https://github.com/clarkemn/cortex-cloud-docs-mcp-server.git
cd cortex-cloud-docs-mcp-server
uv sync
Usage
With Claude Desktop
Add this server to your Claude Desktop configuration file:
Location: ~/Library/Application Support/Claude/claude_desktop_config.json (macOS)
Option 1: Direct from PyPI (Recommended)
{
"mcpServers": {
"Cortex Cloud Docs": {
"command": "uvx",
"args": ["cortex-cloud-docs-mcp-server@latest"],
"env": {},
"transport": "stdio"
}
}
}
Option 2: Local Development
{
"mcpServers": {
"Cortex Cloud Docs": {
"command": "uv",
"args": ["run", "python", "server.py"],
"cwd": "/path/to/cortex-cloud-docs-mcp-server",
"env": {},
"transport": "stdio"
}
}
}
Replace /path/to/cortex-cloud-docs-mcp-server with the actual path to where you cloned this repository.
Manual Testing
You can test the server manually:
echo '{"jsonrpc": "2.0", "id": 1, "method": "initialize", "params": {"protocolVersion": "2024-11-05", "capabilities": {}, "clientInfo": {"name": "test", "version": "1.0"}}}' | uv run python server.py
Available Tools
The server provides these MCP tools:
index_cortex_docs(max_pages: int = 50)- Index Cortex Cloud documentation (call this first)index_cortex_api_docs(max_pages: int = 50)- Index Cortex Cloud API documentationsearch_cortex_docs(query: str)- Search Cortex Cloud documentationsearch_cortex_api_docs(query: str)- Search Cortex Cloud API documentationsearch_all_docs(query: str)- Search across all indexed documentationget_index_status()- Check indexing status and cache statistics
Development
Running the server
uv run python server.py
Installing dependencies
uv sync
Project structure
cortex-cloud-docs-mcp-server/
├── server.py # Main MCP server implementation
├── pyproject.toml # Project configuration
├── uv.lock # Dependency lock file
└── README.md # This file
License
MIT License - see LICENSE file for details.
Contributing
- Fork the repository
- Create a feature branch
- Make your changes
- Test with Claude Desktop
- Submit a pull request
Troubleshooting
Server not starting in Claude Desktop
- Ensure
uvis installed and in your PATH - Verify the path to the project directory is correct
- Check Claude Desktop logs for specific error messages
Missing dependencies
Run uv sync to ensure all dependencies are installed.
Documentation not found
The server needs to index documentation first. Use the index_cortex_docs or index_cortex_api_docs tools before searching.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cortex_cloud_docs_mcp_server-1.1.0.tar.gz.
File metadata
- Download URL: cortex_cloud_docs_mcp_server-1.1.0.tar.gz
- Upload date:
- Size: 61.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d7a901e3e1a3445255a02d8abc8a5cb84c0f03f2f34f9e68284cc46c1554878
|
|
| MD5 |
b6f4727d067ae13007eb7860d21d38ca
|
|
| BLAKE2b-256 |
9e34cbaaed1b48e14ed39fe2768bc8ea2c941c6fe5a103120b3b309b2e4a9b1a
|
Provenance
The following attestation bundles were made for cortex_cloud_docs_mcp_server-1.1.0.tar.gz:
Publisher:
release.yml on clarkemn/cortex-cloud-docs-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortex_cloud_docs_mcp_server-1.1.0.tar.gz -
Subject digest:
7d7a901e3e1a3445255a02d8abc8a5cb84c0f03f2f34f9e68284cc46c1554878 - Sigstore transparency entry: 436687821
- Sigstore integration time:
-
Permalink:
clarkemn/cortex-cloud-docs-mcp-server@ed88ad5fc536205e3d25e9744b0a66ac09f1c595 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clarkemn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ed88ad5fc536205e3d25e9744b0a66ac09f1c595 -
Trigger Event:
push
-
Statement type:
File details
Details for the file cortex_cloud_docs_mcp_server-1.1.0-py3-none-any.whl.
File metadata
- Download URL: cortex_cloud_docs_mcp_server-1.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48e55da74b660251f0de5bf4320316c00703961896d9c6cb65e10c4d2960a5ba
|
|
| MD5 |
cefc2edbc4ebfe15c190d369fba8a91b
|
|
| BLAKE2b-256 |
2918f9020814e84f3f5e73e9e2191fcc39ac246d95c582cdda827cdece298588
|
Provenance
The following attestation bundles were made for cortex_cloud_docs_mcp_server-1.1.0-py3-none-any.whl:
Publisher:
release.yml on clarkemn/cortex-cloud-docs-mcp-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
cortex_cloud_docs_mcp_server-1.1.0-py3-none-any.whl -
Subject digest:
48e55da74b660251f0de5bf4320316c00703961896d9c6cb65e10c4d2960a5ba - Sigstore transparency entry: 436687848
- Sigstore integration time:
-
Permalink:
clarkemn/cortex-cloud-docs-mcp-server@ed88ad5fc536205e3d25e9744b0a66ac09f1c595 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/clarkemn
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@ed88ad5fc536205e3d25e9744b0a66ac09f1c595 -
Trigger Event:
push
-
Statement type: