AI Code Review MCP Server
Provides tools for interacting with GitHub repositories, enabling AI agents to list repositories, retrieve pull request details, and access PR diffs for automated code reviews.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI Code Review MCP ServerReview the code changes in PR #42 of owner/repo."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI Code Review MCP Server
Simple MCP server for GitHub and FileSystem integration with AI agents (Copilot, Claude, etc.)
🚀 Quick Start
1. Install Dependencies
npm install2. Test MCP Server
node src/index.js3. Use with Copilot
Restart VS Code (close and reopen)
Open Copilot Chat and ask:
"List my GitHub repositories"
"Show pull requests in owner/repo"
"Read README.md file"
"List files in current directory"
Related MCP server: GitHub MCP Server
🛠️ Available Tools
GitHub Tools
github_list_repos- List your repositoriesgithub_list_prs- List pull requestsgithub_get_pr- Get PR detailsgithub_get_pr_diff- Get PR diff for review
FileSystem Tools
fs_read_file- Read file contentsfs_list_files- List directory contentsfs_search_files- Search files by pattern
⚙️ Configuration
Edit .mcp/config.json:
{
"mcpServers": {
"ai-code-review": {
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "your_token_here",
"WORKSPACE_PATH": "/path/to/workspace"
}
}
}
}📝 Usage Examples
With Copilot Chat:
"List my GitHub repositories"
"Show me PR #123 in owner/repo"
"Read the package.json file"
With Other Agents:
The MCP server implements Model Context Protocol, compatible with:
GitHub Copilot
Claude Desktop
Any MCP-compatible AI agent
🔒 Security
GitHub token stored in config (add
.mcp/to.gitignore)FileSystem access restricted to workspace path
Path traversal protection built-in
Maintenance
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
- Flicense-quality-maintenanceEnables AI assistants to interact with local Git repositories for operations like status, commits, branching, and diffs, plus GitHub API integration for managing pull requests when authenticated.
- AlicenseAquality-maintenanceEnables AI agents to interact with GitHub repositories through the GitHub REST API for managing files, issues, and repository metadata. It supports both read operations like searching code and write operations such as creating repositories and updating issue comments.9
- Flicense-qualityCmaintenanceEnables AI agents to interact with GitHub repositories, issues, pull requests, code, and more through a comprehensive set of tools.
- FlicenseBqualityDmaintenanceEnables AI assistants to inspect local Git repositories and interact with the GitHub API for reading commits, diffs, files, issues, comments, pull requests, and project boards.10201
Related MCP Connectors
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Git-backed platform for skills, tools, and context for AI agents
Repo intel for AI coding agents: overview, PRs, contributors, hot files, CI, deps. Remote MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/namph-kozocom/review-code-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server