{"_id":"@edjl/rest-mcp","_rev":"7-91d7b6cb49768f1cc7d68f299a5401c3","name":"@edjl/rest-mcp","dist-tags":{"latest":"1.0.8"},"versions":{"1.0.2":{"name":"@edjl/rest-mcp","version":"1.0.2","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.2","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"a7e4fef0e70d3f1f88f366ee36f9c6c4ad6396d0","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.2.tgz","fileCount":30,"integrity":"sha512-kSNHV8gO4bmyydJ0hNtgg64RFQXT/aY3ZQ3jUv69pvStTIhieauuAC/Yq9YqXBkzrZFfL+UALAOvsXNV0XmVTA==","signatures":[{"sig":"MEYCIQCcqedLfIjLNEsXbWDUx2nvVdDFeoA+3JaRxs/Bww0cWQIhAKOWZCaccXwdmKqKctDoChKPdM38vGYxf48vNAdCTxob","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"929b7ad6cf00ce4f3b5834fa9825932f7ccc3f01","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","actor":{"name":"portujua","type":"user","email":"ejlorenzo19@gmail.com"},"email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.2_1751443306332_0.7212375221820699","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@edjl/rest-mcp","version":"1.0.3","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.3","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"3ea88a83d27492b10f3853f65f7174b5669f2691","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.3.tgz","fileCount":30,"integrity":"sha512-i91kKBugWvbWc6VudKVFjxzMiBv0zwEKzWNzFsQ/uniETsC8CpmXZ1xwWIoV7TvxqfkdJQ/3rCLU3xkk5N30lA==","signatures":[{"sig":"MEUCIQCru2zJP6zfrieIop6ffSMay/iNUE0eS4+7Xgge8E+5+wIgW9R5LS0c5qpaiiXzYuzHPYNPYXFwsrpdnrIEO1Rm8HI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"f10a2d36629e331a1757d8f8797a58cd622d2523","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","actor":{"name":"portujua","type":"user","email":"ejlorenzo19@gmail.com"},"email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.3_1751481378554_0.4069621627074056","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@edjl/rest-mcp","version":"1.0.4","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.4","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"bfa74dd375c8266185e5a0ebb6434086eb7380a4","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.4.tgz","fileCount":30,"integrity":"sha512-OzFgplF/cFlPsMKhg9Y49bEyzsExq8NiIQKcnS6pwGIPaAl20npWdP9xjd+Yj1MsIdlCuo8fqThSsCpX1Wwh9A==","signatures":[{"sig":"MEQCIB8mFX80LiXNb/4SjkdJ7w4UeimxgFc1y+SA2Y3i9QlTAiB4p0hfht2nss1HfjvDuPH/F3es9B+QmXkKrnRloctaUw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"a95cb8ed7fc0da6897b30d1ce7c5fa40b2b2a035","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","actor":{"name":"portujua","type":"user","email":"ejlorenzo19@gmail.com"},"email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.4_1751649149869_0.22218089019631448","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@edjl/rest-mcp","version":"1.0.5","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.5","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"7cfc9385c7bb80ee5432511e5a7518fba986b2a9","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.5.tgz","fileCount":30,"integrity":"sha512-WY3VLEmxw9xjVvSY6l5SFATadReftiK12B4TN/3ygoV+4bnGhkY8Ii6Mf3Ph3PTBh+AAtoLqZRejFuw/LEQxEA==","signatures":[{"sig":"MEUCIEV+pijt1+WsQoHuLXPV0pH6xNJMEfcjlIs/Ib6JxiP2AiEAueIYfiJeDv3cyiNwnPVvEDrJSjWIOPtcTqsU5MYtYYo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"d335c1a301ba644746d9d0e66897f3a2e764099c","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","actor":{"name":"portujua","type":"user","email":"ejlorenzo19@gmail.com"},"email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.16.0","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.5_1751909458075_0.5100667134089876","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@edjl/rest-mcp","version":"1.0.6","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.6","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"8d11306b1a9ccf42ea22f2306de5f67d475019cc","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.6.tgz","fileCount":30,"integrity":"sha512-DNfaFRF7nNxZ/ld7QODvBqqYg4R63DJ/Wip8g1lGEKhoIxBC/6o3UYHVTm01/GBRMrTchpo6oAsr2XZGICMF5Q==","signatures":[{"sig":"MEUCIQCFhCqQQr2rcfwK3NYMdgc6qfAEjLFL+ZqnsY+neosqiQIgeXnBapr6QxQ5vEHrpQjWkOlCG6iTFDL+k65JHwVKGWI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"f61a11f87d460f031881077a00e4219002c6f919","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.6_1753463173457_0.7272594451964629","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@edjl/rest-mcp","version":"1.0.7","keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","_id":"@edjl/rest-mcp@1.0.7","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"bin":{"rest-mcp":"dist/index.js"},"dist":{"shasum":"8715e2c44afb6e5806707fa4d821921810a19881","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.7.tgz","fileCount":30,"integrity":"sha512-0B+iWydP8IoNaQCro+pGaN0uNICE50G/OlrlRDpYQ56NdWuelBUKvJN3EN4R433tAlxONKJklj1C/dRqaj4qQw==","signatures":[{"sig":"MEQCIEuZP/IJxyIyqXh0ikAP9VTGf8VMhrWJZ4UpbR/o+IoKAiBbf26cmBAppSWn5o/K38MYj+vFkXaT2Q4f8meszHMUCg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":37711},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","gitHead":"4432f791bfada1420f99d9e25f3120916dad588d","scripts":{"dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1","build":"tsc"},"_npmUser":{"name":"portujua","email":"ejlorenzo19@gmail.com"},"_npmVersion":"10.9.2","description":"REST API tools for MCP (Model Context Protocol)","directories":{},"_nodeVersion":"22.17.1","dependencies":{"zod":"^3.25.67","axios":"^1.10.0","@modelcontextprotocol/sdk":"^1.13.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.20.3","typescript":"^5.8.3","@types/node":"^24.0.10"},"_npmOperationalInternal":{"tmp":"tmp/rest-mcp_1.0.7_1753463974138_0.8988924122291226","host":"s3://npm-registry-packages-npm-production"}},"1.0.8":{"name":"@edjl/rest-mcp","version":"1.0.8","main":"dist/index.js","type":"module","bin":{"rest-mcp":"dist/index.js"},"scripts":{"build":"tsc","dev":"tsx src/index.ts","test":"echo \"Error: no test specified\" && exit 1"},"keywords":["mcp","rest","api","http"],"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","description":"REST API tools for MCP (Model Context Protocol)","dependencies":{"@modelcontextprotocol/sdk":"^1.13.3","axios":"^1.10.0","zod":"^3.25.67"},"devDependencies":{"@types/node":"^24.0.10","tsx":"^4.20.3","typescript":"^5.8.3"},"publishConfig":{"access":"public"},"_id":"@edjl/rest-mcp@1.0.8","gitHead":"f406322d878ed03679d7958181fa3e7f7ccf845a","types":"./dist/index.d.ts","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-4WNkGP7XYytzUQNPBpYfbd59Pql6suswiMm02F3cLJRVxn8DAyi8SP/CKZOEVvcJ54OeJ0mcEaYs8R14WS2Fsg==","shasum":"7c96c8ddd677fbfbefdcf2a295264b6869872c05","tarball":"https://registry.npmjs.org/@edjl/rest-mcp/-/rest-mcp-1.0.8.tgz","fileCount":30,"unpackedSize":37711,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCVJsJmBb3xEIHhAszL2q3P+l9VZ1y/zotjXbNhF9aFfAIgacS3/Vg/3rkSH9z0S1KP1Oq4JlYitTXGlQPXiNCFrcQ="}]},"_npmUser":{"name":"portujua","email":"ejlorenzo19@gmail.com"},"directories":{},"maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rest-mcp_1.0.8_1764704236437_0.5696468719600933"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-02T08:01:46.219Z","modified":"2025-12-02T19:37:16.839Z","1.0.2":"2025-07-02T08:01:46.534Z","1.0.3":"2025-07-02T18:36:18.727Z","1.0.4":"2025-07-04T17:12:30.059Z","1.0.5":"2025-07-07T17:30:58.254Z","1.0.6":"2025-07-25T17:06:13.724Z","1.0.7":"2025-07-25T17:19:34.329Z","1.0.8":"2025-12-02T19:37:16.635Z"},"author":{"name":"Eduardo Lorenzo","email":"contact@edjl.dev"},"license":"MIT","keywords":["mcp","rest","api","http"],"description":"REST API tools for MCP (Model Context Protocol)","maintainers":[{"name":"portujua","email":"ejlorenzo19@gmail.com"}],"readme":"# REST MCP\n\nA Model Context Protocol (MCP) server that provides tools for making REST API requests.\n\n## Features\n\n- **HTTP Methods**: Support for GET, POST, PUT, PATCH, and DELETE requests\n- **Authentication**: Automatic Bearer token authentication via environment variable\n- **Headers**: Custom header support with default Content-Type of application/json\n- **Query Parameters**: Support for URL query parameters\n- **Response Details**: Returns response body, status code, status text, and headers\n\n## Installation\n\n```bash\nnpm install\nnpm run build\n```\n\n## Configuration\n\nAdd to your MCP client configuration:\n\n```json\n{\n  \"rest-mcp\": {\n    \"command\": \"node\",\n    \"args\": [\"/path/to/rest-mcp/dist/index.js\"],\n    \"env\": {\n      \"REST_API_AUTH_TOKEN\": \"your-api-token-here\"\n    }\n  }\n}\n```\n\n## Available Tools\n\n### rest_get\nMake a GET request to an API endpoint\n\n**Parameters:**\n- `url` (string, required): The URL to send the GET request to\n- `headers` (object, optional): Additional headers to include\n- `withoutAuthorization` (boolean, optional): Skip authorization header\n- `queryParams` (object, optional): Query parameters to append to URL\n\n### rest_post\nMake a POST request to an API endpoint\n\n**Parameters:**\n- `url` (string, required): The URL to send the POST request to\n- `body` (any, optional): The request body (will be JSON stringified)\n- `headers` (object, optional): Additional headers to include\n- `withoutAuthorization` (boolean, optional): Skip authorization header\n- `contentType` (string, optional): Content-Type header (default: application/json)\n- `queryParams` (object, optional): Query parameters to append to URL\n\n### rest_put\nMake a PUT request to an API endpoint\n\n**Parameters:**\n- `url` (string, required): The URL to send the PUT request to\n- `body` (any, optional): The request body (will be JSON stringified)\n- `headers` (object, optional): Additional headers to include\n- `withoutAuthorization` (boolean, optional): Skip authorization header\n- `contentType` (string, optional): Content-Type header (default: application/json)\n- `queryParams` (object, optional): Query parameters to append to URL\n\n### rest_patch\nMake a PATCH request to an API endpoint\n\n**Parameters:**\n- `url` (string, required): The URL to send the PATCH request to\n- `body` (any, optional): The request body (will be JSON stringified)\n- `headers` (object, optional): Additional headers to include\n- `withoutAuthorization` (boolean, optional): Skip authorization header\n- `contentType` (string, optional): Content-Type header (default: application/json)\n- `queryParams` (object, optional): Query parameters to append to URL\n\n### rest_delete\nMake a DELETE request to an API endpoint\n\n**Parameters:**\n- `url` (string, required): The URL to send the DELETE request to\n- `headers` (object, optional): Additional headers to include\n- `withoutAuthorization` (boolean, optional): Skip authorization header\n- `queryParams` (object, optional): Query parameters to append to URL\n\n## Usage Example\n\n```typescript\n// Make a GET request with authentication\nconst result = await rest_get({\n  url: \"https://api.example.com/users\"\n});\n\n// Make a POST request without authentication\nconst result = await rest_post({\n  url: \"https://api.example.com/login\",\n  body: { username: \"user\", password: \"pass\" },\n  withoutAuthorization: true\n});\n\n// Make a request with custom headers\nconst result = await rest_get({\n  url: \"https://api.example.com/data\",\n  headers: {\n    \"X-Custom-Header\": \"value\"\n  }\n});\n```\n\n## Environment Variables\n\n- `REST_API_AUTH_TOKEN`: Bearer token for API authentication (optional)","readmeFilename":"README.md"}