Discover MCP Server for Windsurf offers image generation and web scraping tools for creative and data extraction needs
The MCP Server for Windsurf/Roocode is a specialized server designed to enable AI applications like Claude Desktop, Continue, Cursor, and others to connect to specific data sources and tools through the Model Context Protocol (MCP). This server integrates advanced capabilities such as image generation using Flux Pro models and web scraping with ScrapeGraph API. By leveraging MCP, developers can enhance their AI workflows, enabling seamless integration of diverse applications into a unified framework.
The MCP Server for Windsurf/Roocode offers robust features that are crucial for various AI application use cases:
Image Generation via Flux Pro:
Web Scraping with ScrapeGraph API:
extract_webpage_content
, markdownify_webpage
, and scrape_webpage
enable developers to retrieve, clean, and organize data from the web.AI-Powered Content Extraction:
light
, medium
, aggressive
), ensuring that the extracted content is clean and relevant.Advanced Data Processing Options:
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
The compatibility matrix illustrates the status of supported MCP clients, indicating full support for resources and tools while noting limitations in prompt generation.
Clone the Project Repository:
git clone https://github.com/bananabit-dev/mcp.git
cd mcp
Create and Activate Virtual Environment:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
Install the Required Packages:
pip install -r requirements.txt
Set Up Environment Variables:
cp .env.example .env
Edit .env
to add your API keys:
AIMLAPI_KEY=your_flux_pro_api_key
SGAI_API_KEY=your_scrapegraph_api_key
Configure MCP Server in Windsurf:
~/.codeium/windsurf/mcp_config.json
:{
"mcpServers": {
"bananabit-mcp": {
"command": "/absolute/path/to/your/.venv/bin/python",
"args": ["-m", "app.mcp_server"],
"cwd": "/absolute/path/to/mcp",
"env": {
"PYTHONPATH": "/absolute/path/to/mcp",
"AIMLAPI_KEY": "${env:AIMLAPI_KEY}",
"SGAI_API_KEY": "${env:SGAI_API_KEY}"
}
}
}
}
Creating Visually Appealing Content:
User: Generate a cozy living room with anime style.
Assistant: I'll help you generate an anime-style living room!
[Generated image saved as cozy_living_room.jpg]
Content Extraction for Documentation:
# Creating local documentation from online sources
content = await markdownify_webpage(
url="https://example.com/tutorials",
clean_level="medium"
)
with open("docs/tutorials.md", "w") as f:
f.write(content)
The MCP Server for Windsurf/Roocode supports integration with popular AI clients such as Claude Desktop, Continue, and Cursor. By utilizing the Model Context Protocol, users can easily extend their applications' capabilities to include image generation and web scraping functionalities.
User: Generate a cozy kawaii living room in anime style.
Assistant: Sure! Here’s what your living room might look like:
[Image of a cozy kawaii living room in anime style]
The server performs optimally across a range of platforms and tools. The MCP client compatibility matrix provides detailed information on the supported clients, resources, and tools.
Ensure that environment variables are correctly set up for secure API key handling:
AIMLAPI_KEY=your_flux_pro_api_key
SGAI_API_KEY=your_scrapegraph_api_key
{
"mcpServers": {
"bananabit-mcp": {
"command": "/absolute/path/to/your/.venv/bin/python",
"args": ["-m", "app.mcp_server"],
"cwd": "/absolute/path/to/mcp",
"env": {
"PYTHONPATH": "/absolute/path/to/mcp",
"AIMLAPI_KEY": "${env:AIMLAPI_KEY}",
"SGAI_API_KEY": "${env:SGAI_API_KEY}"
}
}
}
}
Contributions are welcome! If you'd like to contribute, please follow these guidelines:
git checkout -b feature-branch-name
to create and switch to a new branch.git push origin feature-branch-name
.For further information and support, visit the MCP Protocol documentation or join our community forums.
This comprehensive documentation provides detailed insights into setting up, using, and customizing an MCP server that integrates advanced AI capabilities for image generation and web scraping. By leveraging this MCP server, developers can enhance their applications with robust and flexible tools to meet a wide range of use cases.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration