@burdenoff/mcp-libs 2026.1013.1 → 2026.1013.3

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.
@@ -579,11 +579,6 @@ var AUTHENTICATE_APP = `
579
579
  }
580
580
  }
581
581
  `;
582
- var ME = `
583
- query Me {
584
- me { id email username isActive emailVerified }
585
- }
586
- `;
587
582
  var CURRENT_USER = `
588
583
  query currentUser {
589
584
  currentUser {
@@ -772,13 +767,6 @@ var UPDATE_USER = `
772
767
  }
773
768
  }
774
769
  `;
775
- var INVITE_USER = `
776
- mutation inviteUser($input: InviteUserInput!) {
777
- inviteUser(input: $input) {
778
- id email status invitedAt expiresAt
779
- }
780
- }
781
- `;
782
770
 
783
771
  // src/modules/auth/more-tools.ts
784
772
  function err(ctx, name, message, error) {
@@ -889,22 +877,6 @@ function registerAuthMoreTools(server, ctx, track) {
889
877
  }
890
878
  }
891
879
  );
892
- server.registerTool(
893
- track(mcpToolName(ctx.productName, "auth_get_current_user")),
894
- {
895
- title: "Get Current User",
896
- description: "Fetch the authenticated user via the SDK `me` query (id, email, username, isActive, emailVerified). Lighter than auth_profile_get and matches the SDK shape. Use auth_status to check authentication state locally without a network round-trip.",
897
- inputSchema: {}
898
- },
899
- async () => {
900
- try {
901
- const d = await ctx.gql.global.request(ME);
902
- return jsonResult(d.me);
903
- } catch (e) {
904
- return err(ctx, "auth_get_current_user", "Failed to fetch current user", e);
905
- }
906
- }
907
- );
908
880
  server.registerTool(
909
881
  track(mcpToolName(ctx.productName, "auth_authenticate_app")),
910
882
  {
@@ -1687,36 +1659,6 @@ function registerAuthExtraTools(server, ctx, track) {
1687
1659
  }
1688
1660
  }
1689
1661
  );
1690
- server.registerTool(
1691
- track(mcpToolName(ctx.productName, "auth_users_invite")),
1692
- {
1693
- title: "Invite User (admin)",
1694
- description: "Send an invitation email to a new user.",
1695
- inputSchema: {
1696
- email: zod.z.string().describe("Invitee email"),
1697
- role: zod.z.string().optional().describe("Role to assign on accept"),
1698
- firstName: zod.z.string().optional(),
1699
- lastName: zod.z.string().optional(),
1700
- workspaceIds: zod.z.array(zod.z.string()).optional()
1701
- }
1702
- },
1703
- async ({ email, role, firstName, lastName, workspaceIds }) => {
1704
- try {
1705
- const input = { email };
1706
- if (role !== void 0) input.role = role.toUpperCase();
1707
- if (firstName !== void 0) input.firstName = firstName;
1708
- if (lastName !== void 0) input.lastName = lastName;
1709
- if (workspaceIds !== void 0) input.workspaceIds = workspaceIds;
1710
- const d = await ctx.gql.global.request(
1711
- INVITE_USER,
1712
- { input }
1713
- );
1714
- return jsonResult({ status: "success", invitation: d.inviteUser });
1715
- } catch (e) {
1716
- return err2(ctx, "auth_users_invite", "Failed to invite user", e);
1717
- }
1718
- }
1719
- );
1720
1662
  server.registerTool(
1721
1663
  track(mcpToolName(ctx.productName, "auth_users_update")),
1722
1664
  {