Home / Market / Grain SQL

Grain SQL

Run SQL queries and inspect database schemas through safe, visible MCP tools.

mcp★ 0178 dlmcp-registryMIT configuration; upstream service license appliesInstall in CosmosUpstream Source

Documentation & Preview

{ "mcpServers": { "mcp-grain-0269ef00a7c8786dbc83": { "command": "npx", "args": [ "-y", "--package", "grain-tools@0.10.56", "grain-tools" ], "env": { "GRAIN_CONNECTIONS": "${ENV_GRAIN_CONNECTIONS}", "GRAIN_MCP_SAFE_MODE": "${ENV_GRAIN_MCP_SAFE_MODE}", "GRAIN_MAX_ROWS": "${ENV_GRAIN_MAX_ROWS}" } } }, "setup": { "fields": [ { "id": "ENV_GRAIN_CONNECTIONS", "label": "GRAIN_CONNECTIONS", "description": "JSON array of Grain connection profiles for headless use.", "required": false, "secret": true, "default": "" }, { "id": "ENV_GRAIN_MCP_SAFE_MODE", "label": "GRAIN_MCP_SAFE_MODE", "description": "Set to false to allow mutating SQL. Defaults to true.", "required": false, "secret": false, "default": "" }, { "id": "ENV_GRAIN_MAX_ROWS", "label": "GRAIN_MAX_ROWS", "description": "Maximum rows returned by query tools. Defaults to 10000.", "required": false, "secret": false, "default": "" } ], "requirements": [ "安装 Node.js / npm" ] }, "provenance": { "registryServer": "io.github.pattrnlabs/grain", "registryVersion": "0.10.56", "registryUrl": "https://registry.modelcontextprotocol.io/v0.1/servers/io.github.pattrnlabs%2Fgrain/versions/0.10.56", "repository": null, "sourceCommit": null, "namespaceRepositoryOwnerMatched": false, "officialRegistryNamespaceVerified": true, "package": { "registry": "npm", "identifier": "grain-tools", "version": "0.10.56", "integrity": "sha512-9AJf+thdxBS8OXqdZDbseLM8l5sFOLdb1k1fMdvA6zph3KBmUeOvKZS5tDQTc6Z9K4WZnARy7Fbsy69uwW9kmg==", "registryNameMatched": "io.github.pattrnlabs/grain", "checkedAt": "2026-12-02T11:24:18.994Z" }, "scope": "Install configuration verified; dependency implementation and remote behavior have not been audited" } }