The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
docs - note on claude code for mcp scopes (#84055)
Jeff Bruemmer0c2ff27b10c6
diff --git a/docs/ai/mcp.md b/docs/ai/mcp.mdindex 54da6b99940..c7601328822 100644--- a/docs/ai/mcp.md+++ b/docs/ai/mcp.md@@ -33,12 +33,28 @@ To connect Claude Code:1. Run a command to add the MCP server.+To use Metabase in all your projects, add `--scope user`:++```+claude mcp add --scope user --transport http metabase https://{your-metabase-url}/api/metabase-mcp+```++To use Metabase only in the current project, leave out `--scope`:+```claude mcp add --transport http metabase https://{your-metabase-url}/api/metabase-mcp```Replace `{your-metabase-url}` with your Metabase address.+Without `--scope`, Claude Code adds the server only to the directory you ran the command in, so Metabase won't show up if you start Claude Code from a different directory. To check where you added it, run:++```+claude mcp get metabase+```++See [MCP installation scopes](https://code.claude.com/docs/en/mcp#mcp-installation-scopes).+2. Start Claude Code with `claude`.3. In Claude Code, run `/mcp`.