Initial commit
This commit is contained in:
12
.claude-plugin/plugin.json
Normal file
12
.claude-plugin/plugin.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "claude-desktop-extension",
|
||||
"description": "This command provides the context necessary for Claude Code to create the Desktop Extension or .dxt file of an MCP.",
|
||||
"version": "1.0.0",
|
||||
"author": {
|
||||
"name": " Anand Tyagi",
|
||||
"url": "https://github.com/ananddtyagi"
|
||||
},
|
||||
"commands": [
|
||||
"./commands"
|
||||
]
|
||||
}
|
||||
3
README.md
Normal file
3
README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# claude-desktop-extension
|
||||
|
||||
This command provides the context necessary for Claude Code to create the Desktop Extension or .dxt file of an MCP.
|
||||
32
commands/claude-desktop-extension.md
Normal file
32
commands/claude-desktop-extension.md
Normal file
@@ -0,0 +1,32 @@
|
||||
---
|
||||
description: This command provides the context necessary for Claude Code to create the Desktop Extension or .dxt file of an MCP.
|
||||
author: Anand Tyagi
|
||||
author-url: https://github.com/ananddtyagi
|
||||
version: 1.0.0
|
||||
---
|
||||
|
||||
I want to build this as a Desktop Extension, abbreviated as "DXT". Please follow these steps:
|
||||
|
||||
1. **Read the specifications thoroughly:**
|
||||
- https://github.com/anthropics/dxt/blob/main/README.md - DXT architecture overview, capabilities, and integration patterns
|
||||
- https://github.com/anthropics/dxt/blob/main/MANIFEST.md - Complete extension manifest structure and field definitions
|
||||
- https://github.com/anthropics/dxt/tree/main/examples - Reference implementations including a "Hello World" example
|
||||
|
||||
2. **Create a proper extension structure:**
|
||||
- Generate a valid manifest.json following the MANIFEST.md spec
|
||||
- Implement an MCP server using @modelcontextprotocol/sdk with proper tool definitions
|
||||
- Include proper error handling and timeout management
|
||||
|
||||
3. **Follow best development practices:**
|
||||
- Implement proper MCP protocol communication via stdio transport
|
||||
- Structure tools with clear schemas, validation, and consistent JSON responses
|
||||
- Make use of the fact that this extension will be running locally
|
||||
- Add appropriate logging and debugging capabilities
|
||||
- Include proper documentation and setup instructions
|
||||
|
||||
4. **Test considerations:**
|
||||
- Validate that all tool calls return properly structured responses
|
||||
- Verify manifest loads correctly and host integration works
|
||||
|
||||
Generate complete, production-ready code that can be immediately tested. Focus on defensive programming, clear error messages, and following the exact
|
||||
DXT specifications to ensure compatibility with the ecosystem.
|
||||
45
plugin.lock.json
Normal file
45
plugin.lock.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"$schema": "internal://schemas/plugin.lock.v1.json",
|
||||
"pluginId": "gh:ccplugins/awesome-claude-code-plugins:plugins/claude-desktop-extension",
|
||||
"normalized": {
|
||||
"repo": null,
|
||||
"ref": "refs/tags/v20251128.0",
|
||||
"commit": "f6921195823ed3538ee9380477a9128d0b701ab0",
|
||||
"treeHash": "ed7136e2ac623b7c47bd6bbcdc8b232fa83f00a7783d4afb9089cb8943a6823d",
|
||||
"generatedAt": "2025-11-28T10:14:33.631447Z",
|
||||
"toolVersion": "publish_plugins.py@0.2.0"
|
||||
},
|
||||
"origin": {
|
||||
"remote": "git@github.com:zhongweili/42plugin-data.git",
|
||||
"branch": "master",
|
||||
"commit": "aa1497ed0949fd50e99e70d6324a29c5b34f9390",
|
||||
"repoRoot": "/Users/zhongweili/projects/openmind/42plugin-data"
|
||||
},
|
||||
"manifest": {
|
||||
"name": "claude-desktop-extension",
|
||||
"description": "This command provides the context necessary for Claude Code to create the Desktop Extension or .dxt file of an MCP.",
|
||||
"version": "1.0.0"
|
||||
},
|
||||
"content": {
|
||||
"files": [
|
||||
{
|
||||
"path": "README.md",
|
||||
"sha256": "113ddbeeaabd64986d624a5592a5a7df52bcc204b59a1616488881a04c3a4a25"
|
||||
},
|
||||
{
|
||||
"path": ".claude-plugin/plugin.json",
|
||||
"sha256": "689f03d0dc8e557e03864bc10799952e98bf1253ed6e43018515d02ad4c00880"
|
||||
},
|
||||
{
|
||||
"path": "commands/claude-desktop-extension.md",
|
||||
"sha256": "0d69a735aeb531afdb03ee6eeb6c97d999accc23bb9958d7b7973a9f3da39490"
|
||||
}
|
||||
],
|
||||
"dirSha256": "ed7136e2ac623b7c47bd6bbcdc8b232fa83f00a7783d4afb9089cb8943a6823d"
|
||||
},
|
||||
"security": {
|
||||
"scannedAt": null,
|
||||
"scannerVersion": null,
|
||||
"flags": []
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user