@justanothermldude/mcp-exec 1.7.9 → 1.7.10
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/README.md +1 -1
- package/dist/index.js +2 -2
- package/dist/tools/list-servers.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -336,7 +336,7 @@ mcp-exec maintains a disk-cached tool catalog at `~/.meta-mcp/tool-catalog.json`
|
|
|
336
336
|
2. **Every session after:** On startup, mcp-exec reads the catalog and embeds the full API reference in the `execute_code_with_wrappers` tool description. The agent sees all tool names and parameter signatures before writing code:
|
|
337
337
|
```
|
|
338
338
|
Tool API Reference:
|
|
339
|
-
|
|
339
|
+
example-server: tool_one({args, config?}), tool_two({args, config?}), ...
|
|
340
340
|
```
|
|
341
341
|
|
|
342
342
|
3. **Self-maintaining:**
|
package/dist/index.js
CHANGED
|
@@ -77,7 +77,7 @@ function createListServersHandler() {
|
|
|
77
77
|
const escapedTags = escapeMarkdownCell(tagsStr);
|
|
78
78
|
return `| \`${escapedName}\` | ${escapedDesc} | ${escapedTags} |`;
|
|
79
79
|
});
|
|
80
|
-
const table = "## Available MCP Servers\n\n| Name | Description | Tags |\n|------|-------------|------|\n" + rows.join("\n") + '\n\nTo use a server, pass its exact name in the `wrappers` array of `execute_code_with_wrappers`.\nExample: `wrappers: ["
|
|
80
|
+
const table = "## Available MCP Servers\n\n| Name | Description | Tags |\n|------|-------------|------|\n" + rows.join("\n") + '\n\nTo use a server, pass its exact name in the `wrappers` array of `execute_code_with_wrappers`.\nExample: `wrappers: ["example-server"]`\n\nTo see tools on a server: `get_mcp_tool_schema({ server: "example-server" })`';
|
|
81
81
|
return {
|
|
82
82
|
content: [{ type: "text", text: table }],
|
|
83
83
|
isError: false
|
|
@@ -2003,7 +2003,7 @@ __name(createMcpExecServer, "createMcpExecServer");
|
|
|
2003
2003
|
// dist/index.js
|
|
2004
2004
|
import { ServerPool, createConnection, getServerConfig as getServerConfig3, loadServerManifest as loadServerManifest2, cleanupOrphanedProcesses } from "@justanothermldude/mcp-exec-core";
|
|
2005
2005
|
var APP_NAME = "mcp-exec";
|
|
2006
|
-
var VERSION2 = "1.7.
|
|
2006
|
+
var VERSION2 = "1.7.10";
|
|
2007
2007
|
var defaultExecutor = null;
|
|
2008
2008
|
function getDefaultExecutor() {
|
|
2009
2009
|
if (!defaultExecutor) {
|
|
@@ -101,8 +101,8 @@ export function createListServersHandler() {
|
|
|
101
101
|
rows.join('\n') +
|
|
102
102
|
'\n\n' +
|
|
103
103
|
'To use a server, pass its exact name in the `wrappers` array of `execute_code_with_wrappers`.\n' +
|
|
104
|
-
'Example: `wrappers: ["
|
|
105
|
-
'To see tools on a server: `get_mcp_tool_schema({ server: "
|
|
104
|
+
'Example: `wrappers: ["example-server"]`\n\n' +
|
|
105
|
+
'To see tools on a server: `get_mcp_tool_schema({ server: "example-server" })`';
|
|
106
106
|
return {
|
|
107
107
|
content: [{ type: 'text', text: table }],
|
|
108
108
|
isError: false,
|