
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@mcp-decorator/plugin-http
Advanced tools
HTTP request operations plugin for MCP Decorator Framework.
npm install @mcp-decorator/plugin-http
# or
pnpm add @mcp-decorator/plugin-http
# or
bun add @mcp-decorator/plugin-http
import { createStdioServer } from "@mcp-decorator/core";
import { HttpPlugin } from "@mcp-decorator/plugin-http";
createStdioServer({
name: "my-server",
plugins: [
new HttpPlugin({
timeout: 30000,
headers: {
"User-Agent": "MCP-Server/1.0",
},
}),
],
});
timeout (number, optional): Request timeout in milliseconds. Default: 30000 (30 seconds)headers (Record<string, string>, optional): Default headers to include in all requestsMake a GET request.
Parameters:
url (string): URL to requestheaders (object, optional): Request headersExample:
{
"type": "http.get",
"params": {
"url": "https://api.example.com/data",
"headers": {
"Authorization": "Bearer token123"
}
}
}
Response:
Status: 200
Headers:
content-type: application/json
content-length: 1234
Body:
{"data": "..."}
Make a POST request.
Parameters:
url (string): URL to requestbody (string, optional): Request bodyheaders (object, optional): Request headersExample:
{
"type": "http.post",
"params": {
"url": "https://api.example.com/users",
"body": "{\"name\": \"John\"}",
"headers": {
"Content-Type": "application/json"
}
}
}
Response:
Status: 201
Headers:
content-type: application/json
Body:
{"id": 123, "name": "John"}
Make a PUT request.
Parameters:
url (string): URL to requestbody (string, optional): Request bodyheaders (object, optional): Request headersExample:
{
"type": "http.put",
"params": {
"url": "https://api.example.com/users/123",
"body": "{\"name\": \"Jane\"}",
"headers": {
"Content-Type": "application/json"
}
}
}
Make a DELETE request.
Parameters:
url (string): URL to requestheaders (object, optional): Request headersExample:
{
"type": "http.delete",
"params": {
"url": "https://api.example.com/users/123"
}
}
Requests that exceed the configured timeout will be aborted:
{
"type": "http.get",
"params": { "url": "https://slow-api.example.com" }
}
Error Response:
Error making GET request: Request timeout after 30000ms
All successful requests return:
All commands return descriptive error messages:
MIT
FAQs
HTTP operations plugin for MCP Decorator Framework
We found that @mcp-decorator/plugin-http demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.