While Gemini ♊ CLI works with same settings file.
~/.gemini $ npx @wong2/mcp-cli -c settings.json
✔ Loading config from settings.json
✔ Pick a server › sequential-thinking
⠸ Connecting to server...sh: 1: mcp-server-sequential-thinking: not found
file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:104
const error = new McpError(ErrorCode.ConnectionClosed, "Connection closed");
^
McpError: MCP error -32000: Connection closed
at Client._onclose (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:104:23)
at _transport.onclose (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:72:18)
at ChildProcess.<anonymous> (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js:95:77)
at ChildProcess.emit (node:events:507:28)
at maybeClose (node:internal/child_process:1101:16)
at ChildProcess._handle.onexit (node:internal/child_process:305:5) {
code: -32000,
data: undefined
}
Node.js v24.3.0
~/.gemini $ npx @wong2/mcp-cli -c settings.json
✔ Loading config from settings.json
✔ Pick a server › wolfram-alpha
⠙ Connecting to server...2025/07/11 15:56:41 Error reading input: context canceled
Error: failed to start server: context canceled
file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:220
const error = new McpError(response.error.code, response.error.message, response.error.data);
^
McpError: MCP error -32601: resources not supported
at Client._onresponse (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:220:27)
at _transport.onmessage (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/protocol.js:83:22)
at StdioClientTransport.processReadBuffer (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js:145:79)
at Socket.<anonymous> (file:///data/data/com.termux/files/home/.npm/_npx/234164726e649089/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js:103:22)
at Socket.emit (node:events:507:28)
at addChunk (node:internal/streams/readable:559:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:510:3)
at Readable.push (node:internal/streams/readable:390:5)
at Pipe.onStreamRead (node:internal/stream_base_commons:189:23) {
code: -32601,
data: undefined
}
Node.js v24.3.0
~/.gemini $
"mcpServers": {
"sequential-thinking": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-sequential-thinking"
]
},
"fetch": {
"command": "python",
"args": [
"-m",
"mcp_server_fetch"
]
},
"memory": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-memory"
]
},
"puppeteer": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-puppeteer"
],
"allowDangerous": true,
"launchOptions": {
"executablePath": "/data/data/com.termux/files/usr/bin/chromium-browser",
"args": [
"--no-sandbox",
"--headless",
"--disable-setuid-sandbox",
"--disable-gpu",
"--disable-dev-shm-usage"
]
}
},
~/.gemini $ uname -a
Linux localhost 4.14.186+ #1 SMP PREEMPT Thu Mar 17 16:28:22 CST 2022 aarch64 Android
~/.gemini $ npx --version
11.4.2
~/.gemini $
While Gemini ♊ CLI works with same settings file.
With:
on:
All else works normally