@components-kit/open-workbook-mcp-server 0.1.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 Open Workbook contributors
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 ADDED
@@ -0,0 +1,30 @@
1
+ # @components-kit/open-workbook-mcp-server
2
+
3
+ MCP stdio server for Open Workbook.
4
+
5
+ This package exposes `excel.*` tools, resources, and prompts to MCP clients. It also starts the local backend WebSocket used by the sideloaded Excel add-in.
6
+
7
+ ## Usage
8
+
9
+ Installed CLI users should normally run:
10
+
11
+ ```bash
12
+ owb mcp
13
+ ```
14
+
15
+ Direct package binary:
16
+
17
+ ```bash
18
+ open-workbook-mcp
19
+ ```
20
+
21
+ ## Environment
22
+
23
+ - `OPEN_WORKBOOK_HOST`: backend host, default `127.0.0.1`
24
+ - `OPEN_WORKBOOK_PORT`: backend port, default `37845`
25
+ - `OPEN_WORKBOOK_ADDIN_PATH`: backend WebSocket path, default `/addin`
26
+ - `OPEN_WORKBOOK_PREVIEW_TOOLS=1`: expose preview tools in addition to stable tools
27
+
28
+ ## Notes
29
+
30
+ Use `@components-kit/open-workbook` for end-user installs. This package is published separately so advanced integrators can embed or run the MCP server directly.
@@ -0,0 +1,5 @@
1
+ export declare function getToolCatalog(options?: {
2
+ includePreview?: boolean;
3
+ }): import("@components-kit/open-workbook-protocol").ToolContract[];
4
+ export declare function getResourceCatalog(): import("@components-kit/open-workbook-protocol").ResourceContract[];
5
+ //# sourceMappingURL=catalog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../src/catalog.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,OAAO,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,CAAA;CAAO,mEAExE;AAED,wBAAgB,kBAAkB,wEAEjC"}
@@ -0,0 +1,8 @@
1
+ import { getExposedToolCatalog, ResourceCatalog } from "@components-kit/open-workbook-protocol";
2
+ export function getToolCatalog(options = {}) {
3
+ return getExposedToolCatalog(options);
4
+ }
5
+ export function getResourceCatalog() {
6
+ return ResourceCatalog;
7
+ }
8
+ //# sourceMappingURL=catalog.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"catalog.js","sourceRoot":"","sources":["../src/catalog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AAEhG,MAAM,UAAU,cAAc,CAAC,UAAwC,EAAE;IACvE,OAAO,qBAAqB,CAAC,OAAO,CAAC,CAAC;AACxC,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO,eAAe,CAAC;AACzB,CAAC"}
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ export {};
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":""}