internaltool-mcp 1.2.0 → 1.3.0

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/index.js +14 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -118,6 +118,20 @@ function registerUserTools(server) {
118
118
  return call(() => api.get(`/api/users/directory${qs}`))
119
119
  }
120
120
  )
121
+
122
+ server.tool(
123
+ 'get_my_tasks',
124
+ 'Get all tasks assigned to you. Optionally filter by column. Use this to find your active work before a hotfix or priority switch.',
125
+ {
126
+ column: z.enum(['backlog', 'todo', 'in_progress', 'in_review', 'done'])
127
+ .optional()
128
+ .describe('Filter to a specific column — e.g. "in_progress" to find your active task'),
129
+ },
130
+ async ({ column } = {}) => {
131
+ const qs = column ? `?column=${encodeURIComponent(column)}` : ''
132
+ return call(() => api.get(`/api/users/me/tasks${qs}`))
133
+ }
134
+ )
121
135
  }
122
136
 
123
137
  function registerProjectTools(server, { isAdmin, scopedProjectId }) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "internaltool-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "MCP server for InternalTool — connect AI assistants (Claude Code, Cursor) to your project and task management platform",
5
5
  "type": "module",
6
6
  "main": "index.js",