Fetches web content with Node.js undici, supporting different HTTP methods, content formats and request options.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add node-fetch -- node dist/index.js~/.codex/config.toml
[mcp_servers.node-fetch]
command = "node"
args = ["dist/index.js"]
# codex mcp add node-fetch -- node dist/index.js~/.cursor/mcp.json
{
"mcpServers": {
"node-fetch": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}.vscode/mcp.json
{
"servers": {
"node-fetch": {
"type": "stdio",
"command": "node",
"args": [
"dist/index.js"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"node-fetch": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"node-fetch": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"node-fetch": {
"command": "node",
"args": [
"dist/index.js"
]
}
}
}