- Home
- MCP servers
- Web Request
Web Request
- typescript
0
GitHub Stars
typescript
Language
3 months ago
First Indexed
3 weeks 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": {
"ks-gen-ai-web-request-mcp-server": {
"command": "node",
"args": [
"/ABSOLUTE/PATH/TO/webrequest-mcp-server/build/index.js"
]
}
}
}You run a TypeScript‑based MCP server that lets you execute HTTP requests with full control over method, headers, body, and query parameters. It’s useful for AI workflows that need to interact with web APIs, test endpoints, or prototype API integrations without writing your own HTTP client logic.
How to use
Use this MCP server from your MCP client to perform HTTP requests with precise configuration. You can specify the target URL, choose an HTTP method, provide custom headers, attach a body, and add URL query parameters. The server handles JSON content intelligently, truncates very large responses for practicality, and returns the full response including status, headers, and data.
Practical usage patterns include: making authenticated API calls by supplying an Authorization header, posting JSON payloads to create resources, querying endpoints with search parameters, and handling responses by checking status codes and headers. You control all aspects of the request via the tool’s parameters: url is required, and you can set method, headers, body, and params as needed.
How to install
Prerequisites you need: Node.js installed on your system. You should have a functional shell where you can run npm commands. If you are developing, you may also want a TypeScript build setup and a local MCP development environment.
# Prerequisites
node -v
npm -v
# Development setup (optional):
# Install dependencies
npm install
# Build the server
npm run build
# For development with auto-rebuild (optional)
npm run watch
Running the server (start command)
To start the MCP server locally, run the runtime command that launches the built server file. Use the exact path shown to your built index file.
node /ABSOLUTE/PATH/TO/webrequest-mcp-server/build/index.js
Available tools
http_request
A versatile tool for making HTTP requests with full control over parameters including url, method, headers, body, and query params. Supports automatic JSON handling, response truncation for large outputs, and returns status, headers, and data.