Skip to content

MCP Server

Regle offers an MCP server that can be used to get documentation and autocomplete in your favorite AI assistant editor.

The MCP server provides the following features:

  • Create form validation rules
  • Search documentation
  • Get precise information on any rule
  • Create custom rules
  • API information on every Regle helper

Cursor

Install MCP Server
Install MCP Server

Or add to your .cursor/mcp.json

json
{
  "mcpServers": {
    "regle": {
      "command": "npx",
      "args": ["@regle/mcp-server"]
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

json
{
  "mcpServers": {
    "regle": {
      "command": "npx",
      "args": ["@regle/mcp-server"]
    }
  }
}

Released under the MIT License. Logo by Johannes Lacourly