Skip to main content
Back to the Grain MCP server

MCP Gateway · ChatGPT

Grain icon

Connect Grain to ChatGPT

Account managers keep a running history of every customer in Grain's recordings. Once a workspace admin imports Speakeasy's plugin marketplace into ChatGPT, people can ask about an account's calls in plain language, and the gateway decides which of the Grain tools each role is allowed to call.

Category
Productivity
Tools
22
Authentication
OAuth
ChatGPT
Web, desktop and mobile

Behind the MCP Gateway

Run Grain MCP behind the MCP Gateway

One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every Grain call inspected and logged.

Deploy on MCP Gateway

Set up

Add Grain to ChatGPT in 4 steps

  1. 01

    Add Grain from the catalog

    An admin finds Grain in the MCP Catalog (MCP Gateway > MCP > Catalog) and clicks Add. Speakeasy registers the vendor's server as a remote MCP server and proxies sessions to it. Nothing is copied or re-hosted.

    Grain uses OAuth. Servers that support dynamic client registration get their OAuth configuration applied automatically.

    Where MCP-scoped policies are enabled, the install offers a recommended risk policy for the new server that detects secrets and PII and inspects tool requests and responses.

  2. 02

    Choose who can use Grain

    Give teams the mcp:connect scope on the Grain server through team access or a role. ChatGPT connects to the Grain server's own URL, and the server's authorization decides who can connect and which tools they can call.

  3. 03

    Connect ChatGPT

    Import the organization's plugin marketplace into the ChatGPT workspace and set who gets each plugin.

    New MCP servers join the project's default plugin automatically. Each server's overview page shows which plugin it is published to, with Publish or Update to change it.

    Give the importing workspace admin collaborator access to the marketplace repository, and connect their GitHub account in ChatGPT under Plugins > GitHub > Manage.

    In ChatGPT, open Admin > Plugins > Add > Import marketplace.

    Set each plugin's installation policy, Installed or Available, per role.

    Enable the MCP servers the plugin connects to.

  4. 04

    Sign in and use Grain from ChatGPT

    The first time ChatGPT connects, it opens a browser so the person can sign in to Speakeasy through your identity provider.

    Grain needs its own OAuth grant, so each person connects it once. Until they do, Grain calls fail while the rest of the gateway keeps working.

    From then on, Grain's tools appear in ChatGPT, limited to what the person's access allows, and every call lands in the gateway's tool logs.

The marketplace syncs from GitHub once a day. Use Sync now to pick up a change straight away.

Use cases

What ChatGPT users do with Grain

Catch up on an account

Before a quarterly review, ask ChatGPT for every recorded call with a company and a short history of what was discussed, newest first.

search_companieslist_meetingsfetch_meeting_notes

Spot coaching themes across the team

A sales manager asks ChatGPT for the coaching feedback and scorecards on the team's calls this month and gets the patterns that keep coming up.

list_coaching_feedback

Share a customer story playlist

Open an existing collection of customer calls to the whole workspace, so marketing and support can listen without asking for access one by one.

update_collection_share_state

Tools

22 tools

Each Grain tool can be allowed or denied per team and role at the MCP Gateway before ChatGPT sees it.

myself

Get information about the logged-in Grain user.

list_meetings

Returns a filtered list of Grain meetings you have access to, ordered by most recent.

list_attended_meetings

Returns a filtered list of Grain meetings you have attended, ordered by most recent.

fetch_meeting

Fetches information about a single Grain meeting by ID. The response format is the same as is returned by list_meetings.

fetch_meeting_notes

Fetches the AI notes payload from a single Grain meeting by ID. In some cases, older meetings may not have had notes generated for them. In these cases you can use fetch_meeting_transcript instead to determine the content of the meeting.

fetch_meeting_action_items

Fetches the action items extracted from a single Grain meeting by ID. Action items include the task description, timestamp, status (pending or completed), due date, and the person assigned to the action item (if any).

See all 22 tools

Control

What Speakeasy can see and stop in ChatGPT

The gateway covers every client the same way. The rest depends on what ChatGPT exposes to Speakeasy.

Tool logs

Gateway

Every Grain call is logged with the person and the client that made it.

Access by role

Gateway

People reach only the Grain tools their team or role allows.

Request and response blocking

Gateway

A risk policy scoped to Grain can reject a tool request before it reaches the server, or withhold a result from ChatGPT. MCP-scoped policies are enabled per organization.

Conversation import

ChatGPT

ChatGPT activity can be imported through OpenAI's Compliance API for review after the fact. It can't block in real time.

  • The workspace import needs a ChatGPT Business, Enterprise or Edu admin.

Questions

Frequently asked questions

Can Grain activity in ChatGPT be reviewed later?
Yes. ChatGPT activity can be imported through OpenAI's Compliance API for review after the fact. It can't block in real time.
Which Grain deals can ChatGPT see?
Grain's deal tools return HubSpot-linked deals that are synced in Grain. Tools like list_open_deals only cover deals that sync brings in.
How do ChatGPT users get Grain?
An admin adds Grain from the Speakeasy MCP Catalog and grants access by team or role. Import the organization's plugin marketplace into the ChatGPT workspace and set who gets each plugin. Each person then sees only the Grain tools their access allows.
Are Grain calls from ChatGPT logged?
Yes. Grain calls go through the MCP Gateway, which logs each tool call and attributes it to the person and the client that made it.

Connect more

Grain in other clients

AI everywhere.

Control here.