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 |
Capabilities
Features and capabilities supported by this server
| 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_sourcesA | |
| 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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/selvinchen97-lab/GLM-search-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server