Skip to main content
Glama

Cortex MCP

Official
by cortexapps

Cortex MCP Overview

Note

Research Preview

Not seeing the results you expect? This is an early version of the Cortex MCP. Please send feedback and bug reports to Cortex Customer Engineering.

Cortex MCP is a Model Context Protocol server that provides access to the Cortex API. It uses relevant context from your workspace, ensuring awareness of your system's structure when answering your questions.

You can query information in natural language, powering faster decisions and efficient processes. For example:

  • Who is the right person to handle an incident with backend-server?
  • Show me the services that belong to the platform engineering team
  • We're having an incident with backend-server, give me a summary of information to help handle the incident

Requirements

Before getting started, you'll need:

  • MCP Client: Claude Desktop or other MCP-compatible client
  • Cortex Personal Access Token: Create a token in your Cortex workspace settings.

Installation

Note

Docker Required

Make sure Docker is installed and running on your system before proceeding with the installation.

Then configure your MCP client. We've tested this with Claude Desktop, and Cursor, but it should work with any MCP-compatible client.:

Claude Desktop

{ "mcpServers": { "cortex": { "command": "docker", "args": [ "run", "--rm", "-i", "--env", "CORTEX_API_TOKEN=YOUR_API_TOKEN_HERE", "ghcr.io/cortexapps/cortex-mcp:latest" ] } } }

Claude Code

Use the following command to add Cortex MCP to Claude Code:

claude mcp add-json "cortex" '{ "command": "docker", "args": [ "run", "--rm", "-i", "--env", "CORTEX_API_TOKEN=YOUR_API_TOKEN_HERE", "ghcr.io/cortexapps/cortex-mcp:latest" ] }'

If successful, you should see: "Added stdio MCP server cortex to local config"

Cursor

{ "mcpServers": { "cortex": { "command": "docker", "args": [ "run", "--rm", "-i", "--env", "CORTEX_API_TOKEN=YOUR_API_TOKEN_HERE", "ghcr.io/cortexapps/cortex-mcp:latest" ] } } }

VSCode

VS Code MCP Servers Documentation

Sample .vscode/mcp.json

{ "inputs": [ { "type": "promptString", "id": "cortex-key", "description": "Cortex API Key", "password": true } ], "servers": { "Cortex": { "type": "stdio", "command": "docker", "args": [ "run", "--rm", "-i", "ghcr.io/cortexapps/cortex-mcp:latest" ], "env": { "CORTEX_API_TOKEN": "${input:cortex-key}" } } } }

Warp

Under Settings > AI > Manage MCP Servers, you can configure your JSON config:

{ "cortex": { "command": "docker", "args": [ "run", "--rm", "-i", "--env", "CORTEX_API_TOKEN=YOUR_API_TOKEN_HERE", "ghcr.io/cortexapps/cortex-mcp:latest" ], "env": {}, "start_on_launch": true } }

Support

  • GitHub Issues: https://github.com/cortexapps/cortex-mcp/issues
  • Email: help@cortex.io

License

MIT License - see LICENSE file for details.

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

A Model Context Protocol server that provides natural language access to Cortex API, enabling users to query information about their system's structure and make faster decisions about services, incidents, and team responsibilities.

  1. Requirements
    1. Installation
      1. Claude Desktop
      2. Claude Code
      3. Cursor
      4. VSCode
      5. Warp
    2. Support
      1. License

        Related MCP Servers

        • -
          security
          A
          license
          -
          quality
          A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
          Last updated -
          6
          Python
          Apache 2.0
        • A
          security
          F
          license
          A
          quality
          A Model Context Protocol server that enables AI agents to generate, fetch, and manage UI components through natural language interactions.
          Last updated -
          3
          680
          4
          TypeScript
        • -
          security
          A
          license
          -
          quality
          A server that implements the Model Context Protocol, providing a standardized way to connect AI models to different data sources and tools.
          Last updated -
          1
          8
          TypeScript
          MIT License
        • -
          security
          F
          license
          -
          quality
          A Model Context Protocol server that provides AI models with structured access to external data and services, acting as a bridge between AI assistants and applications, databases, and APIs in a standardized, secure way.
          Last updated -
          1
          Python

        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/cortexapps/cortex-mcp'

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