MCP Server for Windsurf/Roocode
@bananabit-dev
Model Context Protocol (MCP) server for Windsurf integration with image generation and web scraping capabilities.
Overview
What is MCP Server for Windsurf/Roocode?
This is a Model Context Protocol (MCP) server that provides image generation (Flux Pro) and web scraping (ScrapeGraph) capabilities for Windsurf and Roocode.
How to use MCP Server for Windsurf/Roocode?
Clone the repository, create a Python virtual environment, install dependencies, copy .env.example to .env, and set your API keys. Then add the server configuration to ~/.codeium/windsurf/mcp_config.json and refresh the MCP server in Windsurf by clicking the hammer icon and selecting "Refresh".
Key features of MCP Server for Windsurf/Roocode
- Image generation using the Flux Pro model
- Web scraping via ScrapeGraph API
- AI-powered intelligent content extraction
- Clean output removing ads, navigation, and clutter
- Multiple output formats: HTML, Markdown, structured data
- Graceful error handling with fallback options
Use cases of MCP Server for Windsurf/Roocode
- Generate creative images from descriptive text prompts (e.g., kawaii-style rooms)
- Create local documentation by scraping and converting online guides to Markdown
- Extract webpage content for sentiment analysis or further processing
- Collect structured data from product listing pages
- Produce multiple image variations with different style cues
FAQ from MCP Server for Windsurf/Roocode
What API keys are required?
AIMLAPI_KEY for Flux Pro image generation and SGAI_API_KEY for ScrapeGraph web scraping.
Where is the MCP configuration file located?
It is located at ~/.codeium/windsurf/mcp_config.json (for Windsurf).
How do I refresh the MCP server in Windsurf?
Click the hammer icon and then select "Refresh" to load the server.