HubSpot CRM リモートMCPを OpenAI Codex CLI にMCP接続する方法(設定手順)

HubSpot のリモートMCPサーバーを OpenAI Codex CLI に約1分でMCP接続。OAuth / 401 の問題は先に OAuth 2.1 デバッガーで確認できます。

🛡️ Official✓ VerifiedStreamable HTTPOAuth 2.1🛡️ A+~377 tok6 tools
Streamable HTTPhttps://mcp.hubspot.com

Add to ~/.codex/config.toml — Codex reads remote HTTP servers from [mcp_servers.*] tables:

[mcp_servers.hubspot]
url = "https://mcp.hubspot.com"

接続手順

  1. TOML を編集 — ~/.codex/config.toml に [mcp_servers.hubspot] と url = "https://mcp.hubspot.com" を追記します。
  2. 資格情報を設定 — 初回呼び出し時に HubSpot の OAuth 認可画面が開きます。許可するとツールが有効になります。
  3. 検証 — オンライン Inspector に https://mcp.hubspot.com を貼り付け、initialize と tools/list を実行して接続を確認します。

🧰 ツール一覧(6)

ToolSafetyDescriptionParameters
search_contacts
~68 tok
🟢 ReadSearch CRM contacts by name, email or properties.query*: stringlimit: number
get_contact
~51 tok
🟢 ReadGet a contact with all properties.contactId*: string
create_contact
~52 tok
🟠 WriteCreate a new CRM contact.properties*: object
search_companies
~47 tok
🟢 ReadSearch CRM companies.query*: string
list_deals
~63 tok
🟢 ReadList deals with stage and pipeline filters.pipeline: stringstage: string
create_deal
~76 tok
🟠 WriteCreate a new deal in a pipeline.dealname*: stringpipeline: stringamount: string

その他の接続ガイド