req-mcp-server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@req-mcp-serverSet the base URL to https://api.example.com and fetch /v1/users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
req-mcp-server
req-mcp-server is a Bun-based MCP server that provides a persistent HTTP request toolset for testing and inspecting APIs.
It exposes a small set of MCP tools for setting a base URL, sending requests, reusing bearer auth across calls, and resetting request session state.
What it does
serves an MCP endpoint over HTTP using Hono
maintains per-session request state
persists cookies within a session
can automatically capture and reuse bearer tokens from login responses
supports JSON request bodies and custom headers for standard API workflows
Exposed tools
The server registers four MCP tools:
new_request_session— clears cookies and stored authget_request_base— returns the current API base URLset_request_base— sets the API base URL used for later callssend_request— sends an HTTP request through the active session
send_request is the main operational tool. The other three manage session state.
Runtime behavior
MCP transport endpoint:
/mcphealth endpoint:
/healthdefault port:
9797configurable via
MCP_PORT
Each MCP session gets its own request client. Cookies are preserved across requests in that session, and bearer auth is reused when a successful response body includes an access_token field.
Requirements
Install
bun installRun locally
bun run src/mcp.tsOnce started, the server is available at:
http://localhost:9797/healthhttp://localhost:9797/mcp
If you want a different port:
MCP_PORT=8080 bun run src/mcp.tsDocker
Build and run with Docker Compose:
docker compose up --buildThe container exposes port 9797 and starts the same MCP server entrypoint.
Request model
send_request accepts:
endpoint— request path such as/api/auth/memethod— HTTP method such asGETorPOSTuseStoredAuth— whether to attach the stored bearer tokenheaders— optional string-to-string headersbody— optional JSON object body
Current behavior is designed for standard JSON API traffic. Multipart uploads, binary payloads, and non-object request bodies are not the primary target of this server.
Project structure
src/
mcp.ts MCP server and HTTP transport
xrest.ts session-aware request client
utils.ts small string utility helpers
skills/
request-api-tool/ companion skill guidance for using the MCP toolsDevelopment notes
built with Bun and TypeScript
HTTP server implemented with Hono
request execution uses
impitcookie persistence uses
tough-cookie
Health check
curl http://localhost:9797/healthExpected response:
{"status":"ok"}This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/TarminaRX/request-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server