mcphub-server 3.7.0__tar.gz → 3.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mcphub_server-3.7.0/mcphub_server.egg-info → mcphub_server-3.8.0}/PKG-INFO +8 -10
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/README.md +7 -9
- {mcphub_server-3.7.0 → mcphub_server-3.8.0/mcphub_server.egg-info}/PKG-INFO +8 -10
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/mcphub_server.egg-info/SOURCES.txt +6 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/client.py +160 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/handlers/__init__.py +4 -1
- mcphub_server-3.8.0/plugins/coolify/handlers/databases.py +405 -0
- mcphub_server-3.8.0/plugins/coolify/handlers/projects.py +265 -0
- mcphub_server-3.8.0/plugins/coolify/handlers/services.py +483 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/plugin.py +9 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/pyproject.toml +1 -1
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_coolify.py +1 -1
- mcphub_server-3.8.0/tests/test_coolify_databases.py +237 -0
- mcphub_server-3.8.0/tests/test_coolify_projects.py +214 -0
- mcphub_server-3.8.0/tests/test_coolify_services.py +240 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/LICENSE +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/admin_utils.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/api_keys.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/audit_log.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/config_snippets.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/context.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/dashboard/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/dashboard/auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/dashboard/routes.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/database.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/encryption.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/endpoints/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/endpoints/config.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/endpoints/factory.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/endpoints/middleware.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/endpoints/registry.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/health.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/i18n.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/middleware/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/client_registry.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/csrf.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/pkce.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/schemas.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/server.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/storage.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/oauth/token_manager.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/plugin_visibility.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/rate_limiter.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/settings.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/site_api.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/site_manager.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/base.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/404.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/api-keys/list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/audit-logs/list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/auth-login.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/base.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/connect.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/health/index.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/health/projects-partial.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/index.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/login.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/oauth-clients/list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/partials/head_assets.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/profile.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/projects/detail.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/projects/list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/service.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/services_list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/settings/index.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/sites/add.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/sites/edit.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/sites/list.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/dashboard/user-oauth-clients.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/oauth/authorize.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/templates/oauth/error.html +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/tool_generator.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/tool_registry.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/user_auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/user_endpoints.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/core/user_keys.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/mcphub_server.egg-info/dependency_links.txt +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/mcphub_server.egg-info/entry_points.txt +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/mcphub_server.egg-info/requires.txt +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/mcphub_server.egg-info/top_level.txt +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/databases.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/documents.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/functions.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/messaging.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/storage.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/teams.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/handlers/users.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/appwrite/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/base.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/handlers/applications.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/handlers/deployments.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/handlers/servers.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/schemas/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/coolify/schemas/common.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/access.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/automation.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/collections.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/content.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/dashboards.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/files.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/items.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/handlers/users.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/directus/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/issues.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/pull_requests.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/repositories.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/users.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/handlers/webhooks.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/common.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/issue.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/pull_request.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/repository.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/user.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/gitea/schemas/webhook.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/credentials.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/executions.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/projects.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/tags.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/users.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/variables.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/handlers/workflows.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/n8n/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/clients.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/events.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/export.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/profiles.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/projects.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/reports.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/handlers/utils.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/openpanel/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/admin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/database.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/functions.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/storage.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/supabase/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/woocommerce/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/woocommerce/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/client.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/comments.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/coupons.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/customers.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/media.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/menus.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/orders.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/posts.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/products.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/reports.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/seo.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/site.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/taxonomy.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/users.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/handlers/wp_cli.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/plugin_old_backup.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/common.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/media.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/order.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/post.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/product.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/schemas/seo.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress/wp_cli.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/handlers/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/handlers/bulk.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/handlers/database.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/handlers/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/schemas/__init__.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/schemas/bulk.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/schemas/database.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/plugins/wordpress_advanced/schemas/system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/server.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/setup.cfg +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_admin_system.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_api_keys.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_auth_logic.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_config_snippets.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_dashboard.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_database.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_dynamic_endpoints_integration.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_encryption.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_f3_admin_stats.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_f3_last_tested.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_f3_service_pages.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_gitea_plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_basic_auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_client_registry.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_integration.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_pkce.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_resource.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_revoke.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_schemas.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_storage.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_oauth_token_manager.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_openpanel_plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_plugin_visibility.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_rate_limiter.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_site_api.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_site_manager.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_tenant_isolation.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_tool_registry.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_user_auth.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_user_endpoints.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_user_keys.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_woocommerce_plugin.py +0 -0
- {mcphub_server-3.7.0 → mcphub_server-3.8.0}/tests/test_wordpress_plugin.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcphub-server
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0
|
|
4
4
|
Summary: AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)
|
|
5
5
|
Author-email: MCP Hub <contact@mcphub.dev>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -62,8 +62,8 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
62
62
|
[](https://www.python.org/)
|
|
63
63
|
[](https://pypi.org/project/mcphub-server/)
|
|
64
64
|
[](https://hub.docker.com/r/airano/mcphub)
|
|
65
|
-
[]()
|
|
66
|
+
[]()
|
|
67
67
|
[](https://github.com/airano-ir/mcphub/actions/workflows/ci.yml)
|
|
68
68
|
|
|
69
69
|
</div>
|
|
@@ -74,7 +74,7 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
74
74
|
|
|
75
75
|
WordPress powers 43% of the web. WooCommerce runs 36% of online stores. Yet **no MCP server existed** for managing them through AI — until now.
|
|
76
76
|
|
|
77
|
-
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
77
|
+
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and 7 other self-hosted services through any AI assistant. Instead of clicking through dashboards, just tell your AI what to do:
|
|
78
78
|
|
|
79
79
|
> *"Update the SEO meta description for all WooCommerce products that don't have one"*
|
|
80
80
|
>
|
|
@@ -111,9 +111,8 @@ MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
|
111
111
|
| **OpenPanel** | 42 | Events, export, insights, profiles, projects, system |
|
|
112
112
|
| **Appwrite** | 100 | Databases, auth, storage, functions, teams, messaging |
|
|
113
113
|
| **Directus** | 100 | Collections, items, users, files, flows, permissions |
|
|
114
|
-
| **Coolify** | 30 | Applications, deployments, servers, env vars, logs |
|
|
115
114
|
| **System** | 24 | Health monitoring, API keys, OAuth management, audit |
|
|
116
|
-
| **Total** | **
|
|
115
|
+
| **Total** | **565** | Constant count — scales to unlimited sites |
|
|
117
116
|
|
|
118
117
|
---
|
|
119
118
|
|
|
@@ -214,7 +213,6 @@ MASTER_API_KEY=your-secure-key-here
|
|
|
214
213
|
| OpenPanel | URL, Client ID, Client Secret | OpenPanel Dashboard → Project Settings |
|
|
215
214
|
| Appwrite | URL, API Key, Project ID | Appwrite Console → Settings → API Keys |
|
|
216
215
|
| Directus | URL, Static Token | Directus Admin → Settings |
|
|
217
|
-
| Coolify | URL, API Token | Coolify → Keys & Tokens → API tokens |
|
|
218
216
|
|
|
219
217
|
</details>
|
|
220
218
|
|
|
@@ -316,7 +314,7 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
316
314
|
## Architecture
|
|
317
315
|
|
|
318
316
|
```
|
|
319
|
-
/mcp → Admin endpoint (all
|
|
317
|
+
/mcp → Admin endpoint (all 633 tools)
|
|
320
318
|
/system/mcp → System tools only (24 tools)
|
|
321
319
|
/wordpress/mcp → WordPress tools (67 tools)
|
|
322
320
|
/woocommerce/mcp → WooCommerce tools (28 tools)
|
|
@@ -326,13 +324,13 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
326
324
|
/supabase/mcp → Supabase tools (70 tools)
|
|
327
325
|
/openpanel/mcp → OpenPanel tools (42 tools)
|
|
328
326
|
/appwrite/mcp → Appwrite tools (100 tools)
|
|
327
|
+
/coolify/mcp → Coolify tools (67 tools)
|
|
329
328
|
/directus/mcp → Directus tools (100 tools)
|
|
330
|
-
/coolify/mcp → Coolify tools (30 tools)
|
|
331
329
|
/project/{alias}/mcp → Per-project endpoint (auto-injects site)
|
|
332
330
|
/u/{user_id}/{alias}/mcp → Per-user endpoint (hosted/OAuth users)
|
|
333
331
|
```
|
|
334
332
|
|
|
335
|
-
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (
|
|
333
|
+
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (633 tools) to minimize token usage.
|
|
336
334
|
|
|
337
335
|
| Endpoint | Use Case | Tools |
|
|
338
336
|
|----------|----------|------:|
|
|
@@ -13,8 +13,8 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
13
13
|
[](https://www.python.org/)
|
|
14
14
|
[](https://pypi.org/project/mcphub-server/)
|
|
15
15
|
[](https://hub.docker.com/r/airano/mcphub)
|
|
16
|
-
[]()
|
|
17
|
+
[]()
|
|
18
18
|
[](https://github.com/airano-ir/mcphub/actions/workflows/ci.yml)
|
|
19
19
|
|
|
20
20
|
</div>
|
|
@@ -25,7 +25,7 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
25
25
|
|
|
26
26
|
WordPress powers 43% of the web. WooCommerce runs 36% of online stores. Yet **no MCP server existed** for managing them through AI — until now.
|
|
27
27
|
|
|
28
|
-
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
28
|
+
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and 7 other self-hosted services through any AI assistant. Instead of clicking through dashboards, just tell your AI what to do:
|
|
29
29
|
|
|
30
30
|
> *"Update the SEO meta description for all WooCommerce products that don't have one"*
|
|
31
31
|
>
|
|
@@ -62,9 +62,8 @@ MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
|
62
62
|
| **OpenPanel** | 42 | Events, export, insights, profiles, projects, system |
|
|
63
63
|
| **Appwrite** | 100 | Databases, auth, storage, functions, teams, messaging |
|
|
64
64
|
| **Directus** | 100 | Collections, items, users, files, flows, permissions |
|
|
65
|
-
| **Coolify** | 30 | Applications, deployments, servers, env vars, logs |
|
|
66
65
|
| **System** | 24 | Health monitoring, API keys, OAuth management, audit |
|
|
67
|
-
| **Total** | **
|
|
66
|
+
| **Total** | **565** | Constant count — scales to unlimited sites |
|
|
68
67
|
|
|
69
68
|
---
|
|
70
69
|
|
|
@@ -165,7 +164,6 @@ MASTER_API_KEY=your-secure-key-here
|
|
|
165
164
|
| OpenPanel | URL, Client ID, Client Secret | OpenPanel Dashboard → Project Settings |
|
|
166
165
|
| Appwrite | URL, API Key, Project ID | Appwrite Console → Settings → API Keys |
|
|
167
166
|
| Directus | URL, Static Token | Directus Admin → Settings |
|
|
168
|
-
| Coolify | URL, API Token | Coolify → Keys & Tokens → API tokens |
|
|
169
167
|
|
|
170
168
|
</details>
|
|
171
169
|
|
|
@@ -267,7 +265,7 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
267
265
|
## Architecture
|
|
268
266
|
|
|
269
267
|
```
|
|
270
|
-
/mcp → Admin endpoint (all
|
|
268
|
+
/mcp → Admin endpoint (all 633 tools)
|
|
271
269
|
/system/mcp → System tools only (24 tools)
|
|
272
270
|
/wordpress/mcp → WordPress tools (67 tools)
|
|
273
271
|
/woocommerce/mcp → WooCommerce tools (28 tools)
|
|
@@ -277,13 +275,13 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
277
275
|
/supabase/mcp → Supabase tools (70 tools)
|
|
278
276
|
/openpanel/mcp → OpenPanel tools (42 tools)
|
|
279
277
|
/appwrite/mcp → Appwrite tools (100 tools)
|
|
278
|
+
/coolify/mcp → Coolify tools (67 tools)
|
|
280
279
|
/directus/mcp → Directus tools (100 tools)
|
|
281
|
-
/coolify/mcp → Coolify tools (30 tools)
|
|
282
280
|
/project/{alias}/mcp → Per-project endpoint (auto-injects site)
|
|
283
281
|
/u/{user_id}/{alias}/mcp → Per-user endpoint (hosted/OAuth users)
|
|
284
282
|
```
|
|
285
283
|
|
|
286
|
-
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (
|
|
284
|
+
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (633 tools) to minimize token usage.
|
|
287
285
|
|
|
288
286
|
| Endpoint | Use Case | Tools |
|
|
289
287
|
|----------|----------|------:|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mcphub-server
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.8.0
|
|
4
4
|
Summary: AI-native management hub for WordPress, WooCommerce, and self-hosted services via Model Context Protocol (MCP)
|
|
5
5
|
Author-email: MCP Hub <contact@mcphub.dev>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -62,8 +62,8 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
62
62
|
[](https://www.python.org/)
|
|
63
63
|
[](https://pypi.org/project/mcphub-server/)
|
|
64
64
|
[](https://hub.docker.com/r/airano/mcphub)
|
|
65
|
-
[]()
|
|
66
|
+
[]()
|
|
67
67
|
[](https://github.com/airano-ir/mcphub/actions/workflows/ci.yml)
|
|
68
68
|
|
|
69
69
|
</div>
|
|
@@ -74,7 +74,7 @@ Connect your sites, stores, repos, and databases — manage them all through Cla
|
|
|
74
74
|
|
|
75
75
|
WordPress powers 43% of the web. WooCommerce runs 36% of online stores. Yet **no MCP server existed** for managing them through AI — until now.
|
|
76
76
|
|
|
77
|
-
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
77
|
+
MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and 7 other self-hosted services through any AI assistant. Instead of clicking through dashboards, just tell your AI what to do:
|
|
78
78
|
|
|
79
79
|
> *"Update the SEO meta description for all WooCommerce products that don't have one"*
|
|
80
80
|
>
|
|
@@ -111,9 +111,8 @@ MCP Hub is the first MCP server that lets you manage WordPress, WooCommerce, and
|
|
|
111
111
|
| **OpenPanel** | 42 | Events, export, insights, profiles, projects, system |
|
|
112
112
|
| **Appwrite** | 100 | Databases, auth, storage, functions, teams, messaging |
|
|
113
113
|
| **Directus** | 100 | Collections, items, users, files, flows, permissions |
|
|
114
|
-
| **Coolify** | 30 | Applications, deployments, servers, env vars, logs |
|
|
115
114
|
| **System** | 24 | Health monitoring, API keys, OAuth management, audit |
|
|
116
|
-
| **Total** | **
|
|
115
|
+
| **Total** | **565** | Constant count — scales to unlimited sites |
|
|
117
116
|
|
|
118
117
|
---
|
|
119
118
|
|
|
@@ -214,7 +213,6 @@ MASTER_API_KEY=your-secure-key-here
|
|
|
214
213
|
| OpenPanel | URL, Client ID, Client Secret | OpenPanel Dashboard → Project Settings |
|
|
215
214
|
| Appwrite | URL, API Key, Project ID | Appwrite Console → Settings → API Keys |
|
|
216
215
|
| Directus | URL, Static Token | Directus Admin → Settings |
|
|
217
|
-
| Coolify | URL, API Token | Coolify → Keys & Tokens → API tokens |
|
|
218
216
|
|
|
219
217
|
</details>
|
|
220
218
|
|
|
@@ -316,7 +314,7 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
316
314
|
## Architecture
|
|
317
315
|
|
|
318
316
|
```
|
|
319
|
-
/mcp → Admin endpoint (all
|
|
317
|
+
/mcp → Admin endpoint (all 633 tools)
|
|
320
318
|
/system/mcp → System tools only (24 tools)
|
|
321
319
|
/wordpress/mcp → WordPress tools (67 tools)
|
|
322
320
|
/woocommerce/mcp → WooCommerce tools (28 tools)
|
|
@@ -326,13 +324,13 @@ MCP Hub supports **Open Dynamic Client Registration** (RFC 7591). ChatGPT can au
|
|
|
326
324
|
/supabase/mcp → Supabase tools (70 tools)
|
|
327
325
|
/openpanel/mcp → OpenPanel tools (42 tools)
|
|
328
326
|
/appwrite/mcp → Appwrite tools (100 tools)
|
|
327
|
+
/coolify/mcp → Coolify tools (67 tools)
|
|
329
328
|
/directus/mcp → Directus tools (100 tools)
|
|
330
|
-
/coolify/mcp → Coolify tools (30 tools)
|
|
331
329
|
/project/{alias}/mcp → Per-project endpoint (auto-injects site)
|
|
332
330
|
/u/{user_id}/{alias}/mcp → Per-user endpoint (hosted/OAuth users)
|
|
333
331
|
```
|
|
334
332
|
|
|
335
|
-
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (
|
|
333
|
+
**Recommendation**: Use plugin-specific endpoints instead of `/mcp` (633 tools) to minimize token usage.
|
|
336
334
|
|
|
337
335
|
| Endpoint | Use Case | Tools |
|
|
338
336
|
|----------|----------|------:|
|
|
@@ -90,8 +90,11 @@ plugins/coolify/client.py
|
|
|
90
90
|
plugins/coolify/plugin.py
|
|
91
91
|
plugins/coolify/handlers/__init__.py
|
|
92
92
|
plugins/coolify/handlers/applications.py
|
|
93
|
+
plugins/coolify/handlers/databases.py
|
|
93
94
|
plugins/coolify/handlers/deployments.py
|
|
95
|
+
plugins/coolify/handlers/projects.py
|
|
94
96
|
plugins/coolify/handlers/servers.py
|
|
97
|
+
plugins/coolify/handlers/services.py
|
|
95
98
|
plugins/coolify/schemas/__init__.py
|
|
96
99
|
plugins/coolify/schemas/common.py
|
|
97
100
|
plugins/directus/__init__.py
|
|
@@ -202,6 +205,9 @@ tests/test_auth.py
|
|
|
202
205
|
tests/test_auth_logic.py
|
|
203
206
|
tests/test_config_snippets.py
|
|
204
207
|
tests/test_coolify.py
|
|
208
|
+
tests/test_coolify_databases.py
|
|
209
|
+
tests/test_coolify_projects.py
|
|
210
|
+
tests/test_coolify_services.py
|
|
205
211
|
tests/test_dashboard.py
|
|
206
212
|
tests/test_database.py
|
|
207
213
|
tests/test_dynamic_endpoints_integration.py
|
|
@@ -267,3 +267,163 @@ class CoolifyClient:
|
|
|
267
267
|
async def validate_server(self, uuid: str) -> dict:
|
|
268
268
|
"""Validate server connectivity and configuration."""
|
|
269
269
|
return await self.request("GET", f"servers/{uuid}/validate")
|
|
270
|
+
|
|
271
|
+
# --- Projects ---
|
|
272
|
+
|
|
273
|
+
async def list_projects(self) -> list[dict]:
|
|
274
|
+
"""List all projects."""
|
|
275
|
+
return await self.request("GET", "projects")
|
|
276
|
+
|
|
277
|
+
async def get_project(self, uuid: str) -> dict:
|
|
278
|
+
"""Get project by UUID."""
|
|
279
|
+
return await self.request("GET", f"projects/{uuid}")
|
|
280
|
+
|
|
281
|
+
async def create_project(self, data: dict) -> dict:
|
|
282
|
+
"""Create a new project."""
|
|
283
|
+
return await self.request("POST", "projects", json_data=data)
|
|
284
|
+
|
|
285
|
+
async def update_project(self, uuid: str, data: dict) -> dict:
|
|
286
|
+
"""Update project by UUID."""
|
|
287
|
+
return await self.request("PATCH", f"projects/{uuid}", json_data=data)
|
|
288
|
+
|
|
289
|
+
async def delete_project(self, uuid: str) -> dict:
|
|
290
|
+
"""Delete project by UUID."""
|
|
291
|
+
return await self.request("DELETE", f"projects/{uuid}")
|
|
292
|
+
|
|
293
|
+
# --- Environments ---
|
|
294
|
+
|
|
295
|
+
async def list_environments(self, project_uuid: str) -> list[dict]:
|
|
296
|
+
"""List environments in a project."""
|
|
297
|
+
return await self.request("GET", f"projects/{project_uuid}/environments")
|
|
298
|
+
|
|
299
|
+
async def get_environment(self, project_uuid: str, environment_name: str) -> dict:
|
|
300
|
+
"""Get environment by name."""
|
|
301
|
+
return await self.request("GET", f"projects/{project_uuid}/environments/{environment_name}")
|
|
302
|
+
|
|
303
|
+
async def create_environment(self, project_uuid: str, data: dict) -> dict:
|
|
304
|
+
"""Create environment in a project."""
|
|
305
|
+
return await self.request("POST", f"projects/{project_uuid}/environments", json_data=data)
|
|
306
|
+
|
|
307
|
+
# --- Databases ---
|
|
308
|
+
|
|
309
|
+
async def list_databases(self) -> list[dict]:
|
|
310
|
+
"""List all databases."""
|
|
311
|
+
return await self.request("GET", "databases")
|
|
312
|
+
|
|
313
|
+
async def get_database(self, uuid: str) -> dict:
|
|
314
|
+
"""Get database by UUID."""
|
|
315
|
+
return await self.request("GET", f"databases/{uuid}")
|
|
316
|
+
|
|
317
|
+
async def update_database(self, uuid: str, data: dict) -> dict:
|
|
318
|
+
"""Update database by UUID."""
|
|
319
|
+
return await self.request("PATCH", f"databases/{uuid}", json_data=data)
|
|
320
|
+
|
|
321
|
+
async def delete_database(
|
|
322
|
+
self,
|
|
323
|
+
uuid: str,
|
|
324
|
+
delete_configurations: bool = True,
|
|
325
|
+
delete_volumes: bool = True,
|
|
326
|
+
docker_cleanup: bool = True,
|
|
327
|
+
) -> dict:
|
|
328
|
+
"""Delete database by UUID."""
|
|
329
|
+
params = {
|
|
330
|
+
"delete_configurations": str(delete_configurations).lower(),
|
|
331
|
+
"delete_volumes": str(delete_volumes).lower(),
|
|
332
|
+
"docker_cleanup": str(docker_cleanup).lower(),
|
|
333
|
+
}
|
|
334
|
+
return await self.request("DELETE", f"databases/{uuid}", params=params)
|
|
335
|
+
|
|
336
|
+
async def start_database(self, uuid: str) -> dict:
|
|
337
|
+
"""Start database."""
|
|
338
|
+
return await self.request("GET", f"databases/{uuid}/start")
|
|
339
|
+
|
|
340
|
+
async def stop_database(self, uuid: str) -> dict:
|
|
341
|
+
"""Stop database."""
|
|
342
|
+
return await self.request("GET", f"databases/{uuid}/stop")
|
|
343
|
+
|
|
344
|
+
async def restart_database(self, uuid: str) -> dict:
|
|
345
|
+
"""Restart database."""
|
|
346
|
+
return await self.request("GET", f"databases/{uuid}/restart")
|
|
347
|
+
|
|
348
|
+
async def create_database(self, db_type: str, data: dict) -> dict:
|
|
349
|
+
"""Create a database of given type (postgresql, mysql, mariadb, mongodb, redis, clickhouse)."""
|
|
350
|
+
return await self.request("POST", f"databases/{db_type}", json_data=data)
|
|
351
|
+
|
|
352
|
+
async def get_database_backups(self, uuid: str) -> dict:
|
|
353
|
+
"""Get database backups."""
|
|
354
|
+
return await self.request("GET", f"databases/{uuid}/backups")
|
|
355
|
+
|
|
356
|
+
async def create_database_backup(self, uuid: str) -> dict:
|
|
357
|
+
"""Create a manual database backup."""
|
|
358
|
+
return await self.request("POST", f"databases/{uuid}/backups")
|
|
359
|
+
|
|
360
|
+
async def list_backup_executions(self) -> list[dict]:
|
|
361
|
+
"""List all backup executions."""
|
|
362
|
+
return await self.request("GET", "databases/backup-executions")
|
|
363
|
+
|
|
364
|
+
# --- Services ---
|
|
365
|
+
|
|
366
|
+
async def list_services(self) -> list[dict]:
|
|
367
|
+
"""List all services."""
|
|
368
|
+
return await self.request("GET", "services")
|
|
369
|
+
|
|
370
|
+
async def get_service(self, uuid: str) -> dict:
|
|
371
|
+
"""Get service by UUID."""
|
|
372
|
+
return await self.request("GET", f"services/{uuid}")
|
|
373
|
+
|
|
374
|
+
async def create_service(self, data: dict) -> dict:
|
|
375
|
+
"""Create a service from template."""
|
|
376
|
+
return await self.request("POST", "services", json_data=data)
|
|
377
|
+
|
|
378
|
+
async def update_service(self, uuid: str, data: dict) -> dict:
|
|
379
|
+
"""Update service by UUID."""
|
|
380
|
+
return await self.request("PATCH", f"services/{uuid}", json_data=data)
|
|
381
|
+
|
|
382
|
+
async def delete_service(
|
|
383
|
+
self,
|
|
384
|
+
uuid: str,
|
|
385
|
+
delete_configurations: bool = True,
|
|
386
|
+
delete_volumes: bool = True,
|
|
387
|
+
docker_cleanup: bool = True,
|
|
388
|
+
) -> dict:
|
|
389
|
+
"""Delete service by UUID."""
|
|
390
|
+
params = {
|
|
391
|
+
"delete_configurations": str(delete_configurations).lower(),
|
|
392
|
+
"delete_volumes": str(delete_volumes).lower(),
|
|
393
|
+
"docker_cleanup": str(docker_cleanup).lower(),
|
|
394
|
+
}
|
|
395
|
+
return await self.request("DELETE", f"services/{uuid}", params=params)
|
|
396
|
+
|
|
397
|
+
async def start_service(self, uuid: str) -> dict:
|
|
398
|
+
"""Start service."""
|
|
399
|
+
return await self.request("GET", f"services/{uuid}/start")
|
|
400
|
+
|
|
401
|
+
async def stop_service(self, uuid: str) -> dict:
|
|
402
|
+
"""Stop service."""
|
|
403
|
+
return await self.request("GET", f"services/{uuid}/stop")
|
|
404
|
+
|
|
405
|
+
async def restart_service(self, uuid: str) -> dict:
|
|
406
|
+
"""Restart service."""
|
|
407
|
+
return await self.request("GET", f"services/{uuid}/restart")
|
|
408
|
+
|
|
409
|
+
# --- Service Environment Variables ---
|
|
410
|
+
|
|
411
|
+
async def list_service_envs(self, uuid: str) -> list[dict]:
|
|
412
|
+
"""List service environment variables."""
|
|
413
|
+
return await self.request("GET", f"services/{uuid}/envs")
|
|
414
|
+
|
|
415
|
+
async def create_service_env(self, uuid: str, data: dict) -> dict:
|
|
416
|
+
"""Create service environment variable."""
|
|
417
|
+
return await self.request("POST", f"services/{uuid}/envs", json_data=data)
|
|
418
|
+
|
|
419
|
+
async def update_service_env(self, uuid: str, data: dict) -> dict:
|
|
420
|
+
"""Update service environment variable."""
|
|
421
|
+
return await self.request("PATCH", f"services/{uuid}/envs", json_data=data)
|
|
422
|
+
|
|
423
|
+
async def update_service_envs_bulk(self, uuid: str, data: list[dict]) -> dict:
|
|
424
|
+
"""Bulk update service environment variables."""
|
|
425
|
+
return await self.request("PATCH", f"services/{uuid}/envs/bulk", json_data={"data": data})
|
|
426
|
+
|
|
427
|
+
async def delete_service_env(self, uuid: str, env_uuid: str) -> dict:
|
|
428
|
+
"""Delete service environment variable."""
|
|
429
|
+
return await self.request("DELETE", f"services/{uuid}/envs/{env_uuid}")
|
|
@@ -4,10 +4,13 @@ Coolify Plugin Handlers
|
|
|
4
4
|
All tool handlers for Coolify operations.
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
|
-
from . import applications, deployments, servers
|
|
7
|
+
from . import applications, databases, deployments, projects, servers, services
|
|
8
8
|
|
|
9
9
|
__all__ = [
|
|
10
10
|
"applications",
|
|
11
|
+
"databases",
|
|
11
12
|
"deployments",
|
|
13
|
+
"projects",
|
|
12
14
|
"servers",
|
|
15
|
+
"services",
|
|
13
16
|
]
|