Introduction

This guide shows you how to access BuildWithAI Boilerplate documentation directly through Windsurf using the Model Context Protocol (MCP).
MCP (Model Context Protocol) allows AI assistants like Cascade to connect with external tools and data sources, enhancing their capabilities.

What is the BuildWithAI MCP Server?

The BuildWithAI MCP server lets you search through our documentation directly from Windsurf. This means:
  • Get immediate answers to your questions about BuildWithAI Boilerplate
  • Find relevant code examples and implementation guides
  • Access documentation without leaving your development environment

Adding BuildWithAI MCP server to Cursor

You can easily add the BuildWithAI MCP server to Cursor:
  1. On any BuildWithAI documentation page, click the dropdown menu button next to “Copy page”
  2. Select “Connect to Cursor” Connect to Cursor option
  3. This will prompt you to open Cursor
  4. Follow the instructions in Cursor to add the BuildWithAI MCP server

Using the BuildWithAI MCP Server

Once the MCP server is set up, you can immediately start using it with Cascade:

Example prompts to Cascade:

How do I set up Google authentication in the BuildWithAI Boilerplate?
Show me how to implement in-app purchases for iOS in the BuildWithAI Boilerplate?
Add some appropriate icons to this component using the BuildWithAI Boilerplate.
Cascade will search through the BuildWithAI documentation and provide you with relevant information, code examples, and implementation guides directly in the chat.
The BuildWithAI MCP server provides access to our complete documentation

Testing Your MCP Server

To verify that your MCP server is working correctly:
  1. Test Basic Query: Ask Cascade a simple question about BuildWithAI Boilerplate
  2. Verify Response: Ensure the response includes relevant documentation information
  3. Test Code Examples: Ask for specific code examples and verify they’re accurate
  4. Check Links: Verify that any links provided in responses are working

Additional Resources

Troubleshooting

If you encounter any issues with the BuildWithAI MCP server:
  1. Verify that your mcp_config.json file is correctly formatted
  2. Ensure that you’ve clicked the refresh button after adding the plugin
  3. Check your internet connection to ensure you can reach the BuildWithAI MCP server
  4. Try restarting Windsurf if the plugin isn’t appearing