<@U088WCP3B4P> does Elementary have an MCP? How ca...
# ask-elementary-ai
a
@kapa.ai does Elementary have an MCP? How can I install it?
k
Yes, Elementary has an MCP (Model Context Protocol) Server! It allows you to connect your Elementary environment to any MCP-compatible client (such as Cursor, Claude Desktop, or custom AI agents) so you can query and act on your data stack using live context. [MCP overview] What the Elementary MCP Server provides • Full asset details (metadata, columns, test coverage) • Lineage (table + column-level, across dbt and BI tools) • Incidents and their context • Test browsing and addition via the test catalog • Model metadata and execution history How to install and configure it Prerequisites • Node.js 18 LTS or newer (verify with
node --version
) • npm / npx (bundled with Node.js) Step 1 – Generate an access token Go to User → Personal Tokens or Account → Account Tokens in the Elementary UI, click Generate token, and copy it securely. [MCP setup guide] Step 2 – Configure your MCP client Add the following JSON to your MCP-compatible client's config:
Copy code
{
  "mcpServers": {
    "elementary-remote": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://prod.api.elementary-data.com/mcp/",
        "--header",
        "Authorization:${AUTH_HEADER}"
      ],
      "env": {
        "AUTH_HEADER": "Bearer <AUTH_TOKEN>"
      }
    }
  }
}
Replace
<AUTH_TOKEN>
with the token you generated. [MCP client config] Client-specific steps • Cursor IDE: Go to Settings → Model Context Protocol → Add Custom Server, or edit
~/.cursor/mcp.json
, paste the JSON, and save. • Claude Desktop: Go to Claude → Settings → Developer → Local MCP Servers → Edit, paste the JSON, and restart Claude. The MCP Server is available as part of Elementary Cloud. [MCP overview] 👍 0 button 👎 0 button ℹ️ Tip: Mention @elementary.ai in the thread for follow-ups or DM the app for 1-to-1 help.