loading…
Search for a command to run...
loading…
A stateless MCP server that wraps the headless Gemini CLI, providing tools to send prompts to Google's Gemini models and receive text responses. It supports bot
A stateless MCP server that wraps the headless Gemini CLI, providing tools to send prompts to Google's Gemini models and receive text responses. It supports both simple prompts and prompts with contextual information.
Stateless MCP server wrapping the headless Gemini CLI.
gemini_prompt, gemini_prompt_with_contextworking_dir, no timeout enforcementcwdnpm install
npm run build
Binary is exposed as geminicli-mcp (see package.json#bin).
gemini_prompt| field | type | required | notes |
|---|---|---|---|
| prompt | string | yes | prompt text |
| model | string | no | e.g. gemini-2.5-pro |
Returns the CLI's response text.
gemini_prompt_with_context| field | type | required | notes |
|---|---|---|---|
| prompt | string | yes | prompt text |
| context | string | yes | prepended to the prompt inside <context> |
| model | string | no | e.g. gemini-2.5-pro |
Returns the CLI's response text.
GEMINI_CLI_BIN — override the gemini binary path.NO_COLOR=1 and TERM=dumb.Добавь это в claude_desktop_config.json и перезапусти Claude Desktop.
{
"mcpServers": {
"geminicli-mcp": {
"command": "npx",
"args": []
}
}
}