chronosphere-mcp-server

arjunnayak/chronosphere-mcp-server

3.2

If you are the rightful owner of chronosphere-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Chronosphere MCP Server is a simple server designed to query Chronosphere logs using the Model Context Protocol (MCP).

Tools
1
Resources
0
Prompts
0

Chronosphere MCP Server

A simple MCP server that can query Chronosphere logs.

Setup Instructions

1. Install uv

If you don't have uv installed, you can install it with:

curl -LsSf https://astral.sh/uv/install.sh | sh

See docs for other installation methods.

2. Install dependencies

From the root of the repository, run:

uv pip install -r pyproject.toml

Or, if you want to use the lockfile for reproducible installs:

uv pip install -r uv.lock

3. Set your Chronosphere API token

Export your API token as an environment variable:

export CHRONOSPHERE_API_TOKEN="<YOUR_API_TOKEN>"

4. Run the MCP server

From the root directory, start the server with:

uv run server.py

5. (Optional) Use with Cursor

If you are using Cursor, ensure your .cursor/mcp.json is configured as follows:

{
  "mcpServers": {
    "chronosphere-mcp": {
      "command": "uv",
      "args": [
        "--directory",
        "/PATH/TO/REPO",
        "run",
        "server.py"
      ],
      "env": {
        "CHRONOSPHERE_API_TOKEN": "<REPLACE_ME>"
      }
    }
  }
}

Tools

  • query_logs

TODO:

  • query metrics
  • get alerts
  • query traces
  • query change events