forked from zephyrproject-rtos/zephyr
-
Notifications
You must be signed in to change notification settings - Fork 3
MCP Core implementation - Initialization, Tools/List, Tools/Call (Missing Health monitor and tool cancellation) #13
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
dpiskula-nxp
wants to merge
12
commits into
mcp_server
Choose a base branch
from
mcp_core
base: mcp_server
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
This commit removes an unncessary config for the qemu target Signed-off-by: David Piskula <david.piskula@nxp.com>
Added thread pool and message queue initialization and enabled logging Signed-off-by: David Piskula <david.piskula@nxp.com>
Basic steps towards lifecycle handling, starting with initialization Signed-off-by: David Piskula <david.piskula@nxp.com>
Added tool registration, improved type definitions and tools/list Signed-off-by: David Piskula <david.piskula@nxp.com>
Refactored comments and code Signed-off-by: David Piskula <david.piskula@nxp.com>
9ebba85 to
5eef5aa
Compare
Added unit tests for implemented features Signed-off-by: David Piskula <david.piskula@nxp.com>
5eef5aa to
a7587e4
Compare
Implemented the tools/call method Signed-off-by: David Piskula <david.piskula@nxp.com>
Implemented tool response processing and testing Signed-off-by: David Piskula <david.piskula@nxp.com>
Added server error responses Signed-off-by: David Piskula <david.piskula@nxp.com>
Defined an enum for error codes Signed-off-by: David Piskula <david.piskula@nxp.com>
Refactored code, made response workers optional Signed-off-by: David Piskula <david.piskula@nxp.com>
Additional error handling for client initialization Signed-off-by: David Piskula <david.piskula@nxp.com>
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.
Intermediary PR containing a partial working implementation of the MCP core with the following features:
Core Infrastructure
Client Management
Protocol Support
Tool Management
Message Processing
Testing
Currently Missing/TODO