mgx-thinking-log-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mgx-thinking-log-mcp Read thinking logs for chat abc123 in prod"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mgx-thinking-log-mcp
An MCP (Model Context Protocol) server for downloading and reading MGX thinking logs. Enables AI agents to fetch and analyze MGX conversation logs programmatically.
Installation
npm install -g mgx-thinking-log-mcpRelated MCP server: roo-activity-logger
Quick Start
Claude Desktop / Cursor (Team Mode)
Add to your MCP config (claude_desktop_config.json or .cursor/mcp.json):
{
"mcpServers": {
"mgx-thinking-log": {
"command": "npx",
"args": ["-y", "mgx-thinking-log-mcp"],
"env": {
"MGX_TOKEN": "your-token-here"
}
}
}
}Claude Code
claude mcp add mgx-thinking-log -- npx -y mgx-thinking-log-mcpThen set environment variable MGX_TOKEN or pass token per-request.
Environment Variables
Variable | Description | Default |
| Auth token (appended as | - |
| Base URL for the MGX API |
|
Tools
get_thinking_logs
Fetch thinking logs for a chat. Returns log content as text for agent analysis.
Parameters:
chat_id(required) - The chat/conversation IDenv(optional) - Environment:prod,alpha,pre,us-test,us-test-2(default:prod)token(optional) - Auth token, overridesMGX_TOKENenv var
Example prompt:
Read the thinking logs for chat
abc123in prod environment
download_thinking_logs
Download thinking logs to a local file.
Parameters:
chat_id(required) - The chat/conversation IDenv(optional) - Environment (default:prod)output_path(required) - Local file path to save logstoken(optional) - Auth token
Example prompt:
Download the logs for chat
abc123to/tmp/logs.txt
get_mgx_env
Fetch the mgxenv.json configuration for a specific chat version.
Parameters:
chat_id(required) - The chat/conversation IDenv(optional) - Environment (default:prod)version(required) - Version numbertoken(optional) - Auth token
Example prompt:
Get the mgxenv config for chat
abc123versionv2
Rate Limiting
The upstream API has a global rate limit. Keep concurrent requests under 10 without prior arrangement. For higher concurrency, contact the platform team.
Development
git clone <repo-url>
cd mgx-thinking-log-mcp
npm install
npm run build
npm startLicense
MIT
Available Tools
3 toolsdownload_thinking_logsA
Download MGX thinking logs to a local file. Useful for saving large log files for later analysis.
Inputs: chat_id (required), output_path (required), env, token.
get_mgx_envA
Fetch the mgxenv.json configuration for a specific MGX chat version. Returns environment config as JSON.
Inputs: chat_id (required), version (required), env, token.
get_thinking_logsA
Fetch MGX thinking logs for a given chat. Returns the log content as text, suitable for agent analysis.
Inputs: chat_id (required), env, token.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool targets a distinct operation: fetching log content as text, downloading logs to a file, and retrieving environment config. The difference between get and download is clear—one returns content for analysis, the other persists to disk.
All tool names follow a consistent verb_noun snake_case pattern (get_, download_). The nouns are descriptive and aligned with the tool's function, with no mixed naming conventions.
Three tools is a well-scoped count for a focused logging/configuration server. Each tool serves a distinct purpose and none are redundant or bloat.
Core retrieval operations are covered: getting logs, downloading logs, and fetching environment config. A minor gap is the lack of listing or searching available logs, but the tool set likely expects chat IDs as inputs, making the surface adequate.
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
An MCP server that gives your AI access to the source code and docs of all public github repos
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseAqualityBmaintenanceA local MCP server that gives AI assistants a long-term memory by capturing sessions verbatim and surfacing relevant context automatically.15922MIT
- AlicenseAqualityDmaintenanceMCP server that automatically logs AI coding assistant activities such as command executions and code generation, saving them as JSON files for later search and analysis.325MIT
- AlicenseAqualityDmaintenanceMCP server for log file analysis. Gives LLMs the ability to efficiently analyze large log files without loading them into context.7101MIT
- AlicenseNot gradedqualityDmaintenanceA local MCP server for AI agents to log activities, query logs, and leave notes for each other, featuring a web UI and REST API.MIT