MCP低风险未认领
Grain SQL
Run SQL queries and inspect database schemas through safe, visible MCP tools.
pattrnlabspattrnlabs/grain
server.json
{
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"name": "io.github.pattrnlabs/grain",
"description": "Run SQL queries and inspect database schemas through safe, visible MCP tools.",
"title": "Grain SQL",
"repository": {
"url": "https://github.com/pattrnlabs/grain",
"source": "github",
"id": "1348511592"
},
"version": "0.10.30",
"websiteUrl": "https://grain.tools",
"icons": [
{
"src": "https://grain.tools/icon.png",
"mimeType": "image/png",
"sizes": [
"256x256"
]
}
],
"packages": [
{
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "grain-tools",
"version": "0.10.30",
"runtimeHint": "npx",
"transport": {
"type": "stdio"
},
"runtimeArguments": [
{
"value": "-y",
"type": "positional"
}
],
"packageArguments": [
{
"description": "Run Grain using stdio transport for local MCP clients.",
"type": "named",
"name": "--stdio"
}
],
"environmentVariables": [
{
"description": "JSON array of Grain connection profiles for headless use.",
"format": "string",
"isSecret": true,
"name": "GRAIN_CONNECTIONS"
},
{
"description": "Set to false to allow mutating SQL. Defaults to true.",
"format": "boolean",
"value": "true",
"name": "GRAIN_MCP_SAFE_MODE"
},
{
"description": "Maximum rows returned by query tools. Defaults to 10000.",
"format": "number",
"value": "10000",
"name": "GRAIN_MAX_ROWS"
}
]
}
]
}权限
声明检测
运行代码—
node安装—
npm:grain-tools@0.10.30安装时运行脚本—无
网络无无
需要的凭据
GRAIN_CONNECTIONSGRAIN_CONNECTIONS工作区外的路径—无
智能体工具—无
检查
低风险 · 没有发现需要提醒的地方。
未经人工审核 · 已做规则检查;模型审核尚未开启。
版本
- #40.10.30最新2026年10月8日
- #30.10.292026年10月8日
- #20.10.272026年10月7日
- #10.10.262026年10月7日
Grain SQL在 Codeg 中打开