ConsoleSpy MCP Server
ConsoleSpy MCP servers enable AI models to interact with browser console logs, providing capabilities for real-time debugging, error monitoring, and application analysis.
Overview
The ConsoleSpy MCP Server captures browser console logs and makes them available to AI models through the Model Context Protocol (MCP). This allows for real-time debugging, error monitoring, and in-depth application analysis directly within AI-assisted development environments.
Created by:
Developed by mgsrevolver
Key Features
Real-time Log Capture
Captures browser console logs in real-time for immediate analysis.
Enhanced Debugging
Provides AI models with direct access to application runtime information for debugging.
Application Analysis
Enables AI to analyze application behavior and identify potential issues.
Seamless Integration
Integrates with Cursor IDE through the Model Context Protocol.
Available Tools
Quick Reference
| Tool | Purpose | Category |
|---|---|---|
get_logs | Retrieve captured console logs | Read |
clear_logs | Clear all captured console logs | Write |
Detailed Usage
get_logs▶
Retrieve all captured console logs from the ConsoleSpy server.
use_mcp_tool({
server_name: "consolespy",
tool_name: "get_logs",
arguments: {}
});
Returns an array of log entries.
clear_logs▶
Clear all captured console logs from the ConsoleSpy server.
use_mcp_tool({
server_name: "consolespy",
tool_name: "clear_logs",
arguments: {}
});
Returns a confirmation message.
Installation
{
"mcpServers": {
"consolespy": {
"command": "npx",
"args": [
"-y",
"supergateway",
"--port",
"8766",
"--stdio",
"node",
"console-spy-mcp.js"
],
"env": {
"CONSOLE_SERVER_URL": "http://localhost:3333/mcp"
}
}
}
}
Sources
Related Articles
Vectara MCP Server
Vectara MCP servers enable AI models to interact with Vectara's RAG platform, providing capabilities for fast and reliable Retrieval-Augmented Generation, semantic search, and hallucination correction.
ServiceNow MCP Server
ServiceNow MCP server enables AI models to interact with ServiceNow instances, providing capabilities for IT service management, incident tracking, workflow automation, and knowledge base management through natural language.
Datadog MCP Server
Datadog MCP servers enable AI models to interact with Datadog observability: metrics, logs, traces, monitors, dashboards, incidents, and infrastructure insights.