Skip to main content
Most AI clients cannot process hundreds of tools simultaneously. The GCORE_TOOLS environment variable controls which tools are exposed by the server, reducing context consumption and improving tool selection accuracy.

Tool filtering overview

Gcore MCP Server provides approximately 720 tools covering the full API surface. Loading all tools consumes significant context window space, leaving less room for conversation. When too many similar tools are available, models may select incorrect tools or produce slower responses due to schema processing overhead. Claude Code handles large tool sets through deferred loading—tool schemas load on demand rather than at startup. Other clients require explicit filtering to function properly.

Filter syntax

The GCORE_TOOLS variable accepts predefined toolset names, wildcard patterns, and exact tool names. These can be combined in a single value separated by commas. Predefined toolsets are named collections of related tools:
GCORE_TOOLS="instances"
GCORE_TOOLS="instances,management"
Wildcard patterns match tools by name prefix using *:
GCORE_TOOLS="cdn.*"
GCORE_TOOLS="cloud.instances.*"
GCORE_TOOLS="dns.records.*"
Exact tool names specify individual tools:
GCORE_TOOLS="cloud.instances.create,cloud.instances.delete"
Mixed configurations combine toolsets and patterns:
GCORE_TOOLS="instances,management,cloud.gpu_baremetal.clusters.*"

Predefined toolsets

Gcore MCP Server includes predefined toolsets that group related operations. Using toolsets simplifies configuration compared to listing individual tools.
ToolsetDescriptionIncluded tools
managementAccount and project operationsProject list, region list, client info
instancesVirtual machine operationsCreate, delete, start, stop, resize
baremetalBare metal serversCreate, delete, reinstall, power
gpu_baremetalGPU bare metal clustersCluster management, node operations
gpu_virtualGPU virtual clustersVirtual GPU cluster operations
networkingNetwork resourcesNetworks, subnets, floating IPs, load balancers
securitySecurity resourcesSecurity groups, SSH keys, secrets
storageStorage resourcesVolumes, snapshots, file shares
aiAI clustersAI cluster management
ai_mlAI/ML inferenceInference deployment, model management
billingBilling informationCost reports, usage data
containersContainer registriesRegistry and image management
cleanupDeletion operationsResource cleanup tools
listRead-only operationsAll list/get operations

Pattern matching

Patterns use * as a wildcard to match tool name prefixes. The pattern cdn.* matches all CDN tools including cdn.cdn_resources.list, cdn.cdn_resources.create, and cdn.origins.list. More specific patterns like cdn.cdn_resources.* match only the CDN resource tools, excluding origin and other CDN tools.
PatternMatches
cdn.*All CDN tools
cdn.cdn_resources.*CDN resource tools only
cloud.instances.*Cloud instance tools
cloud.*All cloud service tools
dns.records.createSingle specific tool
*All tools
Multiple products combine with commas: GCORE_TOOLS="cdn.*,dns.*" exposes all CDN and DNS tools. Nested filtering narrows scope: GCORE_TOOLS="cloud.gpu_baremetal.clusters.*" exposes GPU bare metal cluster tools without including other cloud tools.

Default behavior

When GCORE_TOOLS is not set, the server applies default toolsets based on transport mode. Stdio transport defaults to the management toolset, while HTTP transport defaults to management,instances. These defaults provide minimal tools for basic exploration without overwhelming the client.
TransportDefault tools
stdiomanagement toolset
HTTPmanagement,instances toolsets

Priority and combination

When combining toolsets and patterns, toolset tools are included first, pattern-matched tools are added second, and duplicates are removed. Toolset definitions take precedence over pattern matches. With GCORE_TOOLS="instances,cloud.volumes.*", all instances toolset tools load first, then volume tools from the pattern are added. If the same tool appears in both, it appears once in the final set.

Configuration examples

CDN-focused work requires the CDN tools: GCORE_TOOLS="cdn.*". DNS management uses DNS tools: GCORE_TOOLS="dns.*". Cloud infrastructure work typically combines management, instances, storage, and networking: GCORE_TOOLS="management,instances,storage,networking". GPU cluster operations require management and GPU toolsets: GCORE_TOOLS="management,gpu_baremetal".
Setting GCORE_TOOLS=* exposes all 720 tools. Use this configuration with Claude Code where deferred loading prevents context overflow. Other clients may fail or become unresponsive with this setting.

Verify active tools

After configuring, verify which tools are exposed using MCP Inspector. Connect with the desired GCORE_TOOLS value and view the Tools panel to count and verify the tool list. Server logs also indicate loaded tools at startup. Running GCORE_TOOLS="cdn.*" gcore-mcp-server 2>&1 | head -50 displays startup messages including the tool count.
Patterns are case-sensitive and must match actual tool names. If no tools appear, check the pattern syntax and use MCP Inspector to discover correct tool names. The product prefix matters—cdn differs from cloud in the tool namespace.