src/main/mcpServers/hub/README.md
A built-in MCP server that aggregates all active MCP servers in Cherry Studio and exposes them through meta-tools.
This server is the core component of Cherry Studio’s Auto MCP Mode.
The Hub server exposes four tools:
list — list tools (paginated with limit + offset)inspect — get a tool signature as a JSDoc stubinvoke — call a single tool with parametersexec — execute JavaScript to orchestrate multiple tool calls via mcp.callTool()Note: Hub tool discovery is NOT web search. Use
listto discover tools.
When an assistant is set to Auto mode:
list/inspect/invoke/exec{ "limit": 50, "offset": 0 }
{ "name": "githubSearchRepos" }
{ "name": "githubSearchRepos", "params": { "query": "mcp" } }
const repos = await mcp.callTool("githubSearchRepos", { query: "mcp" })
return repos
list returns both:
githubSearchReposgithub__search_reposBoth formats are accepted by inspect, invoke, and mcp.callTool().
invalidateCache())list result limit: max 100 entries per call