AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(platform): list HubSpot in the MCP integration catalog (#15594)
Nicholas Tindleb3e357634029
diff --git a/autogpt_platform/backend/backend/api/features/integrations/mcp_catalog_routes_test.py b/autogpt_platform/backend/backend/api/features/integrations/mcp_catalog_routes_test.pyindex d01f6cdd53..cf16b6e560 100644--- a/autogpt_platform/backend/backend/api/features/integrations/mcp_catalog_routes_test.py+++ b/autogpt_platform/backend/backend/api/features/integrations/mcp_catalog_routes_test.py@@ -67,12 +67,21 @@ def test_provider_openapi_exposes_typed_mcp_metadata():assert "mcp_server" in schemas["ProviderMetadata"]["properties"]-def test_provider_listing_carries_the_service_identity():+ "provider,display_name,server_url",+ [+ ("linear", "Linear", "https://mcp.linear.app/mcp"),+ ("hubspot", "HubSpot", "https://mcp.hubspot.com"),+ ],+)+def test_provider_listing_carries_the_service_identity(+ provider: str, display_name: str, server_url: str+):with (patch("backend.blocks.load_all_blocks"),patch("backend.api.features.integrations.router.get_all_provider_names",- return_value=["linear", "google"],+ return_value=[provider, "google"],),patch("backend.api.features.integrations.router.get_provider_description",@@ -85,8 +94,13 @@ def test_provider_listing_carries_the_service_identity():):providers = {p["name"]: p for p in TestClient(app).get("/providers").json()}- assert providers["linear"]["service"] == "linear"- assert providers["linear"]["service_icon"] == "linear"- assert providers["mcp_linear"]["service"] == "linear"- assert providers["mcp_linear"]["service_name"] == "Linear"+ assert providers[provider]["service"] == provider+ assert providers[provider]["service_icon"] == provider+ mcp = providers[f"mcp_{provider}"]+ assert mcp["service"] == provider+ assert mcp["service_name"] == display_name+ assert mcp["service_icon"] == provider+ assert mcp["mcp_server"]["server_url"] == server_url+ assert mcp["mcp_server"]["connection_mode"] == "hosted"+ assert "oauth" in mcp["mcp_server"]["auth_methods"]assert providers["mcp_sentry"]["service"] == "sentry"diff --git a/autogpt_platform/backend/backend/integrations/mcp_catalog.json b/autogpt_platform/backend/backend/integrations/mcp_catalog.jsonindex 6b4a1c0b3f..8df5a25884 100644--- a/autogpt_platform/backend/backend/integrations/mcp_catalog.json+++ b/autogpt_platform/backend/backend/integrations/mcp_catalog.json@@ -653,6 +653,22 @@"icon_id": "harmonic"}},+ {+ "name": "mcp_hubspot",+ "display_name": "HubSpot",+ "description": "Search and manage CRM records, activities, and marketing content.",+ "mcp_server": {+ "server_url": "https://mcp.hubspot.com",+ "documentation_url": "https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server",+ "setup_instructions": "Sign in to HubSpot and choose the account to connect. Available tools and data depend on your HubSpot permissions and subscription.",+ "connection_mode": "hosted",+ "auth_methods": [+ "oauth"+ ],+ "icon_id": "hubspot",+ "provider": "hubspot"+ }+ },{"name": "mcp_infobip","display_name": "Infobip",