Terminal sessions for agents for Grok
io.github.ryamgoh/terminal-mcp
Real terminal sessions for agents: run commands, stream output, type into programs, kill trees.
client:Grok
transport:stdio
runtime:npm
Install Terminal sessions for agents in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"terminal-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ryamgoh/terminal-mcp"
]
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs