dynmcp 0.4.0 → 0.4.1
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 +29 -195
- package/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -5
- package/schema/mcp-config.json +0 -138
package/dist/index.js
CHANGED
|
@@ -7,12 +7,12 @@ import { Command } from "commander";
|
|
|
7
7
|
// package.json
|
|
8
8
|
var package_default = {
|
|
9
9
|
name: "dynmcp",
|
|
10
|
-
version: "0.4.
|
|
10
|
+
version: "0.4.1",
|
|
11
11
|
description: "Dynamic MCP context management tool for AI MCP-enabled agents and clients.",
|
|
12
12
|
author: "Brandon Burrus <brandon@burrus.io>",
|
|
13
13
|
license: "MIT",
|
|
14
14
|
type: "module",
|
|
15
|
-
homepage: "https://
|
|
15
|
+
homepage: "https://dynamicmcp.tools",
|
|
16
16
|
keywords: [
|
|
17
17
|
"mcp",
|
|
18
18
|
"model-context-protocol",
|
|
@@ -52,12 +52,10 @@ var package_default = {
|
|
|
52
52
|
}
|
|
53
53
|
},
|
|
54
54
|
files: [
|
|
55
|
-
"dist"
|
|
56
|
-
"schema"
|
|
55
|
+
"dist"
|
|
57
56
|
],
|
|
58
57
|
scripts: {
|
|
59
58
|
"generate:schema": "tsx scripts/generate-schema.ts",
|
|
60
|
-
prebuild: "tsx scripts/generate-schema.ts",
|
|
61
59
|
build: "tsup",
|
|
62
60
|
dev: "tsx src/index.ts",
|
|
63
61
|
typecheck: "tsc --noEmit",
|
|
@@ -816,7 +814,7 @@ function buildToolsBlock(groups) {
|
|
|
816
814
|
const sections = sortedMcpNames.map((mcpName2) => {
|
|
817
815
|
const tools = groups.get(mcpName2);
|
|
818
816
|
const sortedTools = [...tools].sort((a, b) => a.name.localeCompare(b.name));
|
|
819
|
-
const toolLines = sortedTools.map((tool) => `- ${
|
|
817
|
+
const toolLines = sortedTools.map((tool) => `- ${tool.name}: ${tool.description}`).join("\n");
|
|
820
818
|
return `${mcpName2}:
|
|
821
819
|
${toolLines}`;
|
|
822
820
|
});
|