Windsurf
Configure Windsurf to use docpenny’s MCP tools for PDF generation.
Note: Windsurf uses a
serverUrlfield instead ofurlfor 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
| Problem | Solution |
|---|---|
Auth required or 401 | Check your x-api-key value. Keys can be managed in the dashboard. |
Connection refused | Verify the URL is https://mcp.docpenny.com/mcp. |
| Config not found | Ensure the file is at ~/.codeium/mcp_config.json — this is a global config file, not project-level. |
| Tools not appearing | Restart Windsurf after modifying the config file. |