@vornrun/mcp 0.5.5 → 0.5.7

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -5
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -3640,6 +3640,9 @@ var failure = (message) => ({
3640
3640
  content: [{ type: "text", text: `Error: ${message}` }],
3641
3641
  isError: true
3642
3642
  });
3643
+ function summarize(entry) {
3644
+ return { type: entry.type, label: entry.label };
3645
+ }
3643
3646
  function registerConnectorTools(server) {
3644
3647
  server.tool(
3645
3648
  "list_connectors",
@@ -3648,7 +3651,7 @@ function registerConnectorTools(server) {
3648
3651
  installable_only: z7.boolean().optional().describe("Only connectors that are not set up yet")
3649
3652
  },
3650
3653
  async (args) => {
3651
- const [builtIns, catalog, connections, statuses] = await Promise.all([
3654
+ const [builtIns, snapshot, connections, statuses] = await Promise.all([
3652
3655
  rpcCall("connector:list"),
3653
3656
  rpcCall("connector:catalog"),
3654
3657
  rpcCall("connection:list", { connectorId: void 0 }),
@@ -3670,15 +3673,22 @@ function registerConnectorTools(server) {
3670
3673
  ...statusFor(c.id).message && { authMessage: statusFor(c.id).message }
3671
3674
  }
3672
3675
  })),
3673
- ...catalog.map((entry) => ({
3676
+ ...snapshot.items.map((entry) => ({
3674
3677
  id: entry.id,
3675
3678
  name: entry.name,
3676
3679
  source: "package",
3677
3680
  description: entry.description,
3678
3681
  package: entry.packageName,
3682
+ ...entry.version && { version: entry.version },
3679
3683
  capabilities: entry.capabilities,
3680
3684
  connections: countFor(entry.id),
3681
- ...entry.auth && { auth: entry.auth }
3685
+ ...entry.auth && { auth: entry.auth },
3686
+ // Generated upstream from the connector's own manifest, so an agent
3687
+ // can tell whether a connector is worth installing without launching
3688
+ // it — which for a list of twenty would be twenty npx processes.
3689
+ ...entry.triggers && { triggers: entry.triggers.map(summarize) },
3690
+ ...entry.actions && { actions: entry.actions.map(summarize) },
3691
+ ...entry.env && { env: entry.env.map((e) => e.name) }
3682
3692
  }))
3683
3693
  ];
3684
3694
  return json(args.installable_only ? entries.filter((e) => e.connections === 0) : entries);
@@ -3756,7 +3766,7 @@ function registerConnectorTools(server) {
3756
3766
  sync_interval_minutes: z7.number().int().min(1).max(1440).optional()
3757
3767
  },
3758
3768
  async (args) => {
3759
- const catalog = await rpcCall("connector:catalog");
3769
+ const { items: catalog } = await rpcCall("connector:catalog");
3760
3770
  const entry = args.connector_id ? catalog.find((c) => c.id === args.connector_id) : void 0;
3761
3771
  if (args.connector_id && !entry) {
3762
3772
  return failure(
@@ -3895,7 +3905,7 @@ console.warn = (...args) => _origError("[mcp:warn]", ...args);
3895
3905
  console.error = (...args) => _origError("[mcp:error]", ...args);
3896
3906
  async function main() {
3897
3907
  configManager.init();
3898
- const version = true ? "0.5.5" : createRequire(import.meta.url)("../package.json").version;
3908
+ const version = true ? "0.5.7" : createRequire(import.meta.url)("../package.json").version;
3899
3909
  const server = createMcpServer(version);
3900
3910
  const transport = new StdioServerTransport();
3901
3911
  await server.connect(transport);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vornrun/mcp",
3
- "version": "0.5.5",
3
+ "version": "0.5.7",
4
4
  "description": "Vorn MCP server — task management, git, and workflow tools for AI coding agents",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,8 +38,8 @@
38
38
  "zod": "^4.4.3"
39
39
  },
40
40
  "devDependencies": {
41
- "@vornrun/server": "0.5.5",
42
- "@vornrun/shared": "0.5.5",
41
+ "@vornrun/server": "0.5.7",
42
+ "@vornrun/shared": "0.5.7",
43
43
  "tsup": "^8.5.1",
44
44
  "tsx": "^4.23.1",
45
45
  "typescript": "^6.0.3"