Skip to main content
Glama

HubSpot MCP Server

by ajaystream

hubspot-get-link

Generate HubSpot UI links for specific records or index pages using object types and IDs. Validate object type existence to ensure accurate navigation within HubSpot.

Instructions

🎯 Purpose: 1. Generates HubSpot UI links for different pages based on object types and IDs. 2. Supports both index pages (lists of objects) and record pages (specific object details). 📋 Prerequisites: 1. Use the hubspot-get-user-details tool to get the PortalId and UiDomain. 🧭 Usage Guidance: 1. Use to generate links to HubSpot UI pages when users need to reference specific HubSpot records. 2. Validates that object type IDs exist in the HubSpot system.

Input Schema

NameRequiredDescriptionDefault
pageRequestsYesArray of page link requests to generate
portalIdYesThe HubSpot portal/account ID
uiDomainYesThe HubSpot UI domain(e.g., 'app.hubspot.com')

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "pageRequests": { "description": "Array of page link requests to generate", "items": { "additionalProperties": false, "properties": { "objectId": { "description": "The specific object ID to link to (required for 'record' page types)", "type": "string" }, "objectTypeId": { "description": "The HubSpot object type ID to link to (e.g., '0-1', '0-2' for contacts, companies, or '2-x' for custom objects)", "type": "string" }, "pagetype": { "description": "The type of page to link to: 'record' for a specific object's page, 'index' for a list page", "enum": [ "record", "index" ], "type": "string" } }, "required": [ "pagetype", "objectTypeId" ], "type": "object" }, "type": "array" }, "portalId": { "description": "The HubSpot portal/account ID", "type": "string" }, "uiDomain": { "description": "The HubSpot UI domain(e.g., 'app.hubspot.com')", "type": "string" } }, "required": [ "portalId", "uiDomain", "pageRequests" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ajaystream/hubspot-mcp-custom'

If you have feedback or need assistance with the MCP directory API, please join our Discord server