mcp-server-requests
@MCP-Mirror
关于 mcp-server-requests
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"coucya_mcp-server-requests": {
"command": "python",
"args": [
"-m",
"mcp_server_requests"
]
}
}
}工具
6**url** (required): Target URL
**url** (required): Target URL
**url** (required): Target URL
Same as http_post
Same as http_post
Same as http_post
概览
What is mcp-server-requests?
mcp-server-requests is an MCP server that provides HTTP request capabilities, enabling LLMs to fetch and process web content. It is designed for developers and AI applications that need programmatic web fetching and API interaction.
How to use mcp-server-requests?
Install by cloning the repository and running pip install .. Configure in the MCP client by adding "mcp-server-requests" with command python -m mcp_server_requests. Optionally set User-Agent via command-line flags (--user-agent or --random-user-agent). Use the server’s tools (fetch, http_get, http_post, http_put, http_patch, http_delete) to perform HTTP operations.
Key features of mcp-server-requests
- Converts web content to Markdown format
- Filters out content useless for LLMs (e.g., scripts, styles)
- Supports custom User-Agent headers
- Supports randomly generated User-Agent headers
- Supports custom request headers in HTTP calls
- Full HTTP methods: GET, POST, PUT, DELETE, PATCH
Use cases of mcp-server-requests
- Fetching web pages and converting them to clean Markdown for LLMs
- Sending API requests (GET, POST, PUT, etc.) with custom headers
- Retrieving and processing HTTP response headers programmatically
- Testing or prototyping HTTP interactions within an MCP environment
FAQ from mcp-server-requests
What runtime does mcp-server-requests require?
Python is required. Install via pip install . after cloning the repository.
How do I set a custom User-Agent?
Use the --user-agent flag with a string, or --random-user-agent to generate one randomly. The --force-user-agent flag controls priority over LLM-provided User-Agents.
What content filtering options are available?
The fetch tool accepts return_content with values: raw, basic_clean, strict_clean, or markdown. These control how much HTML is stripped before returning.
Which HTTP methods are supported?
The server provides dedicated tools for GET, POST, PUT, PATCH, and DELETE methods, each with optional query parameters, headers, and body data.
Does mcp-server-requests support authentication?
The README does not mention any authentication mechanism. Custom headers can be passed, but no built-in auth is described.
其他 分类下的更多 MCP 服务器
MCP Go 🚀
mark3labsA Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.
XcodeBuildMCP
cameroncookeA Model Context Protocol (MCP) server and CLI that provides tools for agent use when working on iOS and macOS projects.
Blender
ahujasidOpen-source MCP to use Blender with any LLM
Core Philosophy: Connect, Unify, Respond
mindsdbDelegate anything. It comes back done.
🪟 Windows-MCP
CursorTouchMCP Server for Computer Use in Windows
评论