@devpad/mcp 2.2.14 → 2.2.15

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 +7 -0
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -13976,6 +13976,7 @@ var ApiClient2 = class {
13976
13976
  })
13977
13977
  };
13978
13978
  this.user = {
13979
+ me: () => wrap(() => this.clients.auth.get("/user/me")),
13979
13980
  history: () => wrap(() => this.clients.auth.get("/user/history")),
13980
13981
  preferences: (data) => wrap(() => this.clients.auth.patch("/user/preferences", {
13981
13982
  body: data
@@ -14501,6 +14502,12 @@ var tools = {
14501
14502
  }),
14502
14503
  execute: async (client, input) => unwrap2(await client.tasks.history.get(input.task_id))
14503
14504
  }),
14505
+ devpad_user_me: define_tool({
14506
+ name: "devpad_user_me",
14507
+ description: "Get the authenticated user's identity (id, name, github_id, task_view)",
14508
+ inputSchema: exports_external.object({}),
14509
+ execute: async (client) => unwrap2(await client.user.me())
14510
+ }),
14504
14511
  devpad_user_history: define_tool({
14505
14512
  name: "devpad_user_history",
14506
14513
  description: "Get user activity history",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/mcp",
3
- "version": "2.2.14",
3
+ "version": "2.2.15",
4
4
  "description": "MCP server for devpad - exposes devpad API functionality via Model Context Protocol",
5
5
  "keywords": [
6
6
  "ai-tools",
@@ -50,7 +50,7 @@
50
50
  "zod-to-json-schema": "^3.24.6"
51
51
  },
52
52
  "devDependencies": {
53
- "@devpad/api": "^2.2.14",
53
+ "@devpad/api": "^2.2.15",
54
54
  "@types/node": "^24.3.0",
55
55
  "typescript": "^5.0.0"
56
56
  },