Prerequisites and server installation common to all AI clients. For client-specific configuration, see Connect Claude Code or Connect Cursor IDE.Documentation Index
Fetch the complete documentation index at: https://gcore.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
Install uv Gcore MCP Server runs viauvx, which is part of the uv package manager.
- macOS/Linux
- Windows
Install the server
- Temporary (uvx)
- Persistent (uv tool)
uvx runs the server in a temporary environment without installing it permanently. The AI client handles this automatically using the uvx command in its configuration—no manual step is needed.To verify the server starts correctly, run it directly:If the AI client shows “Failed to connect to MCP server”, verify that
uv is installed (uv --version) and test the uvx command directly from the terminal. A missing comma or bracket in the config file also prevents loading.Environment variables
| Variable | Required | Description |
|---|---|---|
GCORE_API_KEY | Yes | API token for authentication |
GCORE_TOOLS | No | Tool filter pattern — controls which tools are loaded |
GCORE_CLOUD_PROJECT_ID | No | Default project ID for Cloud operations |
GCORE_CLOUD_REGION_ID | No | Default region ID for Cloud operations |
Requests that return “401 Unauthorized” indicate an invalid or expired API token. Verify the token in the Gcore Customer Portal and check that it has permissions for the requested product.
Configure Cloud defaults
Cloud tools requireproject_id and region_id for most operations. Setting defaults avoids specifying them in every request.
To find project and region IDs, ask the AI client:
env section of the AI client configuration:
If Cloud requests return errors about a missing project or region, add
GCORE_CLOUD_PROJECT_ID and GCORE_CLOUD_REGION_ID to the env section, or specify them inline: “List VMs in project 1186668, region Luxembourg”. Requests that return “429 Too Many Requests” indicate rate limiting—wait 60 seconds before retrying.