exponential-mcp 0.17.1 → 0.18.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.
package/README.md CHANGED
@@ -183,6 +183,7 @@ exponential-mcp serve
183
183
  | `get_agent_method` | The published Exponential method. Guidance, not authority |
184
184
  | `get_projects` | List projects (optionally by workspace) |
185
185
  | `get_project` | One project in full: linked objectives & key results, DRI, team, dates |
186
+ | `create_project` | Create a project (personal, or in a workspace) |
186
187
  | `update_project` | Rename, change status/priority, set dates, re-link to OKRs |
187
188
  | `get_actions` | List actions/tasks (filter by project or status; no date filtering) |
188
189
  | `get_todays_actions` | **What's on your plate now** — overdue / today / inbox, across all workspaces |
@@ -25,6 +25,28 @@ export const projects = {
25
25
  }),
26
26
  run: (client, { id }) => client.projects.get(id),
27
27
  }),
28
+ create: op({
29
+ effect: 'write',
30
+ summary: 'Create a project. Only name is required; status defaults to ACTIVE, priority to NONE. Omit workspaceId for a personal project. Returns the new project with its id.',
31
+ params: z.object({
32
+ name: z.string().min(1),
33
+ description: z.string().optional(),
34
+ workspaceId: z.string().optional().describe('Workspace ID (see the `workspaces` tool); omit for a personal project'),
35
+ status: z.enum(['ACTIVE', 'ON_HOLD', 'COMPLETED', 'CANCELLED']).optional(),
36
+ priority: z.enum(['HIGH', 'MEDIUM', 'LOW', 'NONE']).optional(),
37
+ productId: z.string().optional().describe('Product ID — must be in the same workspace'),
38
+ driId: z.string().optional().describe('User ID of the directly responsible individual'),
39
+ teamId: z.string().optional(),
40
+ goalIds: z.array(z.string()).optional().describe('Objective links; integer goal ids as strings'),
41
+ keyResultIds: z.array(z.string()).optional(),
42
+ lifeDomainIds: z.array(z.number().int()).optional(),
43
+ reviewDate: date('Review date').optional(),
44
+ nextActionDate: date('Next action date').optional(),
45
+ startDate: date('Start date').optional(),
46
+ endDate: date('End date').optional(),
47
+ }),
48
+ run: (client, params) => client.projects.create(params),
49
+ }),
28
50
  update: op({
29
51
  effect: 'write',
30
52
  summary: 'Update a project. Only the fields you pass change (omitted name/status/priority cost one extra read).',
@@ -38,7 +38,7 @@ export const tickets = {
38
38
  }),
39
39
  get: op({
40
40
  effect: 'read',
41
- summary: 'Get one ticket in full: body, product, dependencies (dependsOn / requiredFor), linked decisions (id, label, statement, status, decidedAt, linkId; OPEN = a question raised on the ticket; drafts excluded), linked actions and comments (newest first).',
41
+ summary: 'Get one ticket in full: body, product, dependencies (dependsOn / requiredFor), linked decisions (id, label, title — the outcome in six words or fewer, null if none — statement, status, decidedAt, linkId; OPEN = a question raised on the ticket; drafts excluded), linked actions and comments (newest first).',
42
42
  params: z.object({ id: ticketId }),
43
43
  run: (client, { id }) => client.tickets.get(id),
44
44
  }),
package/dist/tools.js CHANGED
@@ -100,6 +100,40 @@ const TOOLS = [
100
100
  required: ['id']
101
101
  }
102
102
  },
103
+ {
104
+ name: 'create_project',
105
+ annotations: writes('Create project'),
106
+ description: 'Create a new project. Only name is required; status defaults to ACTIVE and priority to NONE. Pass workspaceId (from get_workspaces) to file it in a workspace, or omit it for a personal project. Returns the new project ID.',
107
+ inputSchema: {
108
+ type: 'object',
109
+ properties: {
110
+ name: { type: 'string', description: 'Project name' },
111
+ description: { type: 'string', description: 'Project description' },
112
+ workspaceId: { type: 'string', description: 'Workspace ID; omit for a personal project' },
113
+ status: {
114
+ type: 'string',
115
+ enum: ['ACTIVE', 'ON_HOLD', 'COMPLETED', 'CANCELLED'],
116
+ description: 'Lifecycle status (default ACTIVE)'
117
+ },
118
+ priority: {
119
+ type: 'string',
120
+ enum: ['HIGH', 'MEDIUM', 'LOW', 'NONE'],
121
+ description: 'Priority (default NONE)'
122
+ },
123
+ productId: { type: 'string', description: 'Product ID (same workspace)' },
124
+ driId: { type: 'string', description: 'User ID of the directly responsible individual' },
125
+ goalIds: {
126
+ type: 'array',
127
+ items: { type: 'string' },
128
+ description: 'Objective IDs (integers, passed as strings) to link'
129
+ },
130
+ keyResultIds: { type: 'array', items: { type: 'string' }, description: 'Key result IDs to link' },
131
+ startDate: { type: 'string', description: 'ISO datetime' },
132
+ endDate: { type: 'string', description: 'ISO datetime' }
133
+ },
134
+ required: ['name']
135
+ }
136
+ },
103
137
  {
104
138
  name: 'update_project',
105
139
  annotations: writes('Update project'),
@@ -563,6 +597,29 @@ export async function callTool(client, name, args, options = {}) {
563
597
  ],
564
598
  };
565
599
  }
600
+ case 'create_project': {
601
+ const project = await client.projects.create({
602
+ name: args?.name,
603
+ description: args?.description,
604
+ workspaceId: args?.workspaceId,
605
+ status: args?.status,
606
+ priority: args?.priority,
607
+ productId: args?.productId,
608
+ driId: args?.driId,
609
+ goalIds: args?.goalIds,
610
+ keyResultIds: args?.keyResultIds,
611
+ startDate: parseDateArg(args?.startDate) ?? undefined,
612
+ endDate: parseDateArg(args?.endDate) ?? undefined,
613
+ });
614
+ return {
615
+ content: [
616
+ {
617
+ type: 'text',
618
+ text: `Created project: ${project.name} (ID: ${project.id})`,
619
+ },
620
+ ],
621
+ };
622
+ }
566
623
  case 'update_project': {
567
624
  // `null` clears driId; the string "null" is the JSON-as-text form the
568
625
  // model sometimes emits, same as parseDateArg handles for dates.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exponential-mcp",
3
- "version": "0.17.1",
3
+ "version": "0.18.0",
4
4
  "description": "MCP server for Exponential - connect Claude to your projects, actions, goals, CRM, tickets and more",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -47,7 +47,7 @@
47
47
  "dependencies": {
48
48
  "@modelcontextprotocol/sdk": "^1.30.0",
49
49
  "commander": "^12.0.0",
50
- "exponential-sdk": "^1.36.0",
50
+ "exponential-sdk": "^1.39.0",
51
51
  "zod": "^3.22.0",
52
52
  "zod-to-json-schema": "^3.25.2"
53
53
  },