- Home
- MCP servers
- MCP Fetch
MCP Fetch
- javascript
2
GitHub Stars
javascript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"matiasngf-mcp-fetch": {
"command": "npx",
"args": [
"-y",
"mcp-fetch"
]
}
}
}You deploy and use an MCP server that offers HTTP requests, GraphQL queries, WebSocket management, and browser automation through Puppeteer. This server lets you integrate diverse data sources and automation capabilities into your workflow with a single, consistent interface.
How to use
You interact with the MCP server from your client to perform HTTP requests, run GraphQL operations, manage WebSocket connections, and automate browser tasks. Use these capabilities to integrate external services, explore APIs, or automate browser workflows within your applications. Each tool is designed to be invoked with a clear action or operation, returning structured results you can use immediately in your code.
How to install
Prerequisites you should have before installing: Node.js and npm or npx available on your system.
# Install the MCP fetch package
npm install mcp-fetch
Configure the MCP server to use the local stdio-based MCP fetch server by adding the following configuration to your MCP settings.
{
"mcp-fetch": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-fetch"
]
}
}
If you need the Puppeteer Chrome browser to be available for browser automation, install Chrome via Puppeteer when required.
npx puppeteer browsers install chrome
Configuration details
The MCP fetch server is configured to run as a local stdio service. The complete runtime command is the following:
command: npx
args: ["-y", "mcp-fetch"]
Available tools
fetch
Perform HTTP requests with full control over method, headers, body, and other fetch options.
graphql
Execute GraphQL queries and mutations with support for variables and custom headers, including introspection.
socket
Manage WebSocket connections: connect, send, receive, list, and close.
puppeteer
Control browsers and pages with Puppeteer: launch/close browsers, open/close pages, execute JavaScript, and more.
get-rules
Provide AI-ready documentation or rules for the MCP server to assist with usage and best practices.