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:
|
||||
|
||||
1. **Certificate**: X.509 certificate in PEM format
|
||||
|
||||
- Should have Code Signing extended key usage
|
||||
- Can be self-signed (for development) or CA-issued (for production)
|
||||
|
||||
2. **Private Key**: Corresponding private key in PEM format
|
||||
|
||||
- Must match the certificate's public key
|
||||
|
||||
3. **Intermediate Certificates** (optional): For CA-issued certificates
|
||||
|
|
|
|||
|
|
@ -290,14 +290,12 @@ The `server` object defines how to run the MCP server:
|
|||
### Server Types
|
||||
|
||||
1. **Python**: `server.type = "python"`
|
||||
|
||||
- Requires `entry_point` to Python file
|
||||
- All dependencies must be bundled in the DXT
|
||||
- Can use `server/lib` for packages or `server/venv` for full virtual environment
|
||||
- Python runtime version specified in `compatibility.runtimes.python`
|
||||
|
||||
2. **Node.js**: `server.type = "node"`
|
||||
|
||||
- Requires `entry_point` to JavaScript file
|
||||
- All dependencies must be bundled in `node_modules`
|
||||
- Node.js runtime version specified in `compatibility.runtimes.node`
|
||||
|
|
|
|||
|
|
@ -7,18 +7,18 @@ This directory contains example Desktop Extensions that demonstrate the DXT form
|
|||
**Important:** These examples are **NOT intended for production use**. They serve as:
|
||||
|
||||
- Demonstrations of the DXT manifest format
|
||||
- Templates for building your own extensions
|
||||
- Templates for building your own extensions
|
||||
- Simple MCP server implementations for testing
|
||||
|
||||
But, the MCP servers themselves are not robust secure production ready servers and should not be relied upon for production use.
|
||||
But, the MCP servers themselves are not robust secure production ready servers and should not be relied upon for production use.
|
||||
|
||||
## Examples Included
|
||||
|
||||
| Example | Type | Demonstrates |
|
||||
|---------|------|-------------|
|
||||
| `hello-world-node` | Node.js | Basic MCP server with simple time tool |
|
||||
| `chrome-applescript` | Node.js | Browser automation via AppleScript |
|
||||
| `file-manager-python` | Python | File system operations and path handling |
|
||||
| Example | Type | Demonstrates |
|
||||
| --------------------- | ------- | ---------------------------------------- |
|
||||
| `hello-world-node` | Node.js | Basic MCP server with simple time tool |
|
||||
| `chrome-applescript` | Node.js | Browser automation via AppleScript |
|
||||
| `file-manager-python` | Python | File system operations and path handling |
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -28,4 +28,4 @@ Each example includes its own `manifest.json` and can be packed with:
|
|||
dxt pack examples/hello-world-node
|
||||
```
|
||||
|
||||
Use these as starting points for your own extensions, but ensure you implement proper security measures before deploying to users.
|
||||
Use these as starting points for your own extensions, but ensure you implement proper security measures before deploying to users.
|
||||
|
|
|
|||
|
|
@ -39,13 +39,7 @@
|
|||
"description": "Get information about a file"
|
||||
}
|
||||
],
|
||||
"keywords": [
|
||||
"file",
|
||||
"directory",
|
||||
"python",
|
||||
"management",
|
||||
"filesystem"
|
||||
],
|
||||
"keywords": ["file", "directory", "python", "management", "filesystem"],
|
||||
"license": "MIT",
|
||||
"user_config": {
|
||||
"workspace_directory": {
|
||||
|
|
@ -65,13 +59,9 @@
|
|||
},
|
||||
"compatibility": {
|
||||
"claude_desktop": ">=0.10.0",
|
||||
"platforms": [
|
||||
"darwin",
|
||||
"win32",
|
||||
"linux"
|
||||
],
|
||||
"platforms": ["darwin", "win32", "linux"],
|
||||
"runtimes": {
|
||||
"python": ">=3.8.0 <4"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@anthropic-ai/dxt",
|
||||
"description": "Tools for building Desktop Extensions",
|
||||
"version": "0.1.0",
|
||||
"version": "0.2.0",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"module": "dist/index.js",
|
||||
|
|
|
|||
Loading…
Reference in a new issue