moling

MCP.Pizza Chef: gojue

MoLing is a locally deployed, dependency-free MCP server that interfaces with operating system APIs to enable file system operations like reading, writing, merging, and aggregation, as well as executing system commands. It acts as an office AI assistant by providing real-time computer and browser usage context to LLMs, facilitating seamless interaction with the user's environment for enhanced productivity and automation.

Use This MCP server To

Perform file system operations via OS APIs Execute system commands from LLM prompts Aggregate and analyze file data locally Enable AI-assisted office workflows without dependencies Provide real-time computer and browser context to models

README

MoLing MCP Server

English | 中文 | 日本語

GitHub stars GitHub forks CI Github Version


Introduction

MoLing is a computer-use and browser-use MCP Server that implements system interaction through operating system APIs, enabling file system operations such as reading, writing, merging, statistics, and aggregation, as well as the ability to execute system commands. It is a dependency-free local office automation assistant.

Advantages

Important

Requiring no installation of any dependencies, MoLing can be run directly and is compatible with multiple operating systems, including Windows, Linux, and macOS. This eliminates the hassle of dealing with environment conflicts involving Node.js, Python, Docker and other development environments.

Features

Caution

Command-line operations are dangerous and should be used with caution.

  • File System Operations: Reading, writing, merging, statistics, and aggregation
  • Command-line Terminal: Execute system commands directly
  • Browser Control: Powered by github.com/chromedp/chromedp
    • Chrome browser is required.
    • In Windows, the full path to Chrome needs to be configured in the system environment variables.
  • Future Plans:
    • Personal PC data organization
    • Document writing assistance
    • Schedule planning
    • Life assistant features

Warning

Currently, MoLing has only been tested on macOS, and other operating systems may have issues.

Supported MCP Clients

Demos

moling-browser-use.mp4

MoLing in Claude

Configuration Format

MCP Server (MoLing) configuration

The configuration file will be generated at /Users/username/.moling/config/config.json, and you can modify its contents as needed.

If the file does not exist, you can create it using moling config --init.

MCP Client configuration

For example, to configure the Claude client, add the following configuration:

Tip

Only 3-6 lines of configuration are needed.

Claude config path: ~/Library/Application\ Support/Claude/claude_desktop_config

{
  "mcpServers": {
    "MoLing": {
      "command": "/usr/local/bin/moling",
      "args": []
    }
  }
}

and, /usr/local/bin/moling is the path to the MoLing server binary you downloaded.

Automatic Configuration

run moling client --install to automatically install the configuration for the MCP client.

MoLing will automatically detect the MCP client and install the configuration for you. including: Cline, Claude, Roo Code, etc.

Operation Modes

  • Stdio Mode: CLI-based interactive mode for user-friendly experience
  • SSE Mode: Server-Side Rendering mode optimized for headless/automated environments

Installation

Option 1: Install via Script

Linux/MacOS
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.sh)"
Windows

Warning

Not tested, unsure if it works.

powershell -ExecutionPolicy ByPass -c "irm https://raw.githubusercontent.com/gojue/moling/HEAD/install/install.ps1 | iex"

Option 2: Direct Download

  1. Download the installation package from releases page
  2. Extract the package
  3. Run the server:
    ./moling

Option 3: Build from Source

  1. Clone the repository:
git clone https://github.com/gojue/moling.git
cd moling
  1. Build the project (requires Golang toolchain):
make build
  1. Run the compiled binary:
./bin/moling

Usage

After starting the server, connect using any supported MCP client by configuring it to point to your MoLing server address.

License

Apache License 2.0. See LICENSE for details.

moling FAQ

How does MoLing interact with the operating system?
MoLing uses OS APIs to perform file operations and execute system commands securely and locally.
Is MoLing dependent on external services or cloud?
No, MoLing is fully dependency-free and runs locally on the user's machine.
What types of file operations can MoLing perform?
It can read, write, merge, aggregate, and generate statistics on files.
Can MoLing execute arbitrary system commands?
Yes, it supports executing system commands as part of its MCP server capabilities.
How does MoLing enhance AI office assistant workflows?
By providing real-time computer and browser usage context, it enables LLMs to interact with the user's environment effectively.
Is MoLing suitable for privacy-sensitive environments?
Yes, since it runs locally without external dependencies, it ensures data privacy and security.
What platforms does MoLing support?
MoLing supports major operating systems where it can access OS APIs for file and command operations.
How does MoLing integrate with LLM providers?
It is provider-agnostic and can feed context to models like OpenAI, Claude, and Gemini.