Skip to main content
Glama
zhiyue

mgx-thinking-log-mcp

by zhiyue

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-mcp

Related 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-mcp

Then set environment variable MGX_TOKEN or pass token per-request.

Environment Variables

Variable

Description

Default

MGX_TOKEN

Auth token (appended as ?token= to skip Bearer auth)

-

MGX_BASE_URL

Base URL for the MGX API

http://test-tool.deepwisdomai.com

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 ID

  • env (optional) - Environment: prod, alpha, pre, us-test, us-test-2 (default: prod)

  • token (optional) - Auth token, overrides MGX_TOKEN env var

Example prompt:

Read the thinking logs for chat abc123 in prod environment

download_thinking_logs

Download thinking logs to a local file.

Parameters:

  • chat_id (required) - The chat/conversation ID

  • env (optional) - Environment (default: prod)

  • output_path (required) - Local file path to save logs

  • token (optional) - Auth token

Example prompt:

Download the logs for chat abc123 to /tmp/logs.txt

get_mgx_env

Fetch the mgxenv.json configuration for a specific chat version.

Parameters:

  • chat_id (required) - The chat/conversation ID

  • env (optional) - Environment (default: prod)

  • version (required) - Version number

  • token (optional) - Auth token

Example prompt:

Get the mgxenv config for chat abc123 version v2

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 start

License

MIT

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A local MCP server that gives AI assistants a long-term memory by capturing sessions verbatim and surfacing relevant context automatically.
    Last updated
    15
    475
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP 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.
    Last updated
    3
    24
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for log file analysis. Gives LLMs the ability to efficiently analyze large log files without loading them into context.
    Last updated
    7
    95
    MIT

View all related MCP servers

Related MCP Connectors

  • Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

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