@mcp-use/cli 4.1.8-canary.0 → 4.1.8-canary.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 +40 -0
- package/dist/bin.js +1 -1
- package/dist/commands/dev.js +10 -10
- package/dist/index.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-YPTJU3ID.js → chunk-KA7WKJ6U.js} +0 -0
package/README.md
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# `@mcp-use/cli`
|
|
2
|
+
|
|
3
|
+
Prebuilt CLI, development server, build pipeline, and MCP client for
|
|
4
|
+
[mcp-use](https://github.com/mcp-use/mcp-use).
|
|
5
|
+
|
|
6
|
+
```bash
|
|
7
|
+
npx mcp-use dev
|
|
8
|
+
npx mcp-use client connect demo https://example.com/mcp
|
|
9
|
+
npx mcp-use client demo tools list
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Commands
|
|
13
|
+
|
|
14
|
+
```text
|
|
15
|
+
mcp-use <command> [options]
|
|
16
|
+
|
|
17
|
+
dev Start the dev server
|
|
18
|
+
build Build the server into .mcp-use/build
|
|
19
|
+
typecheck Refresh MCP types and run the project's TypeScript compiler
|
|
20
|
+
start Serve the production build from .mcp-use/build
|
|
21
|
+
client Connect to and invoke MCP servers
|
|
22
|
+
screenshot Capture an MCP Apps view
|
|
23
|
+
deploy Deploy from GitHub or upload local source
|
|
24
|
+
login/logout/whoami/org/servers/deployments
|
|
25
|
+
Manage Manufact Cloud sessions, servers, and deployments
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
`mcp-use dev` serves the MCP endpoint, watches views for HMR, and mounts the
|
|
29
|
+
Inspector. `--tunnel` exposes either `dev` or `start` through the managed
|
|
30
|
+
relay in [`@mcp-use/tunnel`](https://www.npmjs.com/package/@mcp-use/tunnel).
|
|
31
|
+
|
|
32
|
+
Run `mcp-use --help` for the full option list.
|
|
33
|
+
|
|
34
|
+
## Documentation
|
|
35
|
+
|
|
36
|
+
The exhaustive command reference, including every flag and the CLI environment
|
|
37
|
+
variables, lives at
|
|
38
|
+
[CLI Reference](https://docs.mcp-use.com/v2/typescript/api-reference/cli-reference).
|
|
39
|
+
New to the framework? Start with the
|
|
40
|
+
[quickstart](https://docs.mcp-use.com/v2/typescript/getting-started/quickstart).
|
package/dist/bin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{a as o}from"./chunk-
|
|
2
|
+
import{a as o}from"./chunk-KA7WKJ6U.js";import"./chunk-RXKUVCL7.js";import"./chunk-WOT6VMZA.js";import{readFileSync as i}from"fs";import{createRequire as a}from"module";import{dirname as t,join as c,parse as m}from"path";function p(){try{let e=a(import.meta.url).resolve("mcp-use"),n=t(e),s=m(n).root;for(;n!==s;){try{let r=JSON.parse(i(c(n,"package.json"),"utf8"));if(r.name==="mcp-use"&&typeof r.version=="string")return r.version}catch{}n=t(n)}}catch{}}o(process.argv.slice(2),{frameworkVersion:p()??"4.1.8-canary.2"}).then(e=>{process.exitCode=e},e=>{console.error(e instanceof Error?e.message:String(e)),process.exitCode=1});
|