Windsurf

Configure Windsurf to use docpenny’s MCP tools for PDF generation.

Note: Windsurf uses a serverUrl field instead of url for the endpoint.

Prerequisites

  • A docpenny API key (create one in Settings → API Keys in the dashboard)

Configuration

Add to ~/.codeium/mcp_config.json:

{
  "mcpServers": {
    "docpenny": {
      "serverUrl": "https://mcp.docpenny.com/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Some versions of Windsurf also accept "url" in place of "serverUrl". If one doesn’t work, try the other.

Troubleshooting

ProblemSolution
Auth required or 401Check your x-api-key value. Keys can be managed in the dashboard.
Connection refusedVerify the URL is https://mcp.docpenny.com/mcp.
Config not foundEnsure the file is at ~/.codeium/mcp_config.json — this is a global config file, not project-level.
Tools not appearingRestart Windsurf after modifying the config file.
en