Skip to main content
Glama
llm_clients.py864 B
from enum import Enum from typing import Final class Application(str, Enum): CURSOR = "Cursor" CLAUDE = "Claude" GEMINICLI = "Gemini" CODEX = "Codex" OTHERS = "Others" class OS(str, Enum): MAC = "Mac" WINDOWS = "Windows" LINUX = "Linux" # app → os → path MCP_CONFIG_PATHS: Final[dict[Application, dict[OS, str]]] = { Application.CURSOR: { OS.MAC: "./.cursor/mcp.json", OS.WINDOWS: r'.\.cursor\mcp.json', }, Application.CLAUDE: { OS.MAC: "~/Library/Application Support/Claude/claude_desktop_config.json", OS.WINDOWS: r"%APPDATA%\Claude\claude_desktop_config.json", }, Application.GEMINICLI: { OS.MAC: "./gemini/settings.json", OS.WINDOWS: r'.\gemini\settings.json', }, Application.CODEX: { OS.MAC: "~/.codex/config.toml" }, }

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/particlefuture/1mcpserver'

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