@ubuligan/playground 0.1.0 → 0.1.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 +32 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# @ubuligan/playground
|
|
2
|
+
|
|
3
|
+
A local **web playground** to interactively connect to any MCP server, browse its tools / resources /
|
|
4
|
+
prompts, and call them from your browser. Great for poking at a server while you build it.
|
|
5
|
+
|
|
6
|
+
Part of the [MCP Toolkit](https://github.com/jsznpm/create-mcp-toolkit). Ships the `mcp-playground` CLI.
|
|
7
|
+
|
|
8
|
+
## Usage
|
|
9
|
+
|
|
10
|
+
No install needed:
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npx @ubuligan/playground
|
|
14
|
+
# → MCP Playground → http://localhost:4321
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Pick a different port:
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
npx @ubuligan/playground --port 8080
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
| Flag | Default | Purpose |
|
|
24
|
+
| --- | --- | --- |
|
|
25
|
+
| `-p, --port <number>` | `4321` | Port for the web UI. |
|
|
26
|
+
|
|
27
|
+
Then open the printed URL, enter your server's **Streamable HTTP** endpoint
|
|
28
|
+
(e.g. `http://localhost:3000/mcp`), and start calling tools.
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
|
|
32
|
+
MIT
|