MCP Gateway · ChatGPT
Connect Context7 to ChatGPT
Sales engineers, developer advocates and trainers often need to know how a library works without opening an editor. With Context7 behind the Speakeasy MCP Gateway, ChatGPT can answer from current documentation and code examples. A workspace admin imports Speakeasy's plugin marketplace and sets which roles have the Context7 plugin installed or available.
- Category
- Developer tools
- Tools
- 2
- Authentication
- None
- ChatGPT
- Web, desktop and mobile
Behind the MCP Gateway
Run Context7 MCP behind the MCP Gateway
One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every Context7 call inspected and logged.
Set up
Add Context7 to ChatGPT in 4 steps
- 01
Add Context7 from the catalog
An admin finds Context7 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.
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.
- 02
Choose who can use Context7
Give teams the
mcp:connectscope on the Context7 server through team access or a role. ChatGPT connects to the Context7 server's own URL, and the server's authorization decides who can connect and which tools they can call. - 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.
- 04
Sign in and use Context7 from ChatGPT
The first time ChatGPT connects, it opens a browser so the person can sign in to Speakeasy through your identity provider.
From then on, Context7'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 Context7
Prepare for a technical sales call
Before a call, a sales engineer asks ChatGPT how the prospect's framework handles authentication or caching, so the conversation starts from documented behavior.
Write up a framework feature
Developer relations teams can ask ChatGPT what a popular framework's documentation says about a feature and turn it into a short newsletter item.
Verify sample code in training material
Ask ChatGPT whether the sample code in a training deck or blog draft matches the library's current documentation and examples.
Tools
2 tools
Each Context7 tool can be allowed or denied per team and role at the MCP Gateway before ChatGPT sees it.
resolve-library-id
Resolves a package/product name to a Context7-compatible library ID and returns matching libraries.
query-docs
Retrieves and queries up-to-date documentation and code examples from Context7 for any programming library or framework.
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 Context7 call is logged with the person and the client that made it.
Access by role
Gateway
People reach only the Context7 tools their team or role allows.
Request and response blocking
Gateway
A risk policy scoped to Context7 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
Who can import Context7 into a ChatGPT workspace?
Does anyone need a Context7 credential in ChatGPT?
How do ChatGPT users get Context7?
Are Context7 calls from ChatGPT logged?
Connect more