Conversation
Co-authored-by: OEvortex <158988478+OEvortex@users.noreply.github.com>
Co-authored-by: OEvortex <158988478+OEvortex@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] MCP Integration for HelpingAI SDK
Add MCP (Multi-Channel Protocol) Integration for External Tool Support
Jul 19, 2025
Signed-off-by: OEvortex <abhat8283@gmail.com>
Member
|
@copilot update Readme.md |
Co-authored-by: OEvortex <158988478+OEvortex@users.noreply.github.com>
Contributor
Author
Member
|
@copilot update changelogs |
Co-authored-by: OEvortex <158988478+OEvortex@users.noreply.github.com>
Contributor
Author
Updated CHANGELOG.md with version 1.2.0 and comprehensive MCP integration details. Also bumped version to 1.2.0 in version.py. Commit: a9c8f8d |
…egration entry chore(setup): update author email to Team@helpingai.co Signed-off-by: OEvortex <abhat8283@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements MCP (Multi-Channel Protocol) integration for the HelpingAI SDK, enabling seamless connection to external tools and services through MCP servers.
Overview
Users can now configure MCP servers directly in the
toolsparameter using the following format:Key Features
list_resourcesandread_resourcetoolsImplementation Details
Core Components Added
HelpingAI/tools/mcp_client.py- Individual MCP server connection handlingHelpingAI/tools/mcp_manager.py- Singleton manager for orchestrating multiple MCP serversHelpingAI/tools/compatibility.py- Added MCP server detection and conversion logicsetup.py- Added optional MCP dependency (pip install HelpingAI[mcp])Architecture
The implementation leverages the existing HelpingAI tools infrastructure:
toolsparameterMCPManagerinitializes and manages server connectionsFnobjects (existing tool format)Fnobjects are converted to OpenAI tool format via existing compatibility layerSupported Server Types
Testing
Documentation
docs/mcp_integration.mdexamples/mcp_example.pyMCP_IMPLEMENTATION.mdBackward Compatibility
✅ Fully backward compatible - no breaking changes to existing functionality
✅ Optional dependency - MCP features only available when
mcppackage is installed✅ Graceful degradation - helpful error messages when MCP package is missing
Popular MCP Servers Supported
Installation
This implementation makes HelpingAI SDK significantly more powerful by enabling integration with the growing ecosystem of MCP tools and services, while maintaining the simplicity and reliability of the existing API.
Created from VS Code via the GitHub Pull Request extension.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.