-
Notifications
You must be signed in to change notification settings - Fork 39
Rust code mcp integration #2441
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
base: ai-integrations
Are you sure you want to change the base?
Rust code mcp integration #2441
Conversation
2c40a6b to
7523e80
Compare
03ac241 to
f8a335c
Compare
the-nick-fischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me - only some small ideas
| pub struct McpChannelEndpoints { | ||
| pub prompt_tx: mpsc::Sender<Prompt>, | ||
| pub response_rx: mpsc::Receiver<Response>, | ||
| pub task_rx: mpsc::Receiver<Tasks>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Idea: Maybe we should rename all occurences of Task to Tool to match better to the MCP lingo. Essentially these messages are the forwarded tool calls, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Partially you are right, but if we look at it from other side, these are the tasks for Chipmunk. I can rename it if everybody agrees to be on same page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The "tasks" are currently not called anything on the chipmunk core side and we can decide what to call them.
I would vote to keep tool since it is already named like that in the specification on the MCP side.
Example flow:
[MCP client]: prompt ⇨ [LLM]: tool call ⇨ [MCP server]: mpsc "Tool" ⇨ [Chipmunk Core MCP API] mpsc ⇨ [Chipmunk Core] e.g. search "operation"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And then what will be the difference between tools that we are writing using Rmcp tool macro and object that we are sending to Chipmunk to process?
e33eb8a to
f51b32a
Compare
f51b32a to
119e817
Compare
No description provided.