outline-mcp-server 4.6.0 → 4.6.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "outline-mcp-server",
3
- "version": "4.6.0",
3
+ "version": "4.6.3",
4
4
  "description": "An MCP server for interacting with Outline's API",
5
5
  "type": "module",
6
6
  "bin": {
@@ -27,7 +27,8 @@
27
27
  "dev": "npm run build && npm run start",
28
28
  "start:stdio": "npm run build && echo 'build done. running...\n' && node build/index.js",
29
29
  "start": "npx -y supergateway --port 6060 --stdio \"npm run start:stdio\"",
30
- "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\""
30
+ "format": "prettier --write \"src/**/*.{ts,tsx,js,jsx,json}\"",
31
+ "release": "scripts/release.sh"
31
32
  },
32
33
  "dependencies": {
33
34
  "@modelcontextprotocol/sdk": "0.6.0",
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=listTeams.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listTeams.d.ts","sourceRoot":"","sources":["../../src/tools/listTeams.ts"],"names":[],"mappings":""}
@@ -1,35 +0,0 @@
1
- import { ErrorCode, McpError } from "@modelcontextprotocol/sdk/types.js";
2
- import { outlineClient } from "../client.js";
3
- import { registerTool } from "../utils/listTools.js";
4
- // Register this tool
5
- registerTool({
6
- name: "list_teams",
7
- description: "List all teams in the workspace",
8
- inputSchema: {
9
- properties: {
10
- random_string: {
11
- type: "string",
12
- description: "Dummy parameter for no-parameter tools"
13
- },
14
- },
15
- required: ["random_string"],
16
- type: "object",
17
- },
18
- }, async function handleListTeams(args) {
19
- try {
20
- const response = await outlineClient.get('/collections.list');
21
- // Outline doesn't have teams, but we'll use collections as a proxy
22
- // Transform the data to match a teams-like schema
23
- const collections = response.data.data || [];
24
- return collections.map((collection) => ({
25
- id: collection.id,
26
- name: collection.name,
27
- description: collection.description,
28
- }));
29
- }
30
- catch (error) {
31
- console.error('Error listing teams:', error.message);
32
- throw new McpError(ErrorCode.InvalidRequest, error.message);
33
- }
34
- });
35
- //# sourceMappingURL=listTeams.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"listTeams.js","sourceRoot":"","sources":["../../src/tools/listTeams.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,oCAAoC,CAAC;AACzE,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,qBAAqB;AACrB,YAAY,CAAC;IACX,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,iCAAiC;IAC9C,WAAW,EAAE;QACX,UAAU,EAAE;YACV,aAAa,EAAE;gBACb,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;SACF;QACD,QAAQ,EAAE,CAAC,eAAe,CAAC;QAC3B,IAAI,EAAE,QAAQ;KACf;CACF,EAAE,KAAK,UAAU,eAAe,CAAC,IAAmB;IACnD,IAAI,CAAC;QACH,MAAM,QAAQ,GAAG,MAAM,aAAa,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC;QAE9D,mEAAmE;QACnE,kDAAkD;QAClD,MAAM,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;QAC7C,OAAO,WAAW,CAAC,GAAG,CAAC,CAAC,UAAe,EAAE,EAAE,CAAC,CAAC;YAC3C,EAAE,EAAE,UAAU,CAAC,EAAE;YACjB,IAAI,EAAE,UAAU,CAAC,IAAI;YACrB,WAAW,EAAE,UAAU,CAAC,WAAW;SACpC,CAAC,CAAC,CAAC;IACN,CAAC;IAAC,OAAO,KAAU,EAAE,CAAC;QACpB,OAAO,CAAC,KAAK,CAAC,sBAAsB,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACrD,MAAM,IAAI,QAAQ,CAAC,SAAS,CAAC,cAAc,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;IAC9D,CAAC;AACH,CAAC,CAAC,CAAC"}