- hello-world-node: wrap server startup in async main() with proper await on server.connect(transport) — fixes crash on initialize in Claude Desktop UtilityProcess runtime (closes #200) - hello-world-uv: add required mcp_config block — v0.4 schema requires it but the example omitted it, causing mcpb pack to fail - file-manager-python: convert from broken v0.1/python to v0.4/uv — the old manifest had privacy_policies on v0.1 (schema violation), used command "python" (ENOENT on macOS), and had no bundled deps. Now uses UV runtime with proper mcp_config (closes #47, closes #72) - Graduate UV runtime from experimental across docs and schema comments - Bump DEFAULT_MANIFEST_VERSION from 0.2 to 0.3 All three examples verified: pack succeeds, server responds to MCP initialize over stdio, tools/list returns expected tools. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"manifest_version": "0.4",
|
|
"name": "file-manager-python",
|
|
"display_name": "Python File Manager MCP",
|
|
"version": "0.2.0",
|
|
"description": "A Python MCP server for file operations",
|
|
"long_description": "This extension provides file management capabilities through a Python MCP server. It demonstrates Python-based MCP Bundle development using UV runtime, including file operations, directory management, and proper MCP protocol implementation.",
|
|
"author": {
|
|
"name": "Anthropic",
|
|
"email": "support@anthropic.com",
|
|
"url": "https://github.com/anthropics"
|
|
},
|
|
"server": {
|
|
"type": "uv",
|
|
"entry_point": "server/main.py",
|
|
"mcp_config": {
|
|
"command": "uv",
|
|
"args": [
|
|
"run",
|
|
"--directory", "${__dirname}",
|
|
"server/main.py",
|
|
"--workspace=${user_config.workspace_directory}"
|
|
],
|
|
"env": {
|
|
"DEBUG": "${user_config.debug_mode}"
|
|
}
|
|
}
|
|
},
|
|
"tools": [
|
|
{
|
|
"name": "list_files",
|
|
"description": "List files in a directory"
|
|
},
|
|
{
|
|
"name": "read_file",
|
|
"description": "Read file contents"
|
|
},
|
|
{
|
|
"name": "get_file_info",
|
|
"description": "Get information about a file"
|
|
}
|
|
],
|
|
"keywords": ["file", "directory", "python", "management", "filesystem"],
|
|
"license": "MIT",
|
|
"user_config": {
|
|
"workspace_directory": {
|
|
"type": "directory",
|
|
"title": "Workspace Directory",
|
|
"description": "Directory to use as workspace",
|
|
"default": "${HOME}/Documents",
|
|
"required": false
|
|
},
|
|
"debug_mode": {
|
|
"type": "boolean",
|
|
"title": "Debug Mode",
|
|
"description": "Enable debug output",
|
|
"default": false,
|
|
"required": false
|
|
}
|
|
},
|
|
"compatibility": {
|
|
"claude_desktop": ">=0.10.0",
|
|
"platforms": ["darwin", "win32", "linux"],
|
|
"runtimes": {
|
|
"python": ">=3.10.0 <4"
|
|
}
|
|
}
|
|
}
|