What is the Grain MCP server?
Run SQL queries and inspect database schemas through safe, visible MCP tools.
How to install Grain
Copy-paste configuration for popular MCP clients.
GRAIN_CONNECTIONSsecretJSON array of Grain connection profiles for headless use.
GRAIN_MCP_SAFE_MODESet to false to allow mutating SQL. Defaults to true.
GRAIN_MAX_ROWSMaximum rows returned by query tools. Defaults to 10000.
Related MCP servers

io.github.patwalls/feedhook-mcp
Turn a YouTube channel into a webhook: a signed HTTP POST seconds after every new video.

io.github.patwalls/pulse-mcp
Free, agent-first social-post metrics — a post URL in, views/likes/comments out.
Proprietary B2B creator-velocity data: ranked board, live breakouts, and audience-growth curves.
View repository →
io.github.patwalls/superhighway-mcp
Web search for AI agents — 5 tools: search, news, images, scrape, research. x402/USDC or API key.

Trust Switchboard
Ask "Are you on Trust Switch?" before your agent deals with another agent. Free. Never blocks.

io.github.paulbreuler/limps
Local-first planning and document management layer for AI assistants—no cloud, no subscriptions.