mgx-thinking-log-mcp
Click on "Install 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-mcpRead 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
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhiyue/mgx-thinking-log-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server