luccasparoni/url-fetch-mcp
If you are the rightful owner of url-fetch-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
The URL Image Fetcher MCP Server is a simple server that fetches images from URLs using the Multi-part Content Protocol.
URL Image Fetcher MCP Server
This project provides a simple MCP (Multi-part Content Protocol) server that exposes a single tool, get_image_from_url. This tool fetches an image from a given URL and returns it to the Gemini CLI.
Setup
-
Create a virtual environment:
python3 -m venv mcp-venv -
Activate the virtual environment:
source mcp-venv/bin/activate -
Install the dependencies:
pip install -r requirements.txt
Running the Server
With the virtual environment activated, you can start the server with the following command:
python image_fetcher_final.py
The server will start on http://localhost:8000.
Gemini CLI Configuration
To allow the Gemini CLI to communicate with this server, you must update your Gemini settings.
-
Open the settings file located at
~/.gemini/settings.json. -
Add the following configuration to the
mcpServersobject:"mcpServers": { "image_fetcher": { "httpUrl": "http://localhost:8000/mcp" } }If you already have other servers configured, just add the
image_fetcherentry to the existingmcpServersobject.