Gel MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Gel MCP Servershow me the top 5 users by activity this week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: @iadev/mcp-server
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:
{
"mcpServers": {
"gel": {
"command": "uvx",
"args": [
"--refresh",
"--python",
"3.13",
"--directory",
".",
"--from",
"git+https://github.com/geldata/gel-mcp.git",
"gel-mcp"
]
}
}
}Open MCP settings, e.g. via Command Palette:
View: Open MCP Settingsand toggle Gel in there.
Claude Code
Add the following to .mcp.json:
{
"mcpServers": {
"gel": {
"command": "uvx",
"args": [
"--refresh",
"--python",
"3.13",
"--directory",
".",
"--from",
"git+https://github.com/geldata/gel-mcp.git",
"gel-mcp"
]
}
}
}VSCode with Copilot
Add the following to .vscode/mcp.json:
{
"servers": {
"gel": {
"type": "stdio",
"command": "uvx",
"args": [
"--refresh",
"--python",
"3.13",
"--directory",
".",
"--from",
"git+https://github.com/geldata/gel-mcp.git",
"gel-mcp"
]
}
}
}Windsurf
Follow Windsurf Cascade's documentation to open global mcp_config.json via the clicky interface.
Add the following:
{
"mcpServers": {
"gel": {
"command": "uvx",
"args": [
"--refresh",
"--python",
"3.13",
"--directory",
".",
"--from",
"git+https://github.com/geldata/gel-mcp.git",
"gel-mcp"
]
}
}
}Zed
Add the following to .zed/settings.json:
{
"context_servers": {
"gel": {
"source": "custom",
"command": {
"path": "uvx",
"args": [
"--refresh",
"--python",
"3.13",
"--directory",
".",
"--from",
"git+https://github.com/geldata/gel-mcp.git",
"gel-mcp"
],
"env": {}
}
}
}
}Develop
Clone the repository and create the virtual environment:
uv syncOpen the server in the MCP Inspector:
mcp dev src/gel_mcp/server.pyThis server cannot be deployed
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
AI agents propose database changes as reviewable requests — no direct write access.
Build, validate, and deploy multi-agent AI solutions from any AI environment.
Build and publish full-stack apps from your coding agent: models, rules, pages, auth, per-app MCP.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceTranslates natural language to SQL/GraphQL queries and executes them, enabling AI agents to interact with databases through the Model Context Protocol.1Apache 2.0
- FlicenseBqualityDmaintenanceEnables AI assistants to directly manage database tables, execute SQL, and handle user operations in iadev projects from the editor.15-
- FlicenseNot gradedqualityDmaintenanceEnables AI agents to inspect schemas, analyze performance, check security, and troubleshoot SQL Server 2019+ databases through a safe, controlled interface.-
- AlicenseAqualityBmaintenanceEnables AI agents to interact with SQL Server databases for debugging and data issue resolution, providing tools for query execution, schema inspection, and diagnostics.1310 npmMIT