Skip to content

Add ChatGPT MCP Connector Compatibility#3

Open
encryptedDegen wants to merge 8 commits intomainfrom
chatgpt-compatibility
Open

Add ChatGPT MCP Connector Compatibility#3
encryptedDegen wants to merge 8 commits intomainfrom
chatgpt-compatibility

Conversation

@encryptedDegen
Copy link
Copy Markdown
Member

This PR adds ChatGPT compatibility to the ETHID MCP server by implementing the required search and fetch tools that ChatGPT MCP connectors need.

Changes Made

New ChatGPT Compatibility Tools (src/tools/chatgpt.ts)

  • search tool: Searches for Ethereum addresses, ENS names, and profiles in the EFP ecosystem
    • Supports exact ENS/address matches
    • Searches popular profiles via leaderboard
    • Returns structured IDs for fetching detailed data
  • fetch tool: Retrieves complete profile information for IDs returned by search
    • Fetches stats, account details, followers preview, following preview
    • Returns comprehensive JSON profile data

Integration Updates

  • Updated src/tools/index.ts to register ChatGPT tools first (as required)
  • Updated README.md with ChatGPT setup instructions and usage examples
  • Added documentation for the new search/fetch pattern

Why This Is Needed

ChatGPT MCP connectors have specific requirements - they must implement both search and fetch tools to be compatible. Without these tools, ChatGPT shows the error: "This MCP server doesn't implement our specification: search action not found."

Testing

The implementation:

  • ✅ Follows ChatGPT MCP specification exactly
  • ✅ Maintains all existing functionality
  • ✅ Uses the same EFP API endpoints as existing tools
  • ✅ Returns proper JSON-structured responses
  • ✅ Handles errors gracefully

Usage

After merging and deploying, users can:

  1. Add the connector in ChatGPT Settings → Connectors
  2. Use URL: https://ethid-mcp.efp.workers.dev/sse
  3. Search and explore EFP data directly in ChatGPT

This resolves the task: "get our MCP server working for ChatGPT" from the project board.

Fixes: encryptedDegen/efp-project-board#[task-id]

Copilot AI review requested due to automatic review settings August 3, 2025 12:24
@encryptedDegen
Copy link
Copy Markdown
Member Author

@encryptedDegen Please review this PR that adds ChatGPT compatibility to our MCP server.

This implements the required search and fetch tools that ChatGPT MCP connectors need, resolving the "This MCP server doesn't implement our specification: search action not found" error.

The changes:

  • Add search tool for finding EFP profiles, addresses, and ENS names
  • Add fetch tool for retrieving detailed profile data
  • Maintain all existing functionality
  • Follow ChatGPT MCP specification exactly

After this is merged and deployed, users will be able to connect ChatGPT to our MCP server and search/explore EFP data directly in ChatGPT conversations.

Ready for your review! 🚀

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds ChatGPT MCP connector compatibility to the ETHID MCP server by implementing the required search and fetch tools that ChatGPT requires for MCP integration.

  • Implements ChatGPT-specific search and fetch tools in a new dedicated module
  • Updates tool registration to prioritize ChatGPT compatibility tools
  • Updates documentation with ChatGPT setup instructions and usage examples

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 7 comments.

File Description
src/tools/index.ts Registers new ChatGPT tools first before other tools
src/tools/chatgpt.ts New module implementing search and fetch tools for ChatGPT compatibility
README.md Documentation updates with ChatGPT setup instructions and usage examples

encryptedDegen and others added 5 commits August 4, 2025 12:18
add error logging to catch statement

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
add error logging to catch statement

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
add error logging to catch statement

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
add error logging to catch statement

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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