Quick Start Guide
Get Rulesforge up and running in your favorite IDE in minutes
Cursor
Add Rulesforge to your Cursor configuration for seamless LLM rule integration.
1. Open MCP Configuration
In Cursor, look for MCP settings in your configuration file:
~/.cursor/mcp.json2. Add Configuration
Add this to your MCP configuration (no installation needed - uses npx):
{
"mcpServers": {
"rulesforge": {
"command": "npx",
"args": [
"-y",
"@rulesforge/mcp-server"
],
"env": {
"RULESFORGE_API_URL": "https://rulesforge.app",
"RULESFORGE_ORG_ID": "your-org-id",
"RULESFORGE_API_KEY": "your-api-key"
}
}
}
}Note: Both RULESFORGE_ORG_ID and RULESFORGE_API_KEY are required. RULESFORGE_API_URL is optional (defaults
to https://rulesforge.app).
3. Restart Cursor
Close and reopen Cursor to apply the configuration.
Claude Code
Add Rulesforge to Claude Code for AI-assisted development with your custom rules.
1. Open Claude Code Terminal
Open your Claude Code terminal and run the following command:
claude mcp add --transport stdio rulesforge --env RULESFORGE_ORG_ID=your-org-id --env RULESFORGE_API_KEY=your-api-key --env RULESFORGE_API_URL=https://rulesforge.app -- npx -y @rulesforge/mcp-server2. Get Your Credentials
Replace the placeholder values above with your credentials:
- RULESFORGE_ORG_ID: Found in your dashboard URL
(format:
org_XXXXX) - RULESFORGE_API_KEY: Create one in your organization's API Keys section
- RULESFORGE_API_URL: Optional (defaults to https://rulesforge.app)
3. Start Using It
After installation, Rulesforge will be automatically available in Claude Code. Your organization's rules and guidelines will be accessible to Claude during your development sessions.
VS Code
Configure VS Code with the Rulesforge MCP server for AI-assisted development.
1. Install Continue Extension
Install the Continue extension from the VS Code marketplace:
Continue - Copilot Alternative2. Configure MCP Settings
Add Rulesforge to your Continue configuration (`.continue/config.json`):
{
"mcpServers": {
"rulesforge": {
"command": "npx",
"args": [
"-y",
"@rulesforge/mcp-server"
],
"env": {
"RULESFORGE_API_URL": "https://rulesforge.app",
"RULESFORGE_ORG_ID": "your-org-id",
"RULESFORGE_API_KEY": "your-api-key"
}
}
}
}Note: Both RULESFORGE_ORG_ID and RULESFORGE_API_KEY are required. RULESFORGE_API_URL is optional (defaults
to https://rulesforge.app).
3. Reload Extension
Restart the Continue extension to apply changes.
JetBrains IDEs
Add Rulesforge to PyCharm, IntelliJ, WebStorm, and other JetBrains IDEs.
1. Install AI Plugin
Use the JetBrains plugin marketplace to install AI assistant plugins (e.g., AI Assistant, GitHub Copilot, etc.)
2. Configure MCP Settings
Add Rulesforge to your plugin configuration with the MCP server settings:
{
"mcpServers": {
"rulesforge": {
"command": "npx",
"args": [
"-y",
"@rulesforge/mcp-server"
],
"env": {
"RULESFORGE_API_URL": "https://rulesforge.app",
"RULESFORGE_ORG_ID": "your-org-id",
"RULESFORGE_API_KEY": "your-api-key"
}
}
}
}Note: Both RULESFORGE_ORG_ID and RULESFORGE_API_KEY are required.
3. Restart IDE
Restart your JetBrains IDE to apply the MCP configuration.
Configuration Details
Getting Your API Key
- 1. Log in to your Rulesforge account
- 2. Go to your organization's settings
- 3. Navigate to the "API Keys" section
- 4. Click "+ Create New Key" and give it a name (e.g., "Cursor Integration")
- 5. Copy the key immediately - you won't see it again!
Finding Your Organization ID
Your organization ID is required for the RULESFORGE_ORG_ID environment variable:
- • Organization ID: Found in your dashboard URL (format:
org_XXXXX) - • You can also find it in your organization settings page
Next Steps
- ✓ Create an API key in your organization dashboard
- ✓ Choose your IDE and follow the setup guide above
- ✓ Set your active tags to control which rules are loaded
- ✓ Start using your LLM rules in your IDE!