You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repo contains the SDK and [specification](https://github.com/modelcontextprotocol/ext-apps/blob/main/specification/draft/apps.mdx) for MCP Apps Extension ([SEP-1865](https://github.com/modelcontextprotocol/modelcontextprotocol/pull/1865)).
Visualizes Wikipedia link graphs using a force-directed layout. Explore how Wikipedia pages are connected by expanding nodes to reveal first-degree links.
-**Force-directed graph visualization**: Interactive graph powered by [`force-graph`](https://github.com/vasturiano/force-graph)
16
+
-**Node expansion**: Click any node to expand and see all pages it links to
17
+
-**Visual state tracking**: Nodes change color based on state (blue = default, green = expanded, red = error)
18
+
-**Direct page access**: Open any Wikipedia page in your browser
19
+
20
+
## Running
21
+
22
+
1. Install dependencies:
23
+
24
+
```bash
25
+
npm install
26
+
```
27
+
28
+
2. Build and start the server:
29
+
30
+
```bash
31
+
npm run start:http # for Streamable HTTP transport
32
+
# OR
33
+
npm run start:stdio # for stdio transport
34
+
```
35
+
36
+
3. View using the [`basic-host`](https://github.com/modelcontextprotocol/ext-apps/tree/main/examples/basic-host) example or another MCP Apps-compatible host.
37
+
38
+
### Tool Input
39
+
40
+
To test the example, call the `get-first-degree-links` tool with a Wikipedia URL:
0 commit comments