Skip to main content
Glama
orzcls

Gemini CLI MCP Server

by orzcls

ping

Verify connectivity and test responses by sending a message to the Gemini CLI MCP Server and receiving the echoed reply.

Instructions

Echo

Input Schema

NameRequiredDescriptionDefault
promptNoMessage to echo

Input Schema (JSON Schema)

{ "properties": { "prompt": { "default": "", "description": "Message to echo ", "type": "string" } }, "required": [], "type": "object" }

Implementation Reference

  • The execution handler for the 'ping' tool. It returns a simple 'Pong!' response, optionally echoing the input 'prompt'.
    case "ping": return { content: [{ type: "text", text: `Pong! ${args.prompt || 'Hello from gemini-cli MCP server!'}` }] };
  • The tool definition including name, description, and input schema for 'ping'. Used for tool listing and validation.
    { name: "ping", description: "Echo", inputSchema: { type: "object", properties: { prompt: { type: "string", default: "", description: "Message to echo " } }, required: [] } },
  • Registration of the ListToolsRequestSchema handler, which returns the list of tools including 'ping'.
    server.setRequestHandler(ListToolsRequestSchema, async () => { return { tools }; });

Other Tools

Related Tools

  • @jamubc/gemini-mcp-tool
  • @eLyiN/gemini-bridge
  • @jamubc/gemini-mcp-tool
  • @orzcls/gemini-mcp-tool-windows-fixed
  • @InfolabAI/gemini-cli-mcp
  • @avi892nash/purescript-mcp-tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/orzcls/gemini-mcp-tool-windows-fixed'

If you have feedback or need assistance with the MCP directory API, please join our Discord server