A HTTP transportation version of https://github.com/tokenizin-agency/mcp-npx-fetch. It's a MCP server that will fetch url and covert to the following format: HTLM, Text, Markdown, JSON
- Install dependencies:
npm install- Start local deployment
npm rum build
npm start- Get MCP http URL
The MCP should be hosted at http://localhost:8000/mcp.
Fetches and returns raw HTML content from any URL.
{
url: string; // Required: Target URL
headers?: { // Optional: Custom request headers
[key: string]: string;
};
}Fetches and parses JSON data from any URL.
{
url: string; // Required: Target URL
headers?: { // Optional: Custom request headers
[key: string]: string;
};
}Fetches and returns clean plain text content, removing HTML tags and scripts.
{
url: string; // Required: Target URL
headers?: { // Optional: Custom request headers
[key: string]: string;
};
}Fetches content and converts it to well-formatted Markdown.
{
url: string; // Required: Target URL
headers?: { // Optional: Custom request headers
[key: string]: string;
};
}This project is licensed under the MIT License - see the LICENSE file for details.