Connect Yavy to Windsurf
Give your Windsurf AI coding companion access to real documentation, or generate Skills packages for offline use. Stop the guesswork and get accurate, sourced answers while you code.
Why Use Yavy with Windsurf?
Windsurf is a powerful AI coding assistant, but like all AI tools, it can make things up when it doesn't have access to specific documentation. By connecting Yavy, you give Windsurf access to your actual documentation - APIs, frameworks, internal guides, and more.
- Access documentation directly in Windsurf chat
- Get accurate code suggestions based on real API docs
- Reduce hallucinations with grounded information
- Seamless integration with Windsurf's AI capabilities
- Automatic source attribution for every answer
Real Example
You ask Windsurf:
"How do I set up SSR with Inertia.js and Vue 3?"
Windsurf searches your Inertia docs:
"According to the Inertia.js documentation, here's how to configure server-side rendering..." [with correct config examples]
Setup Instructions
Create a Yavy Project
First, set up a Yavy project to index your documentation:
- Sign up for a free Yavy account
- Create a project and add your documentation URL
- Wait for the indexing to complete
- Copy your unique MCP server URL
Install Windsurf
Ensure you have Windsurf installed on your system. Windsurf supports MCP servers for connecting to external knowledge sources like Yavy.
Download WindsurfConfigure MCP Server
Add your Yavy MCP server to Windsurf's settings. Follow the platform-specific instructions:
Setup Steps
- 1
Open Windsurf Settings:
Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS)Type
Open Windsurf Settings - 2Navigate to Cascade → MCP Servers and click Add Server
- 3Select Add custom server + to open the raw config
- 4Copy the configuration above and merge it into your
mcp_config.json - 5Restart Windsurf for changes to take effect
Config File Location
~/.codeium/windsurf/mcp_config.jsonRestart and Connect
After configuring:
- Restart Windsurf completely
- Complete OAuth authentication when prompted
- Start asking questions about your indexed documentation
- Windsurf will search your content automatically
Alternative: Use Skills Packages
Prefer offline access? Generate Skills packages with the Yavy CLI and place them in your project directory. Skills files can be used as project context in Windsurf - no server connection needed at runtime.
npm install -g @yavydev/cli yavy login yavy generate your-org/your-project
Skills work offline and can be version-controlled with your code. Full CLI reference
Great Use Cases
Framework Documentation
Index React, Vue, Next.js, or any framework docs. Get accurate API usage examples while coding instead of outdated training data.
Internal APIs
Index your company's internal API documentation. Windsurf can help you use internal services correctly without switching context.
Library References
Connect documentation for libraries like Tailwind, Prisma, or Stripe. Get correct syntax and patterns on demand.
Project Wikis
Index your team's Notion, Confluence, or GitHub wikis. Access institutional knowledge directly in your editor.