feat: Support MCP Tool Injection via stdio in Standard Chat#8941
Closed
localai-bot wants to merge 1 commit intomudler:masterfrom
Closed
feat: Support MCP Tool Injection via stdio in Standard Chat#8941localai-bot wants to merge 1 commit intomudler:masterfrom
localai-bot wants to merge 1 commit intomudler:masterfrom
Conversation
✅ Deploy Preview for localai ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…dpoint - Import cogito and MCP tools packages - Add handleMCPToolExecution function to handle MCP tool execution - Integrate MCP check in ChatEndpoint before standard function calling - Support both stdio and remote MCP server configurations - Fall back to standard function calling when MCP is not configured or fails - Maintain backward compatibility with existing function calling behavior
ee9f519 to
4bf6e25
Compare
Contributor
Author
|
Fixed DCO failure by amending commit with correct author identity (team-coding-agent-2). The commit has been force-pushed to the branch. CI should rerun automatically. |
1 task
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 adds MCP (Model Context Protocol) tool injection support to the standard /v1/chat/completions endpoint.
Summary
Brings feature parity with /v1/mcp/chat/completions and /v1/responses endpoints by enabling cogito-based MCP tool execution in the standard chat endpoint.
Changes
Acceptance Criteria
Testing Required