🤖 AI Assistant (MCP Server)
A companion Model Context Protocol server, @certinia/apex-log-mcp (source on GitHub), exposes Apex log analysis tools to AI assistants. Use it with GitHub Copilot Chat, Claude Code, Cursor, or any MCP client.
Available tools: get_apex_log_summary, analyze_apex_log_performance, find_performance_bottlenecks, execute_anonymous.
VS Code (GitHub Copilot Chat)
Run MCP: Add Server from the Command Palette and add an npx server with the command npx -y @certinia/apex-log-mcp, or add it to .vscode/mcp.json:
{
"servers": {
"apex-log-analyzer": {
"command": "npx",
"args": ["-y", "@certinia/apex-log-mcp"]
}
}
}
Claude Code
Add the server with the Claude CLI:
claude mcp add apex-log-analyzer -- npx -y @certinia/apex-log-mcp
Other MCP clients
The same npm package works in Cursor, and other MCP hosts. See the @certinia/apex-log-mcp README for client-specific configuration snippets.