The Gemini CLI supports MCP servers via ~/.gemini/settings.json. Edit the file and add:
json
{
"mcpServers": {
"index": {
"url": "https://mcp.index.webenta.sk/mcp",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}Replace YOUR_API_KEY with a key from Account → API Keys. Restart the Gemini CLI after saving.
#Instructions
Add a usage hint to your Gemini CLI system prompt or Gem:
text
When I ask about my reading list, use the "Webenta Index" MCP server to fetch and update entries.