Skip to content

Document X-Lightdash-Project header for MCP#623

Open
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/mcp-project-header-1778768116
Open

Document X-Lightdash-Project header for MCP#623
mintlify[bot] wants to merge 1 commit into
mainfrom
mintlify/mcp-project-header-1778768116

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify Bot commented May 14, 2026

Summary

The source PR adds a new X-Lightdash-Project HTTP header that MCP clients can send on requests to /api/v1/mcp to pin a specific Lightdash project for the request. When the header is set, list_projects and set_project are hidden from the tool list and project access is still enforced by the caller's permissions.

Docs changes

  • Added a new subsection under Custom Integration (For Developers) in the Lightdash MCP reference explaining what the header does, when to use it, where to find a project UUID, and how the project tools are hidden when it's set.
  • Added Cursor (.cursor/mcp.json) and curl examples showing how to send the header.
  • Noted that invalid UUIDs are ignored and that permissions are always re-checked, so the header can't be used to escalate access.

Generated-By: mintlify-agent
@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify Bot commented May 14, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview May 14, 2026, 2:19 PM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

🤖 Documentation Bot

All checks passed! No issues found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants