@vincemakes/kiso-mcp-ext 0.1.46 → 0.1.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/kiso-mcp.mjs CHANGED
@@ -17998,13 +17998,16 @@ function kisoHome() {
17998
17998
  function createMcpExtension() {
17999
17999
  const config2 = readConfig(process.env.KISO_MCP_CONFIG ?? join(kisoHome(), "mcp.json"));
18000
18000
  const status = [];
18001
- const tools = [statusTool(status)];
18001
+ const tools = [];
18002
18002
  const clients = [];
18003
18003
  let connecting = false;
18004
18004
  const cache = readToolCache(kisoHome());
18005
+ const entries = Object.entries(config2.mcpServers ?? {}).filter(([, server]) => server.disabled !== true);
18006
+ if (entries.length > 0) {
18007
+ tools.push(statusTool(status));
18008
+ }
18005
18009
  const connects = [];
18006
- for (const [name, server] of Object.entries(config2.mcpServers ?? {})) {
18007
- if (server.disabled === true) continue;
18010
+ for (const [name, server] of entries) {
18008
18011
  const connectPromise = connectServer(name, server, clients);
18009
18012
  for (const cached2 of cache[name] ?? []) {
18010
18013
  tools.push(mapCachedTool(name, cached2, () => connectPromise.then(({ client }) => client)));
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vincemakes/kiso-mcp-ext",
3
- "version": "0.1.46",
4
- "description": "kiso official MCP bridge extension \u2014 MCP servers become mcp__ tools, kernel untouched",
3
+ "version": "0.1.48",
4
+ "description": "kiso official MCP bridge extension MCP servers become mcp__ tools, kernel untouched",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "./dist/kiso-mcp.mjs",