MCP Resources Reference -- cortex

July 30, 2026 ยท View on GitHub

Overview

MCP resources expose read-only data via URI-based access. Unlike tools, resources do not perform mutations -- they return the current state of a data source.

Available resources

cortex exposes one MCP resource:

URIDescriptionMIME type
cortex://schema/mcp-toolJSON schema for the cortex MCP tool and action-based parametersapplication/json

All log data access is through the single cortex MCP tool. Tools are preferred over log resources because queries benefit from parameterized filtering (hostname, severity, source identity, time range, FTS5 query, and correlation windows) that URI templating cannot express efficiently.

Future considerations

If log data resources are added in the future, they would use the cortex:// URI scheme:

cortex://stats           # Database statistics
cortex://hosts           # Host registry
cortex://hosts/{name}    # Logs for a specific host

See also