Skip to main content

MCP server providing search access to Prisma Cloud documentation

Project description

Prisma Cloud Docs MCP Server

A Model Context Protocol (MCP) server that provides search access to Prisma Cloud documentation. This server allows Claude and other MCP-compatible clients to search through Prisma Cloud's official documentation and API references.

Features

  • Search across Prisma Cloud documentation
  • Search Prisma 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.

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/prisma-cloud-docs-mcp-server.git
cd prisma-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": {
    "Prisma Cloud Docs": {
      "command": "uvx",
      "args": ["prisma-cloud-docs-mcp-server@latest"],
      "env": {},
      "transport": "stdio"
    }
  }
}

Option 2: Local Development

{
  "mcpServers": {
    "Prisma Cloud Docs": {
      "command": "uv",
      "args": ["run", "python", "server.py"],
      "cwd": "/path/to/prisma-cloud-docs-mcp-server",
      "env": {},
      "transport": "stdio"
    }
  }
}

Replace /path/to/prisma-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_prisma_docs(max_pages: int = 50) - Index Prisma Cloud documentation (call this first)
  • index_prisma_api_docs(max_pages: int = 50) - Index Prisma Cloud API documentation
  • search_prisma_docs(query: str) - Search Prisma Cloud documentation
  • search_prisma_api_docs(query: str) - Search Prisma Cloud API documentation
  • search_all_docs(query: str) - Search across all indexed documentation
  • get_index_status() - Check indexing status and cache statistics

Development

Running the server

uv run python server.py

Installing dependencies

uv sync

Project structure

prisma-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

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Test with Claude Desktop
  5. Submit a pull request

Troubleshooting

Server not starting in Claude Desktop

  1. Ensure uv is installed and in your PATH
  2. Verify the path to the project directory is correct
  3. 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_prisma_docs or index_prisma_api_docs tools before searching.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prisma_cloud_docs_mcp_server-1.0.0.tar.gz (57.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

prisma_cloud_docs_mcp_server-1.0.0-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file prisma_cloud_docs_mcp_server-1.0.0.tar.gz.

File metadata

File hashes

Hashes for prisma_cloud_docs_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a140e8be06f2f9cb78e5099500a55d681e5dcb2c689396d8d95fed9edf73b0fd
MD5 05aa6a4de57b8dca9ba839b6d76ae182
BLAKE2b-256 865cb9aa226c02a385c8a8dd82ad62c96abe4bd58735d918e45aee4ba7a43f9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for prisma_cloud_docs_mcp_server-1.0.0.tar.gz:

Publisher: release.yml on clarkemn/prisma-cloud-docs-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file prisma_cloud_docs_mcp_server-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for prisma_cloud_docs_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17454ac960a52916d01019c092edefad15722560c91fa64c4aaff85424ea9257
MD5 692691402e0f11032e7b3968e30c754d
BLAKE2b-256 2310cc4ec5046ad20449a153f9d1cc4d62812ad62f4b6069fe7b27ad02d88884

See more details on using hashes here.

Provenance

The following attestation bundles were made for prisma_cloud_docs_mcp_server-1.0.0-py3-none-any.whl:

Publisher: release.yml on clarkemn/prisma-cloud-docs-mcp-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page