Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MAX_BYTES | No | Maximum download limit in bytes for the fetch_url tool (e.g., 20MB). | 20971520 |
| USER_AGENT | No | User agent string for network requests. | mcp-web-calc/0.3 (https://local) |
| MAX_RESULTS | No | Default number of results for the search_web tool. | 10 |
| HTTP_TIMEOUT | No | Timeout in milliseconds for all network requests. | 15000 |
| LANG_DEFAULT | No | Default language code. | vi |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search_web | Two-tier web search: runs fast DuckDuckGo HTML search by default, escalates to Puppeteer/Bing if results are insufficient. No API keys required. |
| fetch_url | Fetches content from a URL (HTML/PDF) and extracts readable text. Supports truncation modes: compact (~3000 chars), standard (~8000 chars, default), full (no truncation). Output formats: markdown (default), text, html. |
| summarize_url | Fetches content from a URL and generates a concise summary. |
| wiki_get | Retrieves a Wikipedia summary for a given title. Supports multiple languages (default: en). |
| wiki_multi | Retrieves Wikipedia summaries in multiple languages for a given term. Uses langlinks to map titles accurately across languages. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |