Skip to main content

1. Generate an API Key

1

Open Settings

In the Whilst web app, go to Settings → API Keys.
2

Create a new key

Click Generate API Key, give it a name (e.g. “Cursor IDE”), and select the permissions you need.
3

Copy the key

Copy the key immediately — it won’t be shown again. It looks like: whl_live_abc123...

2. Configure Your IDE

Add to your Cursor MCP config (~/.cursor/mcp.json):
{
  "mcpServers": {
    "whilst": {
      "command": "npx",
      "args": ["@whilst/mcp-server"],
      "env": {
        "WHILST_API_KEY": "whl_live_your_key_here"
      }
    }
  }
}

3. Verify

After configuring, ask your AI assistant:
Search my Whilst docs for deployment guides
It should return matching documents from your workspace.

Rate Limits

API keys are limited to 100 requests per minute. All operations are logged for audit purposes.