Add StitchDB to Claude Code with one command.
#With an access token
Terminal
claude mcp add --transport http stitchdb https://stitchdb.com/platform/mcp \
--header "Authorization: Bearer sdb_pat_..."Add --scope user to make the server available in every folder, or --scope project to share it through .mcp.json (then keep the token in an environment variable, not in the file).
#With OAuth
Terminal
claude mcp add --transport http stitchdb https://stitchdb.com/platform/mcp
# in Claude Code: /mcp → stitchdb → AuthenticateYour browser opens the StitchDB consent screen; choose read-only or read-write and which projects.
#Check it
Run /mcp in Claude Code: stitchdb shows as connected with its tools. Try "List my StitchDB projects and the tables of the first one".