Using Windsurf with Unkey
Build applications with Windsurf’s AI-powered development environment and Unkey’s APIs
Windsurf is an AI-powered development environment that combines the power of AI assistance with a full-featured IDE. When integrated with Unkey’s APIs, you can rapidly build secure, scalable applications with intelligent code generation and real-time collaboration features.
Getting Started
1. Set Up Your Unkey Environment
Before working with Windsurf, ensure you have your Unkey credentials ready:
Create Your API
Navigate to the Unkey Dashboard and create a new API for your project.
Generate Root Key
Go to Settings > Root Keys and create a new root key with appropriate permissions.
Copy API Details
Note down your API ID and root key - you’ll need these for your application.
2. Set Up Unkey MCP Server (Optional)
Windsurf supports the Model Context Protocol (MCP) which allows you to connect directly to Unkey’s APIs. This gives Windsurf access to your Unkey workspace for more intelligent suggestions.
Install Unkey MCP Server
To get started with Windsurf, open “Windsurf Settings > Cascade > Model Context Protocol (MCP) Servers”, click on “Add Server”, click “Add custom server”, and add the following configuration for Unkey.
-
Configure the MCP Server
For ratelimiting specific operations, you can also add:
-
Set Environment Variable
-
Restart Windsurf
Restart Windsurf to load the MCP server configuration.