Skip to main content
Glama

CLP MCP Server

by hoophalab

CLP MCP Server

A model context protocol server to work with accessing Compressed Log Processor (CLP).

Getting Started

Option 1 (Easiest): Use uv package manager

Step 1: Install uv package manager.
Step 2: Clone this repository (e.g., to "C:\mcp-server-clp")
Step 3: Configure your editor

Copy the following contents to Menu Bar -> File -> Preferences -> Cursor Settings -> Tools & Integrations -> MCP Tools -> Add Custom MCP

{ "mcpServers": { "CLP file reader": { "command": "uv", "args": [ "--directory", "C:\\mcp-server-clp", // or "/home/user_name/mcp-server-clp" "run", "python", "-m", "mcp_server_clp", "C:\\path_to_log_files" // replace this path ] } }, }
  1. Open command palette with Ctrl + Shift + P.
  2. Choose MCP: Add Server....
  3. Choose Command (stdio) Run a local command that implements the MCP protocol.
  4. Type uv --directory C:\mcp-server-clp run python -m mcp_server_clp C:\path_to_log_files.
  5. Type the name of the server, e.g., mcp-server-clp.
  6. You should end up with a file looking like
{ ... "mcp": { "servers": { "mcp-server-clp": { "type": "stdio", "command": "uv", "args": [ "--directory", "C:\\mcp-server-clp", // or "/home/user_name/mcp-server-clp" "run", "python", "-m", "mcp_server_clp", "C:\\path_to_log_files" // replace this path ] }, } } }

Copy the following contents to claude_desktop_config.json by Menu Bar -> File -> Settings -> Developer -> Edit Config

{ "mcpServers": { "CLP file reader": { "command": "uv", "args": [ "--directory", "C:\\mcp-server-clp", // or "/home/user_name/mcp-server-clp" "run", "python", "-m", "mcp_server_clp", "C:\\path_to_log_files" // replace this path ] } }, }

Option 2: If you already have a Python and Node.js environment

Step 1: Clone this repository
Step 2: Setup a venv and install dependencies in pyproject.toml
python -m venv venv . ./venv/bin/activate pip install .
Step 3: Run the MCP server in server mode
python -m mcp_server_clp /home/user_name/path_to_log_files --sse --host localhost --port 8000
Step 4: Configure your editor

Copy the following contents to your mcp configuration file.

{ "mcpServers": { "CLP file reader": { "command": "npx", "args": [ "mcp-remote", "http://localhost:8000/sse" ] } }, }

Example Prompts

Here are some example prompts you can use:

  • Please list all files accessible through CLP mcp server.
  • Read example.clp.zst file and summarize the log file.
  • Locate the error in example.clp.zst log file.

Contributing

-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

An MCP server implementation that allows Claude to read and process CLP (Compact Log Protocol) files, supporting both stdio and SSE/HTTP communication methods.

  1. Getting Started
    1. Option 1 (Easiest): Use uv package manager
    2. Option 2: If you already have a Python and Node.js environment
  2. Example Prompts
    1. Contributing

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
        Last updated -
        7
        180
        45
        TypeScript
        MIT License
      • -
        security
        A
        license
        -
        quality
        An MCP server that allows accessing and managing ledger files through Claude by providing account listing, balance checking, and transaction register viewing capabilities.
        Last updated -
        1
        Python
        GPL 3.0
        • Apple
      • A
        security
        A
        license
        A
        quality
        An MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.
        Last updated -
        7
        18
        4
        TypeScript
        MIT License
        • Apple
        • Linux
      • -
        security
        A
        license
        -
        quality
        A Python-based MCP server that allows Claude and other LLMs to execute arbitrary Python code directly through your desktop Claude app, enabling data scientists to connect LLMs to APIs and executable code.
        Last updated -
        23
        MIT License
        • Apple
        • Linux

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/hoophalab/mcp-server-clp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server