HubSpot Custom Objects MCP Server
Provides tools for managing HubSpot custom objects, including schema discovery, searching records, getting single or batch records, and creating/updating records.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
HubSpot Custom Objects MCP Server
HubSpot's official MCP server went GA in April 2026. It still doesn't support Custom Objects.
If your portal runs on custom objects Sites, Service Actions, Properties, Vehicles, Subscriptions, whatever your business actually revolves around Claude and every other MCP client is blind to them. The official server at mcp.hubspot.com/mcp covers contacts, companies, deals, and tickets. Everything you built to model your real business is invisible.
This server fills that exact gap. Run it alongside the official one: HubSpot's handles standard objects, this one handles every 2-XXXXXXXXX custom object in your portal.
┌─────────────┐ ┌──────────────────────────┐
│ │────▶│ mcp.hubspot.com/mcp │ contacts, companies, deals
│ Claude / │ │ (official) │
│ MCP client │ └──────────────────────────┘
│ │ ┌──────────────────────────┐
│ │────▶│ this server │ ← your custom objects
└─────────────┘ └──────────────────────────┘What you get
Six tools, covering full custom-object CRUD:
Tool | What it does |
| Discovers every custom object in the portal IDs, labels, required and available properties. Always called first. |
| Filter, sort, and page through records with HubSpot's full search grammar. |
| One record by HubSpot ID or by any unique property. |
| Up to 100 records in a single call. |
| New record, with optional associations to contacts/companies/deals. |
| Partial update untouched fields stay untouched. |
Built for LLM use, not just API parity: schema discovery is self-describing, 429s come back as "wait N seconds" instead of a stack trace, and every tool refuses standard-object IDs with a pointer to the right server.
Related MCP server: HubSpot MCP
Quickstart
Requires Python 3.12+, plus a HubSpot API credential with these scopes:
crm.schemas.custom.read
crm.objects.custom.read
crm.objects.custom.writeUse a Service Key HubSpot's current credential for system-to-system integrations (public beta since Feb 2026). Create one at Settings → Integrations → Service Keys, or Development → Keys → Service Keys in the sidebar. A key can only be granted scopes the creating user already has, and it can be rotated without rebuilding anything.
That works too no changes needed. Private apps still function, but HubSpot now classifies them as legacy and steers new integrations to Service Keys. Create one at Settings → Integrations → Private Apps.
Both credentials are pat-na1-… bearer tokens sent in the same Authorization header, so this server accepts either in HUBSPOT_ACCESS_TOKEN without a config change. Service Keys don't support webhooks irrelevant here, since this server only makes outbound REST calls.
Windows (PowerShell)
py -m venv venv
./venv/Scripts/activate
pip install -r requirements.txt
$env:HUBSPOT_ACCESS_TOKEN = "pat-na1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
python server.pymacOS / Linux
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
export HUBSPOT_ACCESS_TOKEN="pat-na1-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
python server.pyServer comes up on http://localhost:8000/mcp, with a health endpoint at /health.
Tip: instead of exporting the token every session, copy
.env.exampleto.envand fill it in it's loaded automatically at startup, and.gitignorealready keeps it out of git.If PowerShell blocks
activatewith an execution-policy error, run:Set-ExecutionPolicy -Scope Process -ExecutionPolicy RemoteSigned
venv/is gitignored, so it won't follow you to GitHub when you deploy.
Connect your MCP client
{
"mcpServers": {
"hubspot": {
"type": "http",
"url": "https://mcp.hubspot.com/mcp",
},
"hubspot-custom-objects": {
"type": "http",
"url": "http://localhost:8000/mcp",
},
},
}Then ask: "What custom objects exist in my HubSpot portal?" the model calls list_custom_object_schemas and takes it from there.
Testing against a real portal
Custom objects are an Enterprise-tier feature. If your portal isn't Enterprise you won't be able to create one use a free developer test account instead: up to 10 accounts, each with a 90-day trial of Enterprise features, and no real data at risk. (They expire after 90 days without API calls; any call renews them.)
dev_seed.py creates a throwaway custom object and exercises every tool:
python dev_seed.py seed # create "MCP Test Site" + 3 sample records
python dev_seed.py smoke # call all 6 tools against the live portal
python dev_seed.py cleanup # delete the records, then the schemaseed and cleanup need one extra scope beyond the server's own: crm.schemas.custom.write. The smoke run needs only the three standard scopes.
The seeded object is built to cover the awkward paths, not just the happy one site_code is a unique property, so smoke verifies lookup by id_property on both the single-record and batch tools, checks that filtered search returns only matching rows, and re-reads after updating to confirm the write actually persisted rather than trusting the echoed response.
dev_seed.pyis a local harness, not part of the server. Delete it before publishing if you'd rather keep the repo to the 7 shipped files.
Deploy to Prefect Horizon
Horizon is the managed MCP hosting platform built by the FastMCP team, with a free personal tier. No containers to build and no infra config to write it deploys straight from your GitHub repo and gives you built-in OAuth, so only authenticated users in your org can reach the server.
Push this repo to GitHub (public or private).
Sign in at horizon.prefect.io with GitHub and pick the repo.
Set the entrypoint to
server.py:mcpsame syntax asfastmcp run.Add
HUBSPOT_ACCESS_TOKENas an environment variable in the server's config.Toggle authentication on, and hit Deploy. Builds typically finish in under 60 seconds.
You get a URL like https://your-server-name.fastmcp.app/mcp. Drop it into the client config above in place of localhost:
"hubspot-custom-objects": {
"type": "http",
"url": "https://your-server-name.fastmcp.app/mcp"
}Dependencies are detected automatically from requirements.txt. Pushes to the repo redeploy the server. The if __name__ == "__main__" block in server.py is ignored by Horizon it's there so python server.py still works locally.
A Dockerfile is included if you'd rather run it yourself:
docker build -t hubspot-custom-objects-mcp .
docker run -p 8000:8000 -e HUBSPOT_ACCESS_TOKEN="pat-na1-..." hubspot-custom-objects-mcpPoint your platform's health check at /health (returns 200 {"status":"ok",...}), not /mcp. A bare GET /mcp returns 406 the streamable-HTTP transport requires an SSE Accept header and a JSON-RPC body which most platforms read as unhealthy.
Self-hosting means you own the auth problem that Horizon solves for you; see Security notes.
Configuration
Variable | Default | Purpose |
| (required) | Service Key, or legacy Private App token. |
|
| Bind address. |
|
| HTTP port. |
|
| Pin the dated object-schemas API version. |
Security notes
The token is portal-wide and write-capable. Treat it like a password:
Anyone who can reach
/mcpcan write to your CRM. Enable Horizon's authentication so only your org can connect. If you self-host, put it on a private network or add an auth proxy there is no auth on the MCP endpoint itself.Never commit
.env. SetHUBSPOT_ACCESS_TOKENas an environment variable on your host, not in the repo.Grant the key only the three custom-object scopes listed above nothing else.
Prefer a Service Key over a legacy private app: it can be rotated in place, so a leak doesn't mean rebuilding the integration.
Two different auth layers, don't conflate them: Horizon's OAuth controls who can reach this server. The HubSpot side is a single portal-wide key no OAuth 2.1, no multi-tenancy. One deployment, one portal, and every user shares that key's access.
Limitations
Custom objects only, by design. Standard objects are the official server's job.
No delete tool deliberately omitted so an LLM can't destroy records. Add one if you want it.
No association management beyond setting associations at creation time.
Search results are capped by HubSpot at 10,000 records per query; page with
next_after.
License
MIT. Fork it, ship it, sell it.
Want it tailored to your portal? DM me on Linkedin or email me here (saad.k.dev@gmail.com) I build custom HubSpot integrations.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Houzz Pro MCP server for ChatGPT, Claude and any AI agent: list leads, create project, create estimate, send invoice and update lead status in your own Houzz Pro account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Houzz Pro yourself; Cotlet does not store your password and you need no Houzz Pro API key. About the official Houzz Pro API: Houzz Pro has no public API for leads, projects, estimates or invoices (checked 11 Oct 2026). Its only connection for this data is the Zapier app, which offers two actions, Create Lead and Create Project, and no triggers. Setup and FAQ: https://cotlet.dev/integrations/houzz-pro-api-mcp-server
Kustomer MCP server for ChatGPT, Claude and any AI agent: search conversations, reply to conversation, add internal note, tag conversation, snooze conversation and merge conversations in your own Kustomer account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Kustomer yourself; Cotlet does not store your password and you need no Kustomer API key. About the official Kustomer API: Kustomer has a full REST API with API keys, and an official MCP server that is read-only (checked 17 Oct 2026). The MCP server searches and reads conversations, messages, customers, companies, notes, custom objects and workflows. Setup and FAQ: https://cotlet.dev/integrations/kustomer-api-mcp-server
REsimpli MCP server for ChatGPT, Claude and any AI agent: create lead, update deal stage, start drip campaign and get skip-trace results in your own REsimpli account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to REsimpli yourself; Cotlet does not store your password and you need no REsimpli API key. About the official REsimpli API: REsimpli has a limited Open API, included on every plan since REsimpli 6.0 (checked 11 Oct 2026). It reads leads, buyers, agents, vendors, call logs and appointments and can create or delete leads, but cannot update a lead's status, notes, tags, tasks or assignment. Setup and FAQ: https://cotlet.dev/integrations/resimpli-api-mcp-server
Vtiger MCP server for ChatGPT, Claude and any AI agent: list contacts, convert contact to deal, list deals, update deal stage, list cases, create case, update case and create contact in your own Vtiger account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Vtiger yourself; Cotlet does not store your password and you need no Vtiger API key. About the official Vtiger API: Yes, Vtiger has a REST API, but its limits table lists 0 requests for One Pilot and 24,000 a day (30 a minute) for One Growth, and Vtiger has no official MCP server (checked 22 Oct 2026). Setup and FAQ: https://cotlet.dev/integrations/vtiger-api-mcp-server
Related MCP Servers
- AlicenseAqualityDmaintenanceA server implementation that enables AI assistants to interact with HubSpot CRM data, allowing for seamless creation and management of contacts and companies, retrieval of activity history, and access to engagement data through natural language commands.8341 npm13MIT
- AlicenseCqualityDmaintenanceProvides standardized access to HubSpot CRM API for managing contacts, companies, deals, leads, engagements, and associations with support for batch operations and advanced search capabilities.10047 npmMIT
- AlicenseCqualityDmaintenanceProvides comprehensive access to HubSpot CRM API for managing contacts, companies, deals, engagements, and associations. Supports batch operations, advanced search, and complete CRUD functionality across all standard CRM objects.10047 npmMIT
- AlicenseCqualityDmaintenanceProvides standardized access to HubSpot's CRM API for managing contacts, companies, deals, engagements, and other CRM data through comprehensive CRUD operations, batch processing, and advanced search capabilities.10047 npm1MIT