Provides a way to test the MCP server's capabilities by making HTTP requests to fetch website content and list available tools.
Allows running the MCP server in a containerized environment, with automatic builds pushed to GitHub Container Registry.
Integrates with GitHub Container Registry for Docker image hosting and GitHub Actions for code linting.
MCP Website Fetcher
Model Context Protocol (MCP) Website Fetcher is a lightweight MCP server implementation that provides a simple tool for fetching website content. It serves as a demonstration project to show how tools can be exposed and interacted with using the MCP protocol.
Overview
This project exposes an MCP-compatible API endpoint with a tool called fetch
that allows clients to retrieve the raw content of a specified URL.
It's designed mainly for demo purposes and testing how clients can interact with tools over the MCP protocol.
Running the Server Using Docker
The application is automatically built and pushed to GitHub Container Registry (GHCR) on every push to the main branch.
To run the latest version locally using Docker:
This will start the MCP server and expose it on port 8000.
Testing Locally
Once the container is running, you can interact with the server using curl
to test its capabilities.
Get the List of Tools
To retrieve the list of available tools exposed by the MCP server:
Fetch the Content of a Website
To fetch the content of https://electrocucaracha.com/
:
The server will return the HTML content of the requested URL.
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
A lightweight MCP server implementation that provides a simple tool for fetching website content, demonstrating how tools can be exposed and interacted with using the MCP protocol.
Related MCP Servers
- AsecurityAlicenseAqualityA powerful MCP server for fetching and transforming web content into various formats (HTML, JSON, Markdown, Plain Text) with ease.Last updated -41,28532TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server for fetching and transforming web content into various formats.Last updated -46PythonMIT License
- AsecurityAlicenseAqualityA simple MCP server that facilitates website fetching through a configurable server platform using stdio or SSE transport, allowing integration with tools like Cursor for streamlined access.Last updated -235PythonMIT License
- -securityAlicense-qualityAn MCP server that exposes HTTP methods defined in an OpenAPI specification as tools, enabling interaction with APIs via the Model Context Protocol.Last updated -8PythonMIT License