- Start the stack with
docker compose up -d - Open
http://localhost:3000 - Complete setup with
SETUP_BOOTSTRAP_TOKEN - Verify the MCP endpoint at
http://localhost:4000/mcp - For remote servers: generate an MCP API key from the UI (Settings → API Keys)
Create or update .cursor/mcp.json:
{
"mcpServers": {
"context-forge": {
"url": "http://localhost:4000/mcp"
}
}
}Create or update ~/.cursor/mcp.json:
{
"mcpServers": {
"context-forge": {
"url": "http://localhost:4000/mcp"
}
}
}For remote servers, add the X-API-Key header with your forge_ API key:
{
"mcpServers": {
"context-forge": {
"url": "https://your-server.example.com/mcp",
"headers": {
"X-API-Key": "forge_YOUR_API_KEY"
}
}
}
}You can copy the generic agent instructions into a Cursor rules file:
cp templates/AGENTS.md /path/to/your/project/.cursor/rules/context-forge.md- The UI/API is authenticated after setup
- For remote servers, always use an MCP API key (
X-API-Keyheader) - API keys can be managed from the UI under Settings → API Keys
- Alternatively, prefer private networking, a VPN, or a secure tunnel for MCP access