Knowledge Management · Developer Tools

Agent Rules MCP logo

Agent Rules MCP

4regab/agent-rules-mcp

This MCP server eliminates the need for local rule files in your workspace. Instead of copying coding standards into each project, you can now prompt AI agents to fetch specific coding rules or all your rules from any rules folder on a public repository or your own.

Install

npx -y agent-rules-mcp@latest

Client configuration

{
  "mcpServers": {
    "agent-rules": {
      "command": "npx",
      "args": [
        "-y",
        "agent-rules-mcp@latest"
      ],
      "env": {
        "GITHUB_OWNER": "<GITHUB_OWNER>",
        "GITHUB_REPO": "<GITHUB_REPO>",
        "GITHUB_PATH": "<GITHUB_PATH>",
        "GITHUB_BRANCH": "<GITHUB_BRANCH>"
      }
    }
  }
}

Environment variables

GITHUB_OWNERGITHUB_REPOGITHUB_PATHGITHUB_BRANCH
Author
@4regab
Category
Knowledge Management, Developer Tools
License
MIT
Updated
Oct 6, 2026

Features

  • GitHub Integration: Fetches rules from any GitHub repository

  • Simple Setup: Configure with environment variables, no local files needed

  • Configurable: Support for custom repositories, branches, and paths

  • Community Rules: Works with existing collections like awesome-cursorrules and awesome-copilot, etc.

  • Compound Extensions: Supports.chatmode.md,.prompt.md,.instructions.md files

  • Flexible Format: Supports any markdown files (.md/.mdc) with or without metadata

Tools (2)

  • get_rules

    Retrieves rule content for one or multiple domains from the GitHub repository rules folder.

  • list_rules

    Lists all available rule domains with descriptions.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Cursor logo

Cursor

Desktop · Freemium · Proprietary

The first agentic IDE. The Cursor editor truly merges how developers and AI work together, delivering a magical coding experience.

WindowsMacOSLinux
Windsurf logo

Windsurf

Desktop · Freemium · Proprietary

The first agentic IDE. The Windsurf editor truly merges how developers and AI work together.

WindowsMacOSLinux
VS Code GitHub Copilot logo

VS Code GitHub Copilot

Desktop · Freemium · MIT

VS Code integrates MCP with GitHub Copilot through agent mode, allowing direct interaction with MCP-provided tools in your agentic coding workflow. Configure servers in Claude Desktop, workspace, or user settings, with guided MCP installation and secure handling of secrets in input variables to avoid leaking hardcoded keys.

WindowsMacOSLinuxWeb
Kiro logo

Kiro

Desktop · Freemium · Proprietary

An AI assistant and IDE built to assist developers. Kiro brings structure to AI coding through spec-driven development, helping you do your best work.

WindowsMacOSLinux

Related MCP servers

More servers
MaxKB logo

MaxKB

1Panel-dev/MaxKB

16.2k

MaxKB = Max Knowledge Brain, it is an open-source platform for building enterprise-grade agents. MaxKB integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

Knowledge Management
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Knowledge Management
Supermemory logo

Supermemory

supermemoryai/supermemory

9.4k

State-of-the-art memory and context engine for AI.

Knowledge Management
Cognee logo

Cognee

topoteretes/cognee

2.1k

Cognee - The Free Open-Source AI Memory Platform for Agents.

Knowledge Management
Notion MCP Server (Official) logo

Notion MCP Server (Official)

makenotion/notion-mcp-server

1.5k

For the best experience, use Remote Notion MCP, our official hosted MCP server. This repository is a separate, self-hosted MCP server implementation that is no longer actively maintained or supported. Please use Remote Notion MCP instead.

Knowledge Management
DevDocs logo

DevDocs

cyberagiinc/devdocs

1.4k

[!WARNING] DevDocs Status: Not publicly maintained. Enhanced internal version at CyberAGI — public release coming soon. If you have any questions please reach out to info@cyberagi.ai.

Knowledge Management