home / mcp / chromium commits mcp server

Chromium Commits MCP Server

Queries latest Chromium commits for files and provides detailed commit information for MCP clients.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "hydavinci-chromium-commits": {
      "command": "python",
      "args": [
        "server.py"
      ]
    }
  }
}

You can run a Python-based MCP server that exposes an endpoint to fetch the latest Chromium commits for files, enabling seamless integration with AI agents and other MCP clients. This server focuses on providing a simple, programmatic way to request commit data for Chromium source files and to retrieve detailed information and diffs when needed.

How to use

Use the MCP server to access the get_chromium_latest_commit tool from MCP-compatible clients. You can start the local server and then query the latest commit information for any Chromium file, or request detailed commit data including the list of modified files and diffs.

How to install

Prerequisites you need before starting the MCP server:

cd src
python server.py
```
This starts the MCP server and exposes the get_chromium_latest_commit tool to MCP clients.

Additional sections

Configuration and security considerations: The server runs locally via Python and does not require external authentication by default. If you intend to expose the endpoint beyond localhost, implement appropriate access controls and networking security on your deployment platform.

Usage notes: The MCP server provides a single primary endpoint tool named get_chromium_latest_commit for querying the latest commit information for a given file. You can use the Python API or an MCP client to call this tool and receive structured results that include the commit hash, author, timestamp, message, and the list of modified files.

Troubleshooting tips: If the server fails to start, ensure Python is available in your environment and that port/configuration you intend to use is not conflicting with other services. Check for any Python dependencies required by the server script and install them as needed.

Available tools

get_chromium_latest_commit

Exposed MCP tool to fetch the latest commit information for a specified Chromium source file, including basic commit data and optional details/diff output.