LogScale MCP Server — VS Code ExtensionA VS Code extension that bundles the LogScale MCP Server and provides a GUI-configured experience for querying CrowdStrike LogScale logs from AI assistants like GitHub Copilot and Claude. What It DoesOnce installed, the extension starts an MCP server that lets you query LogScale logs through natural language in Copilot Chat:
No need to write CQL queries manually — the AI assistant handles query construction, submission, polling, and result formatting. InstallFrom VS Code Marketplace
From VSIX
ConfigurationOpen VS Code Settings (Cmd+, / Ctrl+,) and search for "LogScale":
MCP ToolsThe extension provides 2 MCP tools to AI assistants:
|
| Parameter | Type | Required | Description |
|---|---|---|---|
queryString |
string | Yes | CQL query string |
start |
string/number | No | Start time — relative ("1h", "7d") or epoch ms |
end |
string/number | No | End time — "now" or epoch ms |
repository |
string | No | Target repository (overrides default) |
maxEvents |
number | No | Max events to return (default: 200, max: 500) |
get_query_job
Check status or retrieve results of an existing query job.
| Parameter | Type | Required | Description |
|---|---|---|---|
jobId |
string | Yes | Query job ID from a previous search |
repository |
string | No | Repository the job was submitted to |
maxEvents |
number | No | Max events to return |
Usage
- Install the extension and configure your LogScale connection in Settings
- Open Copilot Chat (Cmd+Shift+I / Ctrl+Shift+I)
- Switch to Agent mode (required for MCP tool access)
- Ask questions about your logs in natural language
Example Prompts
Show me the last hour of errors in the production namespace
Find all 500 errors from the api-server pod in the last 24 hours
How many errors occurred in the last 7 days grouped by pod name?
Search logs for correlation ID abc123def456
Show me deployment failures this week
Commands
| Command | Description |
|---|---|
LogScale MCP: Show Server Health |
Display MCP server health status |
CQL Query Examples
# Namespace filter
"kubernetes.namespace_name" = "your-namespace"
# Errors in a namespace
kubernetes.namespace_name = "your-namespace" | ERROR
# Aggregations
ERROR | groupBy(kubernetes.pod_name, function=count())
ERROR | top(log, limit=10)
ERROR | timechart(span=5m)
Requirements
- VS Code ≥ 1.96.0
- GitHub Copilot extension (for Copilot Chat MCP integration)
- A CrowdStrike LogScale instance with API access