Skip to main content
Claude Code is the recommended client for Gcore MCP Server due to its deferred schema loading. It fetches tool schemas on demand when they match a query, allowing it to work with all Gcore tools without context window limits.

Prerequisites

Step 1. Install Claude Code

After installation, restart PowerShell to update the PATH.
Verify the installation:

Step 2. Authenticate Claude Code

  1. Start Claude Code in any directory:
  1. On first launch, select a color theme and press Enter.
  2. Enter the login command:
  1. A browser window opens for authentication. Sign in with a Claude Pro, Max, Team, or Enterprise account.
  2. If the browser displays an authentication code instead of redirecting automatically, copy the code and paste it into the terminal prompt.
Claude Code requires a paid subscription (Pro, Max, Team, or Enterprise). Free accounts cannot use Claude Code.

Step 3. Configure Gcore MCP Server

The configuration file defines MCP server connections. Add Gcore MCP Server to enable Gcore API access.
Open the configuration file:
Add the Gcore MCP Server entry to the mcpServers section:
Replace your-api-key with the Gcore API token. Save the file.
If the configuration file already contains other settings, merge the mcpServers section without overwriting existing content. JSON syntax errors cause Claude Code to fail silently.

Step 4. Verify the connection

Restart Claude Code to load the new configuration:
Check that Gcore MCP Server is connected:
The output shows gcore-mcp-server with status Connected:
Test with a resource query:
A successful response displays CDN resource details, including resource ID, CNAME, status, and configuration.
Claude Code displaying CDN resource details returned by Gcore MCP Server
If the server shows Failed to connect, verify that uv is installed and the API key is valid. Test the API key independently:
A 200 response confirms valid credentials. A 401 response indicates an invalid or expired key.

Tool search behavior

When a query mentions a product or operation, Claude Code searches tool names and descriptions for matches, loads schemas for matched tools, and executes the appropriate tool. The query “create a CDN resource” triggers a search for cdn and create patterns, returning only the relevant tool schema rather than loading all tools. Setting GCORE_TOOLS=* enables all available tools. This configuration is appropriate for Claude Code because schemas load only when needed. Other clients require tool filtering to avoid context window limits.