Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCP_FETCH_PORT | No | Port for HTTP transport mode | 8000 |
| MCP_FETCH_CACHE_DIR | No | Directory for storing cache files | ./.mcp-fetch-cache |
| MCP_FETCH_TRANSPORT | No | Transport mode: stdio or http | |
| MCP_FETCH_TTL_SECONDS | No | Time-to-live for cached items in seconds | 1800 |
| MCP_FETCH_MAX_CACHE_BYTES_TOTAL | No | Maximum total cache size in bytes (512 MiB) | 536870912 |
| MCP_FETCH_MAX_SINGLE_TRANSFER_BYTES | No | Maximum size for a single transfer in bytes (200 MiB) | 209715200 |
| MCP_FETCH_WAIT_CHUNK_TIMEOUT_SECONDS | No | Timeout for waiting on chunk data in seconds | 30 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tasks | {
"list": {},
"cancel": {},
"requests": {
"tools": {
"call": {}
},
"prompts": {
"get": {}
},
"resources": {
"read": {}
}
}
} |
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| fetch_page | Fetch/Crawl a dynamic web page and convert to Markdown (supports JavaScript). Use this tool to:
Protocol:
Args:
Returns:
|
| http_request | Perform a generic HTTP request (GET, POST, PUT, DELETE, etc) for APIs or raw data. Use this tool when:
Note: For GET requests to renderable web pages, prefer Protocol:
|
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |