Gel MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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: lazy-sql
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.pyTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
Create AgentUI data apps: define tables, read and write records, and run programs on your data.
Store, query, and update structured data from any AI agent
Build, test and publish agentic workflows from your AI client: approve steps, read tables, see runs.
Related MCP Servers
- AlicenseAqualityCmaintenanceGives AI agents direct access to databases across 8 engines with 145+ tools, enabling schema-aware query execution and management through natural language.1759 npmMIT
- AlicenseNot gradedqualityBmaintenanceGives AI coding tools reviewed access to PostgreSQL, MySQL, SQL Server, and SQLite databases, letting read-only queries run instantly while every data or schema change pauses for human approval in a review dialog. It also exposes schema introspection for agents and a way to open the connection manager.MIT
- AlicenseNot gradedqualityBmaintenanceEnables coding agents to explore schemas, trace lineage and procedure call graphs, run bounded SQL and PostgreSQL diagnostics, and manage cryptographically governed changes across PostgreSQL, MySQL, and SQLite over stdio or HTTP.Apache 2.0
- AlicenseAqualityBmaintenanceEnables AI coding agents to safely inspect and mutate relational databases through AST-level SQL guardrails, isolated dry-run rollback previews, automatic PII masking, and virtual schema hiding. Sensitive mutations are gated behind human sign-off via Slack, Microsoft Teams, or a live web approval feed.1263 npm1MIT