mcp-server-request
Overview
mcp-server-request is a TypeScript library designed to facilitate server requests in a structured and efficient manner.
To use mcp-server-request, install the library via npm and import it into your TypeScript project. You can then create server requests using the provided methods.
- Simplified API for making server requests - Support for various request methods (GET, POST, etc.) - Built-in error handling and response parsing
- Making API calls in web applications
- Handling server responses in a structured way
- Integrating with third-party services seamlessly
Add to your AI client
Use these steps to connect mcp-server-request in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-server-request-yaxingson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-server-request-yaxingson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-server-request-yaxingson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-server-request-yaxingson": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-server-request-yaxingson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-server-request-yaxingson": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-server-request-yaxingson"
]
}
}
}