{"versions":{"1.0.1":{"name":"@iflow-mcp/fetch","version":"1.0.1","description":"![fetch mcp logo](logo.jpg)","type":"module","main":"index.js","license":"MIT","author":{"name":"zcaceres","url":"@zachcaceres zach.dev"},"scripts":{"build":"tsc && shx chmod +x dist/*.js","prepare":"npm run build","dev":"tsc --watch","start":"node dist/index.js","test":"jest"},"bin":{"whois-mcp":"dist/index.js"},"keywords":[],"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4","jsdom":"^25.0.1","private-ip":"^3.0.2","turndown":"^7.2.0","zod":"^3.24.1"},"devDependencies":{"@types/jest":"^29.5.14","@types/jsdom":"^21.1.7","@types/node":"^22.10.2","@types/turndown":"^5.0.5","jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.2","shx":"0.4.0"},"_id":"@iflow-mcp/fetch@1.0.1","gitHead":"7189766a0d7e75c2b837f93e613f2a15deacac08","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-GsfUkfPtTNBlqYPwiSRac3Rw6pTVkOcAT+rSl68cSQNM5C9BqaNlEW9OBebp8mVP8CAXKfQr6QVcCPdGcnzYfg==","shasum":"912bd5df1f882f23d00de0dab6bb0d499e116e87","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@iflow-mcp/fetch/-/fetch-1.0.1.tgz","fileCount":13,"unpackedSize":1058072,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHdvptpXke8Rmom0LO/TEBdfc2XCQBDtGkYFMi/rxcg4AiEA746gT8EaYpTWR5xsrpdxanSjZn6/xxj8ncm8mZHBwkE="}],"size":1034279},"_npmUser":{"name":"anonymous","email":"chatflowdev@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chatflowdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetch_1.0.1_1754560916652_0.7972358109981088"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-07T10:01:56.926Z","publish_time":1754560916926,"_source_registry_name":"default","contributors":[]},"1.0.2":{"name":"@iflow-mcp/fetch","version":"1.0.2","description":"![fetch mcp logo](logo.jpg)","type":"module","main":"index.js","license":"MIT","author":{"name":"zcaceres","url":"@zachcaceres zach.dev"},"scripts":{"build":"tsc && shx chmod +x dist/*.js","prepare":"npm run build","dev":"tsc --watch","start":"node dist/index.js","test":"jest"},"bin":{"fetch":"dist/index.js"},"keywords":[],"dependencies":{"@modelcontextprotocol/sdk":"^1.0.4","jsdom":"^25.0.1","private-ip":"^3.0.2","turndown":"^7.2.0","zod":"^3.24.1"},"devDependencies":{"@types/jest":"^29.5.14","@types/jsdom":"^21.1.7","@types/node":"^22.10.2","@types/turndown":"^5.0.5","jest":"^29.7.0","ts-jest":"^29.2.5","typescript":"^5.7.2","shx":"0.4.0"},"_id":"@iflow-mcp/fetch@1.0.2","gitHead":"7189766a0d7e75c2b837f93e613f2a15deacac08","_nodeVersion":"22.17.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-PUpm9j0AAGdCDnemJAXSg9JULGNdZqJmmln4CjVFtm6lv8SvScYOcwk8yoDial/HHQWLaV27dBvjXhx17t5OeQ==","shasum":"a3331c42c0798e930ed3d2d5fdba88570b3ecda6","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@iflow-mcp/fetch/-/fetch-1.0.2.tgz","fileCount":13,"unpackedSize":1058068,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD0F8Z24yiVBxFYh3sjccMlwjSposuo7DpG+175d6+DuwIgOH4D+qKbl42wtLRqrwexmXbRC31ZmcOlTyvA5sgbCFM="}],"size":1034274},"_npmUser":{"name":"anonymous","email":"chatflowdev@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"chatflowdev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fetch_1.0.2_1754560959737_0.8051263052348603"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-08-07T10:02:39.975Z","publish_time":1754560959975,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.2"},"name":"@iflow-mcp/fetch","time":{"created":"2025-08-07T09:50:16.238Z","modified":"2025-08-08T09:30:43.665Z","1.0.1":"2025-08-07T10:01:56.926Z","1.0.2":"2025-08-07T10:02:39.975Z"},"readme":"# Fetch MCP Server\n\n![fetch mcp logo](logo.jpg)\n\nThis MCP server provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.\n\n<a href=\"https://glama.ai/mcp/servers/nu09wf23ao\">\n  <img width=\"380\" height=\"200\" src=\"https://glama.ai/mcp/servers/nu09wf23ao/badge\" alt=\"Fetch Server MCP server\" />\n</a>\n\n## Components\n\n### Tools\n\n- **fetch_html**\n  - Fetch a website and return the content as HTML\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the raw HTML content of the webpage\n\n- **fetch_json**\n  - Fetch a JSON file from a URL\n  - Input:\n    - `url` (string, required): URL of the JSON to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the parsed JSON content\n\n- **fetch_txt**\n  - Fetch a website and return the content as plain text (no HTML)\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the text content of the webpage with HTML tags, scripts, and styles removed\n\n- **fetch_markdown**\n  - Fetch a website and return the content as Markdown\n  - Input:\n    - `url` (string, required): URL of the website to fetch\n    - `headers` (object, optional): Custom headers to include in the request\n  - Returns the content of the webpage converted to Markdown format\n\n### Resources\n\nThis server does not provide any persistent resources. It's designed to fetch and transform web content on demand.\n\n## Getting started\n\n1. Clone the repository\n2. Install dependencies: `npm install`\n3. Build the server: `npm run build`\n\n### Usage\n\nTo use the server, you can run it directly:\n\n```bash\nnpm start\n```\n\nThis will start the Fetch MCP Server running on stdio.\n\n### Usage with Desktop App\n\nTo integrate this server with a desktop app, add the following to your app's server configuration:\n\n```json\n{\n  \"mcpServers\": {\n    \"fetch\": {\n      \"command\": \"node\",\n      \"args\": [\n        \"{ABSOLUTE PATH TO FILE HERE}/dist/index.js\"\n      ]\n    }\n  }\n}\n```\n\n## Features\n\n- Fetches web content using modern fetch API\n- Supports custom headers for requests\n- Provides content in multiple formats: HTML, JSON, plain text, and Markdown\n- Uses JSDOM for HTML parsing and text extraction\n- Uses TurndownService for HTML to Markdown conversion\n\n## Development\n\n- Run `npm run dev` to start the TypeScript compiler in watch mode\n- Use `npm test` to run the test suite\n\n## License\n\nThis project is licensed under the MIT License.","users":{}}