u-space-mcp 0.0.1

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 ADDED
@@ -0,0 +1,40 @@
1
+ # u-space-mcp
2
+
3
+ Model Context Protocol server for the `u-space` documentation.
4
+
5
+ ## Usage
6
+
7
+ ```json
8
+ {
9
+ "mcpServers": {
10
+ "uSpace": {
11
+ "command": "npx",
12
+ "args": ["-y", "u-space-mcp@latest"]
13
+ }
14
+ }
15
+ }
16
+ ```
17
+
18
+ For local documentation development, point the server at a local docs directory:
19
+
20
+ ```json
21
+ {
22
+ "mcpServers": {
23
+ "uSpace": {
24
+ "command": "npx",
25
+ "args": ["-y", "u-space-mcp@latest", "--docs", "/path/to/u-space/docs"]
26
+ }
27
+ }
28
+ }
29
+ ```
30
+
31
+ ## Tools
32
+
33
+ - `list_docs`
34
+ - `search_docs`
35
+ - `get_doc`
36
+ - `get_api_reference`
37
+ - `find_examples`
38
+ - `get_changelog`
39
+
40
+ All tools are read-only.
@@ -0,0 +1,13 @@
1
+ export type DocHeading = {
2
+ level: number;
3
+ text: string;
4
+ };
5
+ export type DocEntry = {
6
+ id: string;
7
+ path: string;
8
+ title: string;
9
+ summary: string;
10
+ headings: DocHeading[];
11
+ content: string;
12
+ };
13
+ export declare const docsIndex: DocEntry[];