Fetch MCP Server
fetch mcp logo
This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
Components
Tools
Resources
This server does not provide any persistent resources. It's designed to fetch and transform web content on demand.
Getting started
- Clone the repository
- Install dependencies:
npm install
- Build the server:
npm run build
Usage
To use the server, you can run it directly:
This will start the Fetch MCP Server running on stdio.
Usage with Desktop App
To integrate this server with a desktop app, add the following to your app's server configuration:
Features
- Fetches web content using modern fetch API
- Supports custom headers for requests
- Provides content in multiple formats: HTML, JSON, plain text, and Markdown
- Uses JSDOM for HTML parsing and text extraction
- Uses TurndownService for HTML to Markdown conversion
Development
- Run
npm run dev
to start the TypeScript compiler in watch mode
- Use
npm test
to run the test suite
License
This project is licensed under the MIT License.
Fetch MCP Server
fetch mcp logo
This MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
Components
Tools
Resources
This server does not provide any persistent resources. It's designed to fetch and transform web content on demand.
Getting started
- Clone the repository
- Install dependencies:
npm install
- Build the server:
npm run build
Usage
To use the server, you can run it directly:
This will start the Fetch MCP Server running on stdio.
Usage with Desktop App
To integrate this server with a desktop app, add the following to your app's server configuration:
Features
- Fetches web content using modern fetch API
- Supports custom headers for requests
- Provides content in multiple formats: HTML, JSON, plain text, and Markdown
- Uses JSDOM for HTML parsing and text extraction
- Uses TurndownService for HTML to Markdown conversion
Development
- Run
npm run dev
to start the TypeScript compiler in watch mode
- Use
npm test
to run the test suite
License
This project is licensed under the MIT License.