MCP Hub
Back to servers

@mauriciodmo/fetch-mcp

A Model Context Protocol (MCP) server that provides capabilities to fetch web resources using various HTTP methods.

Updated
Jan 17, 2026

Quick Install

npx -y @mauriciodmo/fetch-mcp

Fetch MCP Server

A Model Context Protocol (MCP) server that provides capabilities to fetch web resources using various HTTP methods.

Features

  • Fetch Tool: Allows fetching data from any URL with support for:
    • Methods: GET, POST, PUT, DELETE
    • Custom Headers
    • Request Body
    • Content Handling: JSON, Text, Images, and PDFs.

Setup

Prerequisites

  • Bun installed on your machine.

Installation

bun install

Development

To run the server with the MCP Inspector for testing:

bun run dev

Production

To build and run the server:

bun run build
bun run start

Running with MCP Clients

To use this server with a client like Claude Desktop, add the following to your configuration file (e.g., claude_desktop_config.json):

{
  "mcpServers": {
    "fetch-mcp": {
      "command": "bun",
      "args": ["PROJECT_PATH/src/index.ts"]
    }
  }
}

Note: Replace PROJECT_PATH with the absolute path to the directory where this project is located.

Tools

fetch

Fetches data from a specified URL.

Input Arguments:

  • url (string): The URL to fetch data from.
  • method (enum): HTTP method to use (GET, POST, PUT, DELETE). Default is GET.
  • headers (object, optional): HTTP headers to include in the request.
  • body (string, optional): Request body for POST or PUT requests.

Reviews

No reviews yet

Sign in to write a review