Prerequisites
- Claude Code, Cursor, or Windsurf installed
- Node.js 18 or newer
- A ChatGrid API key with
readandwritescopes
Step 1: Get a ChatGrid API key
Go to the ChatGrid dashboard, open your profile, and create an API key from the API Keys section. The key starts withcgk_live_ and is shown only once.
Step 2: Add ChatGrid to your IDE
Claude Code, Cursor, and Windsurf all use anmcpServers JSON object, but they do not all use the same config file or the same environment-variable syntax.
Claude Code
Use this when you run ChatGrid from Claude Code in a project.Option A: Project .mcp.json
Create or edit .mcp.json in your project root. This project-scoped file is the format Claude Code expects:
.mcp.json
Shared Claude Code config
Claude Code expands environment variables in.mcp.json, so teams can commit the config without committing the key:
.mcp.json
CHATGRID_API_KEY is not set, Claude Code will fail to parse the config.
Option B: Claude Code CLI
You can also let Claude Code write the config:Verify Claude Code
Close and reopen Claude Code from the project directory. Because.mcp.json is project-scoped, Claude Code may ask you to approve the chatgrid server before it can run.
Verify the connection:
/mcp panel shows server status and tool count. It is a status/auth panel, not a config reload command.
Cursor
Use this when you want ChatGrid tools in Cursor.Option A: Project .cursor/mcp.json
Create .cursor/mcp.json in your project:
.cursor/mcp.json
Option B: Cursor config without committing secrets
Cursor uses${env:VAR_NAME} for environment-variable interpolation:
.cursor/mcp.json
~/.cursor/mcp.json instead if you want ChatGrid available across all Cursor projects.
Verify Cursor
Open Cursor MCP settings and confirmchatgrid is enabled. If you use Cursor CLI, run:
Windsurf
Use this when you want ChatGrid tools inside Cascade.Option A: Windsurf settings
Open Windsurf Settings → Cascade → MCP Servers and add a custom server. If you prefer raw JSON, edit:mcp_config.json
Option B: Windsurf config without committing secrets
Windsurf uses${env:VAR_NAME} for environment-variable interpolation:
mcp_config.json
mcp_config.json
Verify Windsurf
Open the MCPs menu in Cascade or Windsurf Settings → Cascade → MCP Servers. Confirmchatgrid is listed, then enable the tools you want Cascade to use.
Windsurf has a 100-tool limit across enabled MCP servers. ChatGrid exposes 8 tools.
Step 3: Try it
Talk to your IDE naturally. It can use ChatGrid tools when a prompt needs board context or board changes.Create a board
Add a YouTube video
/documents/vectorize.
Add a website
/documents/vectorize.
Upload a PDF
/documents/vectorize.
Upload an image
Add a text note
Search your knowledge
Ask questions
All MCP tools
Supported content types
Supported upload extensions include
pdf, png, jpg, jpeg, gif, webp, svg, doc, docx, txt, md, and csv. Other extensions upload as generic document nodes.
Troubleshooting
Claude Code does not show chatgrid
Claude Code does not show chatgrid
Run
claude mcp list from the project directory and confirm chatgrid appears. If you use .mcp.json, restart Claude Code and approve the project-scoped server when prompted.Windsurf does not show chatgrid
Windsurf does not show chatgrid
Open Windsurf Settings → Cascade → MCP Servers and confirm the server exists in
~/.codeium/windsurf/mcp_config.json. If it appears but tools are disabled, enable the ChatGrid tools from the MCPs menu in Cascade.Cursor does not show chatgrid
Cursor does not show chatgrid
Confirm the server exists in
.cursor/mcp.json for the current project or ~/.cursor/mcp.json globally. In Cursor CLI, run cursor-agent mcp list to confirm Cursor sees the server.CHATGRID_API_KEY is missing
CHATGRID_API_KEY is missing
For Claude Code,
${CHATGRID_API_KEY} requires the environment variable to be set before launching claude. Cursor and Windsurf use ${env:CHATGRID_API_KEY}. If a GUI app cannot see that variable, paste the key directly; Windsurf can also use ${file:~/.secrets/chatgrid_api_key}.npx or Node fails
npx or Node fails
Install Node.js 18 or newer, then run
node --version and npx --version. The server is launched with npx -y chatgrid-mcp.Search returns no results
Search returns no results
Search only covers vectorized text. Add notes, add text resources, or vectorize extracted transcript/page/PDF text before expecting results from source nodes or uploads.
Upload fails
Upload fails
Use an absolute file path that your IDE can read. Files must be under 50 MB. Permission errors and missing files are reported by the MCP tool.
API returns 401, 403, or 429
API returns 401, 403, or 429
401 means the key is missing, invalid, revoked, or expired. 403 means the key does not have the required scope. 429 means the key hit its rate limit.Tips
One board per project
One board per project
Keep boards focused. A “Payments” board, a “Frontend” board, an “Infrastructure” board. Don’t dump everything in one board.
Add content as you go
Add content as you go
Found a useful Stack Overflow answer? Add it as a note or text resource. Read a useful blog post or watched a tutorial? Add the source node, then vectorize the extracted text you want AI to search.
Upload PDFs and images directly
Upload PDFs and images directly
The MCP server can read files from your local disk. Give it an absolute path such as “Upload /path/to/file.pdf to the board”. No hosting step is required.