parent
2c1d058085
commit
8613de6078
5 changed files with 12 additions and 26 deletions
2
CLI.md
2
CLI.md
|
|
@ -157,12 +157,10 @@ dxt unsign my-extension.dxt
|
||||||
For signing extensions, you need:
|
For signing extensions, you need:
|
||||||
|
|
||||||
1. **Certificate**: X.509 certificate in PEM format
|
1. **Certificate**: X.509 certificate in PEM format
|
||||||
|
|
||||||
- Should have Code Signing extended key usage
|
- Should have Code Signing extended key usage
|
||||||
- Can be self-signed (for development) or CA-issued (for production)
|
- Can be self-signed (for development) or CA-issued (for production)
|
||||||
|
|
||||||
2. **Private Key**: Corresponding private key in PEM format
|
2. **Private Key**: Corresponding private key in PEM format
|
||||||
|
|
||||||
- Must match the certificate's public key
|
- Must match the certificate's public key
|
||||||
|
|
||||||
3. **Intermediate Certificates** (optional): For CA-issued certificates
|
3. **Intermediate Certificates** (optional): For CA-issued certificates
|
||||||
|
|
|
||||||
|
|
@ -290,14 +290,12 @@ The `server` object defines how to run the MCP server:
|
||||||
### Server Types
|
### Server Types
|
||||||
|
|
||||||
1. **Python**: `server.type = "python"`
|
1. **Python**: `server.type = "python"`
|
||||||
|
|
||||||
- Requires `entry_point` to Python file
|
- Requires `entry_point` to Python file
|
||||||
- All dependencies must be bundled in the DXT
|
- All dependencies must be bundled in the DXT
|
||||||
- Can use `server/lib` for packages or `server/venv` for full virtual environment
|
- Can use `server/lib` for packages or `server/venv` for full virtual environment
|
||||||
- Python runtime version specified in `compatibility.runtimes.python`
|
- Python runtime version specified in `compatibility.runtimes.python`
|
||||||
|
|
||||||
2. **Node.js**: `server.type = "node"`
|
2. **Node.js**: `server.type = "node"`
|
||||||
|
|
||||||
- Requires `entry_point` to JavaScript file
|
- Requires `entry_point` to JavaScript file
|
||||||
- All dependencies must be bundled in `node_modules`
|
- All dependencies must be bundled in `node_modules`
|
||||||
- Node.js runtime version specified in `compatibility.runtimes.node`
|
- Node.js runtime version specified in `compatibility.runtimes.node`
|
||||||
|
|
|
||||||
|
|
@ -14,11 +14,11 @@ But, the MCP servers themselves are not robust secure production ready servers a
|
||||||
|
|
||||||
## Examples Included
|
## Examples Included
|
||||||
|
|
||||||
| Example | Type | Demonstrates |
|
| Example | Type | Demonstrates |
|
||||||
|---------|------|-------------|
|
| --------------------- | ------- | ---------------------------------------- |
|
||||||
| `hello-world-node` | Node.js | Basic MCP server with simple time tool |
|
| `hello-world-node` | Node.js | Basic MCP server with simple time tool |
|
||||||
| `chrome-applescript` | Node.js | Browser automation via AppleScript |
|
| `chrome-applescript` | Node.js | Browser automation via AppleScript |
|
||||||
| `file-manager-python` | Python | File system operations and path handling |
|
| `file-manager-python` | Python | File system operations and path handling |
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,13 +39,7 @@
|
||||||
"description": "Get information about a file"
|
"description": "Get information about a file"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"keywords": [
|
"keywords": ["file", "directory", "python", "management", "filesystem"],
|
||||||
"file",
|
|
||||||
"directory",
|
|
||||||
"python",
|
|
||||||
"management",
|
|
||||||
"filesystem"
|
|
||||||
],
|
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"user_config": {
|
"user_config": {
|
||||||
"workspace_directory": {
|
"workspace_directory": {
|
||||||
|
|
@ -65,11 +59,7 @@
|
||||||
},
|
},
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
"claude_desktop": ">=0.10.0",
|
"claude_desktop": ">=0.10.0",
|
||||||
"platforms": [
|
"platforms": ["darwin", "win32", "linux"],
|
||||||
"darwin",
|
|
||||||
"win32",
|
|
||||||
"linux"
|
|
||||||
],
|
|
||||||
"runtimes": {
|
"runtimes": {
|
||||||
"python": ">=3.8.0 <4"
|
"python": ">=3.8.0 <4"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "@anthropic-ai/dxt",
|
"name": "@anthropic-ai/dxt",
|
||||||
"description": "Tools for building Desktop Extensions",
|
"description": "Tools for building Desktop Extensions",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"module": "dist/index.js",
|
"module": "dist/index.js",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue