Skip to content

Document run_sql MCP tool and add warehouse security guidance#494

Merged
charliedowler merged 1 commit intomainfrom
docs/document-mcp-run-sql-tool
Mar 16, 2026
Merged

Document run_sql MCP tool and add warehouse security guidance#494
charliedowler merged 1 commit intomainfrom
docs/document-mcp-run-sql-tool

Conversation

@charliedowler
Copy link
Contributor

Summary

  • Add Query execution section to the MCP docs covering run_metric_query and the new run_sql tool (from lightdash/lightdash#21151)
  • Add custom instructions guidance for when to use run_sql vs run_metric_query
  • Add warning about ensuring read-only warehouse credentials to prevent AI agents from modifying data
  • Update AI overview page to mention SQL query capability
  • Update FAQ to reflect query execution capabilities

Test plan

  • Verify MCP docs page renders correctly with new sections
  • Verify AI overview page renders correctly

🤖 Generated with Claude Code

- Add Query execution section to MCP docs covering run_metric_query and run_sql tools
- Add custom instructions guidance for when to use run_sql vs run_metric_query
- Add warning about ensuring read-only warehouse credentials
- Update AI overview to mention SQL query capability
- Update FAQ to reflect query execution capabilities

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@charliedowler charliedowler merged commit 946e5ad into main Mar 16, 2026
3 checks passed
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.

1 participant