MemMCP (Cheat Engine) MCP server

Memory scanning and modification tool that enables Cheat Engine-like functionality for manipulating application memory in Python
Back to servers
Setup instructions
Provider
un4ckn0wl3z
Release date
Apr 09, 2025
Language
Python
Stats
26 stars

The MemMCP server provides Cheat Engine-like functionality through the Model Context Protocol (MCP). This proof-of-concept tool allows you to interact with memory in a way similar to Cheat Engine but using the MCP protocol.

Installation

You'll need to first clone the repository and configure the server to match your environment.

Prerequisites

  • Go programming language installed on your system
  • Basic understanding of memory scanning concepts

Setup

  1. Clone the repository:

    git clone https://github.com/username/MemMCP.git
    cd MemMCP
    
  2. Configure the server by editing the mcpserver-config.json file:

    {
      "server_host": "localhost",
      "server_port": 8000,
      "other_settings": "value"
    }
    

    Make sure to adjust the values to match your specific environment requirements.

  3. Build and run the server:

    go build
    ./MemMCP
    

Usage

Basic Operation

The MCP server provides memory scanning and modification capabilities through a web interface or API. Here's how to perform basic operations:

Memory Scanning

To scan for a specific value in memory:

curl -X POST http://localhost:8000/scan -d '{"value": 100, "type": "int"}'

Memory Modification

To modify a found memory address:

curl -X POST http://localhost:8000/write -d '{"address": "0x12345678", "value": 200, "type": "int"}'

Advanced Features

Value Types

The server supports multiple value types:

  • int
  • float
  • double
  • string
  • byte

For example, to scan for a string value:

curl -X POST http://localhost:8000/scan -d '{"value": "player_name", "type": "string"}'

Scan Comparisons

You can perform various comparison types:

  • Exact value
  • Greater than
  • Less than
  • Changed value
  • Unchanged value

Example of finding values that have increased:

curl -X POST http://localhost:8000/scan -d '{"comparison": "increased"}'

Troubleshooting

If you encounter connection issues, verify that:

  • The server is running
  • Your mcpserver-config.json file contains the correct host and port
  • No firewall is blocking the connection
  • The correct permissions are set for memory access on your system

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "memmcp" '{"command":"npx","args":["-y","memmcp"]}'

See the official Claude Code MCP documentation for more details.

For Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "memmcp": {
            "command": "npx",
            "args": [
                "-y",
                "memmcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "memmcp": {
            "command": "npx",
            "args": [
                "-y",
                "memmcp"
            ]
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later