How to Use the Glama MCP in Claude Code
Query the Glama directory and run gateway models directly from your Claude Code terminal.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Glama MCP to Claude Code
Create your Vinkius account to connect Glama to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Search the MCP directory from your CLI
Claude Code lets you discover new tools without opening a browser. The agent queries `glama_list_mcp_servers` directly from the terminal to find servers matching your current pipeline requirements. It retrieves installation commands using `glama_get_mcp_server_info`. This allows you to chain CLI commands to configure your environment on the fly.
Terminal-based gateway routing
Claude Code can audit available gateway models using `glama_get_gateway_models`. It then executes remote reasoning tasks by calling `glama_run_gateway_chat` directly from your shell. By checking `glama_get_gateway_model_details`, the agent determines context limits before sending large log files. This prevents out-of-memory errors during long terminal sessions.
Telemetry and private hosting
Claude Code queries `glama_get_hosted_instances` to fetch and execute private tools configured for your account. This MCP connection is ideal for secure CI/CD environments that need access to internal APIs. After completing a terminal run, the agent triggers `glama_send_telemetry` to log performance metrics. You get clear data on tool usage without manual logging setups.
Set up Glama MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeglama-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Glama transactions." It will automatically discover and invoke the available Glama tools.
claude mcp add --transport http glama-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Glama MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Glama MCP today
We host it, we monitor it, we maintain it. You just paste one token.