Gel MCP server
This MCP server provides tools and resources that help coding agents use the Gel database.
Available tools
execute_query: run a query against the Gel instance configured in the current project. Supports arguments and globals.try_query: run a query in a transaction that gets rolled back in the end, preventing actual data modification.list_examplesandfetch_example: access code examples for advanced workflows such as configuring the AI extension.list_rulesandfetch_rule: in case you forgot to configure Gel rules in your text editor, the agent can access them like this, too.
Install
If at any point you get lost, refer to this repository to see an example config layout for your editor.
Cursor
Add the following to
.cursor/mcp.json:
Open MCP settings, e.g. via Command Palette:
View: Open MCP Settingsand toggle Gel in there.
Claude Code
Add the following to .mcp.json:
VSCode with Copilot
Add the following to .vscode/mcp.json:
Windsurf
Follow Windsurf Cascade's documentation to open global mcp_config.json via the clicky interface.
Add the following:
Zed
Add the following to .zed/settings.json:
Develop
Clone the repository and create the virtual environment:
Open the server in the MCP Inspector: