mcp-gtw-provider 0.0.1 → 0.0.2
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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<h1 align="center">mcp-gtw-provider</h1>
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
The framework-agnostic JavaScript client for mcp-
|
|
8
|
+
The framework-agnostic JavaScript client for mcp-gtw — a small, dependency-free ES module that
|
|
9
9
|
publishes and runs your MCP tools, resources, prompts and more from any web app over WebSocket.
|
|
10
10
|
</p>
|
|
11
11
|
|
|
@@ -27,7 +27,7 @@ An MCP client talks to the gateway over Streamable HTTP. The gateway never knows
|
|
|
27
27
|
advance — this provider connects from your app, registers them, and executes their handlers:
|
|
28
28
|
|
|
29
29
|
```text
|
|
30
|
-
MCP client ⇄ mcp-
|
|
30
|
+
MCP client ⇄ mcp-gtw (/mcp) ⇄ gateway (/provider) ⇄ McpGtwProvider (your app)
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## 📦 Install
|
|
@@ -81,7 +81,7 @@ you exact control. Throwing turns into an error result.
|
|
|
81
81
|
|
|
82
82
|
- A browser, or any runtime with `WebSocket`, `AbortController`, and timers.
|
|
83
83
|
- Node 20+ only to develop this package — tested on 20, 22 and 24 in CI.
|
|
84
|
-
- A running [`mcp-
|
|
84
|
+
- A running [`mcp-gtw`](https://github.com/mcp-gtw/mcp-gtw) to connect to.
|
|
85
85
|
|
|
86
86
|
## 💜 Support
|
|
87
87
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcp-gtw-provider",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Framework-agnostic browser provider for the mcp-
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Framework-agnostic browser provider for the mcp-gtw: publish and run your MCP tools from any web app over WebSocket.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"keywords": [
|