Question: Using MCP Tools with CodeAct #11

Open
opened 2026-02-16 07:16:30 -05:00 by yindo · 2 comments
Owner

Originally created by @Nydaym on GitHub (Apr 13, 2025).

The langgraph-codeact project looks fantastic! While going through the documentation, I noticed it mentions compatibility with MCP tools. I'd like to clarify the integration approach:

Current Understanding

  • The langchain-mcp-adapters library currently implements MCP tools via function calls
  • CodeAct has its own execution paradigm for tools,with the code act

Specific Questions

  1. What's the recommended way to integrate MCP tools with CodeAct?

    • Should we convert MCP tools to LangChain tools using langchain-mcp-adapters and add them as additional tool nodes?
    • Or can CodeAct directly execute MCP tools in its native format?
  2. If direct execution is possible:

    • Are there any examples of this implementation?
    • Would this allow full reuse of existing MCP toolset without conversion?

Motivation

Being able to use MCP tools with CodeAct's execution model would be incredibly valuable for reusing our existing toolset while benefiting from CodeAct's capabilities.

Thank you for your guidance on this integration path!

Originally created by @Nydaym on GitHub (Apr 13, 2025). The `langgraph-codeact` project looks fantastic! While going through the documentation, I noticed it mentions compatibility with MCP tools. I'd like to clarify the integration approach: ## Current Understanding - The [langchain-mcp-adapters](https://github.com/langchain-ai/langchain-mcp-adapters) library currently implements MCP tools via function calls - CodeAct has its own execution paradigm for tools,with the code act ## Specific Questions 1. What's the recommended way to integrate MCP tools with CodeAct? - Should we convert MCP tools to LangChain tools using `langchain-mcp-adapters` and add them as additional tool nodes? - Or can CodeAct directly execute MCP tools in its native format? 2. If direct execution is possible: - Are there any examples of this implementation? - Would this allow full reuse of existing MCP toolset without conversion? ## Motivation Being able to use MCP tools with CodeAct's execution model would be incredibly valuable for reusing our existing toolset while benefiting from CodeAct's capabilities. Thank you for your guidance on this integration path!
Author
Owner

@austinmw commented on GitHub (Apr 25, 2025):

Also interested in the recommended way to use MCP tools with CodeAct!

@austinmw commented on GitHub (Apr 25, 2025): Also interested in the recommended way to use MCP tools with CodeAct!
Author
Owner

@n-sviridenko commented on GitHub (May 16, 2025):

Currently, it doesn't work: https://github.com/langchain-ai/langchain-sandbox/issues/17

@n-sviridenko commented on GitHub (May 16, 2025): Currently, it doesn't work: https://github.com/langchain-ai/langchain-sandbox/issues/17
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph-codeact#11