# X_MCP_SCOPE_UNCOVERED

## Means

an MCP tool is covered by no scope in the scopes map

## Typical cause

defineAppMcp was given a scopes map, and a projected tool is named under none of its scopes, so no token scope could ever gate it.

## Fix

`List the tool under a scope in the scopes map passed to defineAppMcp, or remove it from the projection.`

[MCP and AI](/error-codes#mcp-and-ai)
