Skip to content

Add support for openAI mcp connector #7751

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

grahamplata
Copy link
Contributor

@grahamplata grahamplata commented Aug 8, 2025

Building MCP servers for ChatGPT and API integrations Docs
For our tools to work with ChatGPT Connectors or deep research, we needed to supply an interface to two tools search and fetch

Additional context in the attached issue

Checklist:

  • Covered by tests
  • Ran it and it works as intended
  • Reviewed the diff before requesting a review
  • Checked for unhandled edge cases
  • Linked the issues it closes
  • Checked if the docs need to be updated. If so, create a separate Linear DOCS issue
  • Intend to cherry-pick into the release branch
  • I'm proud of this work!

@grahamplata grahamplata marked this pull request as ready for review August 8, 2025 15:02
// mcpSearch returns a list of potentially relevant search results from the data set exposed by the MCP server.
func (s *Server) mcpSearch() (mcp.Tool, server.ToolHandlerFunc) {
tool := mcp.NewTool("search",
mcp.WithDescription("Search for information (unimplemented)"),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why unimplemented ? Doesn't chatGPT calls these tools ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to simply meet the required interface for OpenAI, as it seems the intent of the two endpoints is to service documents within a vector store. From my testing, I did not experience any issues using the existing tools we expose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants