Toolkits MCP
A collection of image processing tools that enables users to optimize images, remove backgrounds using AI, and generate favicons from logo files locally.
README
Toolkits MCP
A stdio MCP implementation using Fast MCP 3 meant to be run locally. This MCP provides a collection of useful tools for image processing.
MCP Tools
- Image optimizer: Optimize images by reducing file size while maintaining quality.
- Remove background from image: Remove the background from images using AI.
- Favicon generator: Generate favicons of sizes 16, 32, 192, 512 from a logo.png file.
Tech Stack
uvfor Python environment management- Python
- Fast MCP 3.0
- PIL (Pillow) for image processing
- rembg for background removal
Installation
-
Ensure you have
uvinstalled. If not, install it from https://github.com/astral-sh/uv. -
Clone or navigate to the project directory.
-
Install dependencies:
uv sync
Running Locally
To run the MCP server locally for testing:
uv run python main.py
This starts the server using stdio transport, which is suitable for local development.
Using in VSCode
To use this MCP server in VSCode, you can integrate it with the Claude Code extension or GitHub Copilot Chat that supports MCP.
Option 1: Using Claude Code Extension
-
Install the "Claude Code" extension in VSCode from the marketplace.
-
Create a
.mcp.jsonconfiguration file in your project root or user directory (e.g.,~/.mcp.jsonfor user scope). -
Add the following configuration to
.mcp.json:{ "mcpServers": { "toolkits-mcp": { "command": "uv", "args": ["run", "python", "main.py"], "cwd": "/path/to/toolkits-mcp" } } }Replace
/path/to/toolkits-mcpwith the actual path to your project directory. -
Restart VSCode or reload the Claude Code extension.
-
The tools should now be available in Claude Code conversations.
Option 2: Using GitHub Copilot Chat
-
Ensure you have GitHub Copilot Chat installed in VSCode.
-
Open VSCode settings (Cmd/Ctrl + ,) and search for "mcp".
-
In the "GitHub Copilot Chat: Mcp" setting, add the server configuration:
{ "toolkits-mcp": { "command": "uv", "args": ["run", "python", "main.py"], "cwd": "/path/to/toolkits-mcp" } } -
The tools will be available in Copilot Chat.
Usage
Once configured, you can use the tools in your AI assistant conversations:
- To optimize an image: Ask the assistant to optimize an image file.
- To remove background: Request background removal from an image.
- To generate favicons: Provide a logo.png and request favicon generation.
Development
To contribute or modify the tools:
- Make changes to
main.py. - Test locally using
uv run python main.py. - Ensure all dependencies are listed in
pyproject.toml.
License
[Add license information if applicable]
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
E2B
Using MCP to run code via e2b.