Major configuration and tooling updates: Authentication Changes: - Remove username/password authentication support - Require PORTAINER_URL and PORTAINER_API_KEY (both mandatory) - Simplify PortainerConfig class and validation logic - Update all documentation to reflect API key requirement Multiple Runtime Support: - Add uvx support for running without installation - Add uv support with dedicated wrapper script - Add npx support with Node.js wrapper script - Maintain backward compatibility with direct Python execution Documentation Updates: - Comprehensive README.md with all execution methods - Detailed USAGE.md with step-by-step instructions - Updated .env.example with clear required vs optional sections - Enhanced docstrings in server.py and config.py Tooling Support: - package.json for npm/npx support with cross-platform wrapper - scripts/run-with-uv.py for uv integration - bin/portainer-core-mcp Node.js wrapper for npx - test_uvx.py for uvx functionality testing Configuration Improvements: - Clear separation of required vs optional environment variables - Better validation error messages - Simplified authentication flow - Enhanced project metadata in pyproject.toml 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"name": "portainer-core-mcp",
|
|
"version": "0.1.0",
|
|
"description": "MCP server for Portainer Business Edition authentication and user management",
|
|
"main": "run_server.py",
|
|
"scripts": {
|
|
"start": "python run_server.py",
|
|
"dev": "python run_server.py",
|
|
"test": "python -m pytest tests/",
|
|
"install": "pip install -e .",
|
|
"install-dev": "pip install -e .[dev]"
|
|
},
|
|
"bin": {
|
|
"portainer-core-mcp": "bin/portainer-core-mcp"
|
|
},
|
|
"keywords": [
|
|
"mcp",
|
|
"portainer",
|
|
"docker",
|
|
"kubernetes",
|
|
"model-context-protocol",
|
|
"claude"
|
|
],
|
|
"author": "Portainer MCP Team",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/portainer/portainer-mcp-core"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/portainer/portainer-mcp-core/issues"
|
|
},
|
|
"homepage": "https://github.com/portainer/portainer-mcp-core#readme",
|
|
"engines": {
|
|
"node": ">=16.0.0",
|
|
"python": ">=3.8"
|
|
},
|
|
"files": [
|
|
"src/",
|
|
"bin/",
|
|
"scripts/",
|
|
"run_server.py",
|
|
"pyproject.toml",
|
|
"README.md",
|
|
".env.example"
|
|
]
|
|
} |