@aioproductoscom/mcp-pm 0.1.0 → 0.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.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 AIITDEVELOPMENT DOO Novi Sad
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -47,6 +47,7 @@ self-hosted platform.
47
47
  | `create_task` | new task; `feature_id` / `insight_id` link it to the spine |
48
48
  | `update_task` | change status, priority, fields, assignees |
49
49
  | `comment_on_task` | add a comment |
50
+ | `get_product_brain` | a grounded read-only snapshot of your product (revenue, accounts, web + product analytics, features, signals, open work) — so your host model reasons about it **on your own subscription** |
50
51
 
51
52
  ## Local build (until published to npm)
52
53
 
package/dist/client.js CHANGED
@@ -57,4 +57,8 @@ export class PlatformClient {
57
57
  body: JSON.stringify({ body }),
58
58
  });
59
59
  }
60
+ brain(productId) {
61
+ const qs = productId ? `?product_id=${encodeURIComponent(productId)}` : "";
62
+ return this.req(`/api/me/brain${qs}`);
63
+ }
60
64
  }
package/dist/index.js CHANGED
@@ -17,7 +17,14 @@ function text(data) {
17
17
  ],
18
18
  };
19
19
  }
20
- const server = new McpServer({ name: "productos-pm", version: "0.1.0" });
20
+ const server = new McpServer({ name: "productos-pm", version: "0.3.0" }, {
21
+ instructions: "You manage ProductOS PM tickets on behalf of the connected member — the board is the team's " +
22
+ "source of truth, so work precisely. Resolve names to ids with pm_meta before create_task / " +
23
+ "update_task; never guess an id. Link a task to the spine (feature_id / insight_id) whenever the " +
24
+ "context makes the connection real, so the work traces back to the why. Keep titles and " +
25
+ "descriptions concrete and scoped. Confirm what you changed in plain language, and claim only " +
26
+ "writes you actually made.",
27
+ });
21
28
  server.tool("whoami", "Show the connected ProductOS identity (org, member).", {}, async () => text(await client.whoami()));
22
29
  server.tool("pm_meta", "List the org's PM lists, statuses, members, and features — use to resolve names to ids before create/update.", {}, async () => text(await client.meta()));
23
30
  server.tool("list_tasks", "List tasks in the org. Optional filters: status_id, list_id.", { status_id: z.string().optional(), list_id: z.string().optional() }, async (a) => text(await client.listTasks(a)));
@@ -43,6 +50,7 @@ server.tool("update_task", "Update a task's fields (status, priority, title, des
43
50
  assignee_member_ids: z.array(z.string()).optional(),
44
51
  }, async ({ id, ...body }) => text(await client.updateTask(id, body)));
45
52
  server.tool("comment_on_task", "Add a comment to a task.", { id: z.string(), body: z.string() }, async (a) => text(await client.comment(a.id, a.body)));
53
+ server.tool("get_product_brain", "Read a grounded, read-only snapshot of the org's product so YOU can reason about it on your own model: revenue + top paying accounts, web + product analytics, features, recent verbatim customer signals, and open work. Optional product_id; omit for the primary product. Returns the brain text plus the list of products you can ask about.", { product_id: z.string().optional() }, async (a) => text(await client.brain(a.product_id)));
46
54
  async function main() {
47
55
  await server.connect(new StdioServerTransport());
48
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aioproductoscom/mcp-pm",
3
- "version": "0.1.0",
3
+ "version": "0.3.0",
4
4
  "description": "ProductOS PM Helper — an MCP server to manage ProductOS tickets from Claude Code, Cursor, Codex, and any MCP host.",
5
5
  "type": "module",
6
6
  "license": "MIT",