@intentwake/mcp
Advanced tools
+58
-2
@@ -66,5 +66,61 @@ #!/usr/bin/env node | ||
| } from "@modelcontextprotocol/sdk/types.js"; | ||
| // package.json | ||
| var package_default = { | ||
| name: "@intentwake/mcp", | ||
| version: "0.2.1", | ||
| mcpName: "com.intentwake/intentwake", | ||
| description: "Unified IntentWake stdio MCP proxy with local file transfers", | ||
| keywords: [ | ||
| "intentwake", | ||
| "mcp", | ||
| "stdio", | ||
| "proxy", | ||
| "file-transfer" | ||
| ], | ||
| homepage: "https://intentwake.com", | ||
| repository: { | ||
| type: "git", | ||
| url: "git+https://github.com/sjcoder/intentwake.git", | ||
| directory: "packages/mcp" | ||
| }, | ||
| bugs: { | ||
| url: "https://github.com/sjcoder/intentwake/issues" | ||
| }, | ||
| type: "module", | ||
| bin: { | ||
| "intentwake-mcp": "dist/index.js" | ||
| }, | ||
| files: [ | ||
| "dist", | ||
| "README.md" | ||
| ], | ||
| publishConfig: { | ||
| access: "public" | ||
| }, | ||
| engines: { | ||
| node: ">=22" | ||
| }, | ||
| scripts: { | ||
| build: "node build.mjs", | ||
| test: "vitest run", | ||
| typecheck: "tsc --noEmit", | ||
| "pack:dry-run": "npm pack --dry-run" | ||
| }, | ||
| dependencies: { | ||
| "@modelcontextprotocol/sdk": "1.29.0", | ||
| zod: "^4.4.3" | ||
| }, | ||
| devDependencies: { | ||
| "@types/node": "^20", | ||
| esbuild: "^0.27.0", | ||
| typescript: "^5", | ||
| vitest: "^4.1.8" | ||
| } | ||
| }; | ||
| // src/control-plane.ts | ||
| function createControlPlaneClient(config, fetchImpl = fetch) { | ||
| const client = new Client( | ||
| { name: "intentwake-local-mcp", version: "0.2.0" }, | ||
| { name: "intentwake-local-mcp", version: package_default.version }, | ||
| { enforceStrictCapabilities: true } | ||
@@ -1050,3 +1106,3 @@ ); | ||
| const server = new Server( | ||
| { name: "intentwake-local-mcp", version: "0.2.0" }, | ||
| { name: "intentwake-local-mcp", version: package_default.version }, | ||
| { capabilities: { tools: {} } } | ||
@@ -1053,0 +1109,0 @@ ); |
+2
-1
| { | ||
| "name": "@intentwake/mcp", | ||
| "version": "0.2.0", | ||
| "version": "0.2.1", | ||
| "mcpName": "com.intentwake/intentwake", | ||
| "description": "Unified IntentWake stdio MCP proxy with local file transfers", | ||
@@ -5,0 +6,0 @@ "keywords": [ |
+27
-0
@@ -76,1 +76,28 @@ # `@intentwake/mcp` | ||
| The hosted HTTP MCP endpoint remains available for clients without local filesystem access. | ||
| ## Registration and upgrade | ||
| For a filesystem-capable client, register one user-scoped server named `intentwake` that runs | ||
| `npx -y @intentwake/mcp@0.2.1`. That published unified release exposes the complete hosted account | ||
| workflow and the three local-file tools. Do not register a second direct hosted server for the same | ||
| client unless the client cannot run stdio. | ||
| For a remote or hosted client without local filesystem access, direct hosted HTTP MCP remains the | ||
| supported fallback. Configure its bearer header with that client's environment-variable expansion | ||
| for `INTENTWAKE_CONNECTION_TOKEN`; do not paste a token into a command, tracked config, or chat. | ||
| Existing `intentwake-cloud` and `intentwake-files` registrations are a temporary two-server setup. | ||
| Inspect those registrations and any same-name registration in another scope before changing | ||
| anything. Add or replace a registration only after the user confirms; verify that the unified | ||
| server exposes hosted and local-file tools before the user removes either legacy registration. | ||
| After npm publication, verify the available package version without starting a server: | ||
| ```text | ||
| npm view @intentwake/mcp version | ||
| ``` | ||
| Use version `0.2.0` or later for the unified hosted-plus-local surface. Production defaults to | ||
| `https://mcp.intentwake.com/mcp`. For staging, set `INTENTWAKE_MCP_URL` (and | ||
| `INTENTWAKE_API_URL` when CSV downloads are needed) to the approved staging origins; never point a | ||
| staging client at production by default. |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
50822
5.53%1183
4.78%103
35.53%