MCP Server for Windsurf/Roocode
Model Context Protocol (MCP) server for Windsurf integration with image generation and web scraping capabilities.
Overview
MCP is a Model Context Protocol server designed for Windsurf integration, providing capabilities for image generation and web scraping.
To use MCP, clone the repository, set up a virtual environment, install the required packages, and configure the server with your API keys. Then, you can generate images or scrape web content through the provided APIs.
- Image Generation: Create images using the Flux Pro model based on user prompts. - Web Scraping: Extract content from webpages using the ScrapeGraph API with options for markdown conversion and smart scraping.
- Generating unique images for creative projects.
- Extracting and analyzing content from online sources for documentation or sentiment analysis.
- Collecting structured data from websites for further processing.
Add to your AI client
Use these steps to connect MCP Server for Windsurf/Roocode in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-bananabit-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-bananabit-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-bananabit-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-bananabit-dev": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-bananabit-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-bananabit-dev": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-bananabit-dev"
]
}
}
}FAQ
Can MCP generate any type of image?
Yes! MCP can generate images based on the prompts provided by the user.
Is there a limit to the web scraping capabilities?
While MCP can scrape various websites, it's important to respect the rate limits of those sites.
How do I handle errors during scraping?
MCP includes error handling mechanisms to fall back to simpler extraction methods if needed.