Skip to content
Gemini CLI

mcp ts template for Gemini CLI

io.github.cyanheads/mcp-ts-template

TypeScript template for building MCP servers with declarative tooling, observability, and auth.

client:Gemini CLI transport:stdio runtime:npm

Install mcp ts template in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-ts-template": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-ts-template"
      ],
      "env": {
        "MCP_LOG_LEVEL": "<MCP_LOG_LEVEL>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

mcp ts template in other clients