Hello, is there any successful experience connecting a Self-hosted Grist MCP to a local agent on a PC?
I use Kilo Code (VS and CLI)
"Grist": {
"type": "remote",
"url": "https://grist.site/api/mcp",
"headers": {
"Authorization": "Bearer token"
},
"enabled": true
I see a successful connection, but the agent does not see the grist tools and cannot interact with the mcp.
GRIST_MCP_ENABLED: true
OAuth app:
I can’t connect with it enabled GRIST_ENABLE_OIDC_SERVER: true
Because it requires inclusion REDIS_URL="your Redis url"
If I turn on Redis, the Grist container crashes into a cyclic reboot when the container is restarted.
Container log
info: RestartShell: starting
info: RestartShell: listening on port 8484
info: RestartShell: spawning child
Welcome to Grist.
Logging at level "info" (set GRIST_LOG_LEVEL to change)
info: Setting up database...
info: Database setup complete.
info: == Grist version is 1.7.21 (commit unknown)
warn: did not find an appropriately named example workspace in deployment
error: PubSubManager: failed to subscribe to latestVersionAvailable: ReplyError: NOPERM No permissions to access a channel
error: UNHANDLED ERROR unhandledRejection (0): ReplyError: NOPERM No permissions to access a channel
at parseError (/grist/node_modules/redis-parser/lib/parser.js:179:12)
at parseType (/grist/node_modules/redis-parser/lib/parser.js:302:14) {
command: { name: 'subscribe', args: [ 'db-2-latestVersionAvailable' ] }
}
info: Server grist[20] cleaning up
info: UploadSet: cleaning up all 0 uploads in set
info: Server grist[20] exiting with code 1
error: RestartShell: child failed to start: Error: child exited before ready code=1 signal=null
at /grist/_build/app/server/lib/RestartShell.js:320:59
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
error: Error: RestartShell: initial spawn failed: Error: child exited before ready code=1 signal=null
at RestartShell.run (/grist/_build/app/server/lib/RestartShell.js:135:19)
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async RestartShell.start (/grist/_build/app/server/lib/RestartShell.js:106:9)
at async runRestartShell (/grist/_build/app/server/lib/RestartShell.js:421:5)
At the moment, I have decided that the inclusion of Redis is mandatory.