Skip to content

GravityCloudAI/matter-ai-mcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Matter AI Logo

MatterAI

AI Super Intelligence for Engineering

Matter Og Image

Matter AI MCP Server

MatterAI MCP offers code reviews right in your IDE when using AI Agents such as in Cursor, Windsurf, VS Code, Cline and more to enhances your development workflow. Built with FastMCP in Python, it provides advanced code review capabilities, implementation planning, and pull request generation to help you release code with confidence.

Features

  • Code review tools - Get comprehensive code reviews for individual files or full git diffs
  • Implementation planning - Generate detailed implementation plans for AI agents
  • Pull request generation - Create pull requests with auto-generated titles and descriptions
  • Random cat facts - Because who doesn't love cat facts?

Requirements

  • Python 3.11+
  • See requirements.txt for dependencies

Installation

pip install -r requirements.txt

Setup

API Key

To use Matter AI MCP Server, you need an API key:

  1. Obtain your API key from https://app.matterai.dev/settings
  2. Use this key in your MCP configuration as shown below

MCP Configuration

Create an MCP configuration file with the following content:

{
  "mcpServers": {
    "matter-ai": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.matterai.so/sse",
        "--header",
        "X-AUTH-TOKEN:MATTER_AI_API_KEY"
      ]
    }
  }
}

Replace MATTER_AI_API_KEY with your actual API key.

Usage

Run the server:

python server.py

The server will start on http://localhost:9000 (default for FastMCP).

Connecting from Cursor or Windsurf

  • Use the MCP (Model Context Protocol) integration
  • Point to: http://localhost:9000/sse
  • Tools will auto-discover and appear in the client

Tools

1. Code Review

codereview(generated_code: str, git_owner: str, git_repo: str, git_branch: str, git_user: str, languages: str) -> str Provides code review for the generated code.

2. Full Code Review

codereview_full(git_diff: str, git_owner: str, git_repo: str, git_branch: str, git_user: str) -> str Provides a comprehensive code review based on git diff output.

1. Cat Fact

cat_fact() -> str Returns a random cat fact.

Docker Build and Use

Building the Docker Image

docker build -t matter-ai-mcp .

Running the Docker Container

docker run -p 9000:9000 -e MATTER_API_ENDPOINT=https://api.matterai.so

The server will be accessible at http://localhost:9000.

License

MIT

Resources:

About

MatterAI MCP server to perform code reviews and more in IDE

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •