selvin-search-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| SELVIN_MODEL | Yes | Model name to use (required) | |
| ZHIPU_API_KEY | No | Alternative to SELVIN_API_KEY for Zhipu | |
| SELVIN_API_KEY | No | Your API key for the provider | |
| SELVIN_API_URL | No | Base URL for the API (default: https://open.bigmodel.cn/api/paas/v4) | https://open.bigmodel.cn/api/paas/v4 |
| SELVIN_PROVIDER | No | Provider type (default: zhipu) | zhipu |
| SELVIN_MAX_TOKENS | No | Maximum tokens for model output (default: 2600) | 2600 |
| SELVIN_SEARCH_MODE | No | Search mode: parallel, api, or model_online (default: parallel) | parallel |
| ZHIPU_CONTENT_SIZE | No | Content size for Zhipu: high, medium, low (default: high) | high |
| ZHIPU_SEARCH_COUNT | No | Number of search results (default: 5) | 5 |
| SELVIN_ONLINE_MODEL | No | Model name for the alternative online model | |
| ZHIPU_SEARCH_ENGINE | No | Search engine for Zhipu (default: search_pro) | search_pro |
| SELVIN_ONLINE_API_KEY | No | API key for the alternative online model API | |
| SELVIN_ONLINE_API_URL | No | Alternative API URL for online model in parallel or model_online mode | |
| SELVIN_FETCH_ONLINE_SOURCES | No | Whether to fetch online source pages (default: true) | true |
| ZHIPU_SEARCH_RECENCY_FILTER | No | Recency filter: noLimit, day, week, month (default: noLimit) | noLimit |
| SELVIN_API_CANCEL_GRACE_SECONDS | No | Grace period for cancelling API search (default: 0.5) | 0.5 |
| SELVIN_FETCH_ONLINE_SOURCE_CHARS | No | Max characters to fetch per online source (default: 3000) | 3000 |
| SELVIN_FETCH_ONLINE_SOURCE_COUNT | No | Max number of online sources to fetch (default: 5) | 5 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| web_searchA | |
| get_sourcesB | |
| get_config_infoA | |
| switch_modelA | |
| plan_intentA | |
| plan_complexityA | Phase 2: Assess search complexity (1-3). Controls required phases: Level 1 = phases 1-3; Level 2 = phases 1-5; Level 3 = all 6. |
| plan_sub_queryA | Phase 3: Submit ALL sub-queries in ONE call (batch). items_json: JSON array, each element shape: {"id":"sq1","goal":"...","expected_output":"...","boundary":"...", "depends_on":["sq0"],"tool_hint":"web_search"} Validation enforced by the engine:
Set is_revision=true to replace any previously submitted decomposition. |
| plan_search_termA | Phase 4: Submit ALL search terms in ONE call (batch). terms_json: JSON array, each element shape: {"term":"react server components 2025","purpose":"sq1","round":1} Strict rules (enforced):
approach (broad_first | narrow_first | targeted) and fallback_plan are strategy-level; pass them as top-level params, not inside terms. |
| plan_tool_mappingA | Phase 5: Submit ALL sub-query → tool mappings in ONE call (batch). mappings_json: JSON array, each element shape: {"sub_query_id":"sq1","tool":"web_search","reason":"...", "params":{"platform":"GitHub"}} tool must be: web_search. |
| plan_executionC | Phase 6: Define execution order. parallel_groups: semicolon-separated groups of comma-separated IDs (e.g., 'sq1,sq2;sq3'). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool has a distinct purpose. Planning tools follow a clear phase sequence (1-6), while configuration and search tools are separate. No two tools have overlapping functionality.
Most tools use a consistent verb_noun pattern in snake_case. However, 'web_search' is noun_verb, which is a minor deviation from the otherwise uniform naming convention.
With 10 tools, the set is well-scoped for a search server with planning capabilities. It covers all necessary phases without being too large or too small.
The tool surface covers the entire search workflow: configuration, planning (all six phases), web search execution, and source retrieval. No obvious gaps exist for the server's stated purpose.