Initial commit

This commit is contained in:
Zhongwei Li
2025-11-29 17:53:11 +08:00
commit edef30d899
4 changed files with 92 additions and 0 deletions

View 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
View 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.

View 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
View File

@@ -0,0 +1,45 @@
{
"$schema": "internal://schemas/plugin.lock.v1.json",
"pluginId": "gh:ananddtyagi/claude-code-marketplace:plugins/claude-desktop-extension",
"normalized": {
"repo": null,
"ref": "refs/tags/v20251128.0",
"commit": "6b1f1815bc272a5a2356db9795a330dbec2df500",
"treeHash": "8ed81f7716191798d115adce59f38435dd421c341d85d5937df7001c8095699f",
"generatedAt": "2025-11-28T10:13:20.332530Z",
"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": "d8f93b114b02d11ee05a4d4a436996617b529900fc0e404d4d5180767aa5f0fc"
},
{
"path": "commands/claude-desktop-extension.md",
"sha256": "0d69a735aeb531afdb03ee6eeb6c97d999accc23bb9958d7b7973a9f3da39490"
}
],
"dirSha256": "8ed81f7716191798d115adce59f38435dd421c341d85d5937df7001c8095699f"
},
"security": {
"scannedAt": null,
"scannerVersion": null,
"flags": []
}
}