Skip to content

feat(mcp-integration)🤖: Integrate MCP protocol for tool execution in … - #261

Draft
ericmjl wants to merge 1 commit into
mainfrom
feat/agentbot-mcp-attempt-1
Draft

feat(mcp-integration)🤖: Integrate MCP protocol for tool execution in …#261
ericmjl wants to merge 1 commit into
mainfrom
feat/agentbot-mcp-attempt-1

Conversation

@ericmjl

@ericmjl ericmjl commented Oct 18, 2025

Copy link
Copy Markdown
Owner

…AgentBot and ToolBot

  • Add LocalMCPServer to wrap local Python functions as MCP tools for unified local and remote tool access.
  • Refactor AgentBot to use MCP clients for tool execution, supporting both local and remote MCP servers.
  • Update ToolBot to use MCP clients for tool discovery and execution, replacing direct tool calls with MCP calls.
  • Implement async-to-sync helpers to support async MCP calls in synchronous contexts, including Jupyter notebooks.
  • Add detailed documentation and examples for notebook usage, MCP client setup, and async handling.
  • Add tests for ToolBot MCP integration and LocalMCPServer component.
  • Update dependencies to include nest-asyncio for async event loop compatibility in notebooks.

…AgentBot and ToolBot

- Add LocalMCPServer to wrap local Python functions as MCP tools for unified local and remote tool access.
- Refactor AgentBot to use MCP clients for tool execution, supporting both local and remote MCP servers.
- Update ToolBot to use MCP clients for tool discovery and execution, replacing direct tool calls with MCP calls.
- Implement async-to-sync helpers to support async MCP calls in synchronous contexts, including Jupyter notebooks.
- Add detailed documentation and examples for notebook usage, MCP client setup, and async handling.
- Add tests for ToolBot MCP integration and LocalMCPServer component.
- Update dependencies to include nest-asyncio for async event loop compatibility in notebooks.
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.6.2

🚀 View preview at
https://ericmjl.github.io/llamabot/pr-preview/pr-261/

Built to branch gh-pages at 2025-10-18 22:09 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

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.

1 participant