mcp-tool-search-server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MCP Tool Search, 2-Level Skills over MCP & Sandboxed Code Mode
A lightweight, standalone MCP gateway and Python SDK that solves MCP context bloat in IDEs (Antigravity, Cursor, VS Code, Claude Desktop) and provides a native defer_loading payload builder for Anthropic & OpenAI server backends.
2-Level Skills over MCP:
skills/listexposes only global server Skills (skill://<server>/global, with SHA-256 integrity digests), while per-tool procedures (skill://<server>/tools/<tool>) load on demand viaskills/getorresources/read.Compact Directory Gateway: keeps 400+ tools out of Injection 1 while surfacing available server IDs in
initialize.instructionsandtool_search_discover.Sandboxed Code Mode: AST-verified Python execution (
code_mode_execute) for multi-tool loops without raw intermediate data flooding the LLM context.Native API Builder:
BuildDeferredToolsPayloadUseCaseconverts MCPtools/listinto native Anthropic (tool_search_tool_bm25_20251119+defer_loading: true) or OpenAI ({"type": "tool_search"}+defer_loading: true) tool payloads.
Quick Start (English)
# Install from source / wheel (or run via uvx once published)
pip install snorbik-tool-search-codemode-mcp
# Or editable install from this directory:
pip install -e .
# Initialize .mcp.json, .vscode/mcp.json and .claude/settings.json in your project:
mcp-tool-search init --target . --client all --command uvx
# Use --command python if running directly from a local Python environmentInstallation rapide (Français)
pip install -e .
mcp-tool-search init --target . --client all --command pythonLa commande init configure .mcp.json, .vscode/mcp.json et .claude/settings.json (ENABLE_TOOL_SEARCH=true) sans écraser vos serveurs MCP déjà présents.
Related MCP server: dsh-skills-anywhere
AI Quick-Setup Prompt (Copy-Paste to Your Coding Agent)
Paste this prompt into Antigravity, Cursor, Claude Code, or VS Code Copilot to let your AI assistant set up and verify the gateway automatically:
Install and configure
snorbik-tool-search-codemode-mcpin this workspace:
Run
mcp-tool-search init --target . --client all --command uvx(or--command pythonif installed locally).Verify with
mcp-tool-search pingthat the local.mcp.jsonand.agents/skills/skills/folders are indexed.Keep only daily MCP servers directly enabled in
.mcp.json, and discover/invoke remaining tools on demand viatool_search_discover,tool_search_read_skill, andtool_search_invoke.
Python SDK (Native defer_loading for Server Backends)
from canal_sdk_cli.sdk import ToolSearchCodeModeSdk
sdk = ToolSearchCodeModeSdk()
payload = sdk.build_native_tool_search_payload(mcp_tools, provider="anthropic")
# Or provider="openai"Environment Variables
MCP_WORKSPACE_ROOT: Override the workspace directory where.mcp.jsonandskills/are discovered (defaults toPath.cwd()when installed as a package).MCP_SKILLS_DIRS: Optional OS-separated (:/;) extra directories containing<skill>/SKILL.mdfolders.
Architecture
core/domain/— Pydantic entities & clean Ports (IFleetCatalogPort,IMcpProxyPort,ICodeModeSandboxPort)core/application/— 7 atomic Use Cases (DiscoverToolsUseCase,InspectWorkflowUseCase,InvokeMcpToolUseCase,ExecuteCodeModePipelineUseCase,ReadSkillResourceUseCase,BuildDeferredToolsPayloadUseCase,InitWorkspaceConfigUseCase)core/infrastructure/— Zero-import AST catalog scanner, stdio JSON-RPC 2.0 proxy, AST sandboxcanal_sdk_cli/&canal_mcp/— SDK, CLI (mcp-tool-search), stdio MCP server (mcp-tool-search-server)
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Governed AI agent skills — one library, distributed to devs and exposed to remote agents over MCP.
The OpenRouter for tools. One MCP connection gives any AI agent 254 hosted tools, pay per call.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server that adapts, activates, and shares local Agent Skills for runtimes like OpenAI Agents SDK and Claude Code, enabling dynamic discovery and shareable HTML/image artifacts.41 npm3MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to discover, search, and load agent skills from many sources, including other agents' skill directories, Claude Code plugin marketplaces, and remote git repositories, with no copying or syncing required.611 npm8MIT
- FlicenseNot gradedqualityBmaintenanceEnables ChatGPT and other MCP clients to discover writing skills, safely read and edit files in a shared workspace, run background tasks, and delegate work to ChatGPT sub-agents.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents and IDEs to discover, install, and execute skills over Model Context Protocol via stdio or SSE, with semantic search and framework bridges.Apache 2.0