BusinessMCP
LangChain MCP Adapters logo

LangChain MCP Adapters

Free forever

langchain · AI & ML

35k installs

Connect in 1 click

LangChain MCP Adapters is the connective layer that lets LangChain-based agents treat any Model Context Protocol server as a native LangChain tool, and lets existing LangChain tool chains be exposed back out over MCP. Instead of hand-writing a custom wrapper every time a new data source, API, or model provider needs to be reachable from a LangChain agent, this adapter auto-discovers the tool schema an MCP server publishes and converts it into a LangChain-compatible tool object — arguments, descriptions, and return types included. That means a LangChain agent chain can call your CRM, vector store, filesystem, or database MCP server exactly as it would call any other LangChain tool, with no protocol translation code to maintain.

Within BusinessMCP's model, this adapter is especially useful because it sits at the intersection of two integration patterns: teams running LangChain-based automations, and teams standardizing on MCP as the universal interface for agent tool access. When you connect your tools, databases, ad platforms, and revenue sources once through a hosted MCP server on BusinessMCP, the LangChain MCP Adapters layer means those same connections are immediately usable inside LangChain pipelines — no separate LangChain-specific integration work. You get one hosted MCP endpoint at /api/mcp, authenticated with a Bearer mcph_* key, and LangChain simply becomes one more consumer of that endpoint alongside Claude, GPT, and Gemini.

This is a strong fit for engineering teams who have already invested in LangChain agent orchestration but want to avoid duplicating tool integrations across frameworks. Rather than maintaining a bespoke LangChain tool for your Postgres database, your vector search index, and your internal APIs separately from your MCP tool definitions, you maintain the MCP server once and let the adapter expose it everywhere. It also helps teams migrating gradually from LangChain-native tool calling toward MCP-standardized tool calling, since both patterns can run side by side during the transition.

Because BusinessMCP is model-agnostic and cookieless by design, pairing LangChain MCP Adapters with a hosted MCP server keeps the underlying agent framework decoupled from the data and business logic layer. Your LangChain chains, graphs, or agents can be swapped, upgraded, or run alongside other agent frameworks without re-plumbing every tool connection, and the business-intelligence dashboard still gives visibility into which tools are actually being invoked, by which agent, and how often — regardless of whether the call originated from a LangChain agent, a Claude Desktop session, or a custom GPT.

Typical adoption looks like: point the adapter at your BusinessMCP /api/mcp endpoint, let it enumerate the tools your hosted MCP server exposes, and register those as LangChain Tool or StructuredTool instances inside your existing agent executor or LangGraph workflow. From there, prompt engineering, memory, and orchestration stay entirely in LangChain, while tool execution, authentication, and monitoring stay centralized in your hosted MCP server — giving you a single source of truth for every tool an agent can touch, no matter which framework is driving the conversation.

$ npx mcphosting-cli add langchain-mcp-adapters

Just say it in a thread

No configs, no docs. Once connected, these are the kinds of messages your agents act on.

"Enumerate all tools exposed by a connected mcp server and return their schemas — and give me the highlights."

"Wrap a discovered mcp tool as a langchain tool or structuredtool object for me, then post a summary in the thread."

"Execute a specific mcp server tool call with the arguments provided by a langchain agent and flag anything that needs my approval."

What teams use it for

  • Convert a hosted MCP server's tool schema into LangChain Tool objects for use inside an AgentExecutor or LangGraph workflow
  • Give a LangChain agent access to company databases, CRMs, or ad platforms already connected through a single hosted MCP endpoint
  • Run LangChain-based automations and Claude/GPT/Gemini agents against the same underlying tool set without duplicating integrations
  • Gradually migrate custom LangChain tool wrappers to standardized MCP tool definitions while keeping both patterns operational
  • Monitor which LangChain chains are invoking which business tools via the shared MCP business-intelligence dashboard

Agent-callable tools

discover_mcp_tools

Enumerate all tools exposed by a connected MCP server and return their schemas.

convert_tool_to_langchain

Wrap a discovered MCP tool as a LangChain Tool or StructuredTool object.

invoke_mcp_tool

Execute a specific MCP server tool call with the arguments provided by a LangChain agent.

sync_tool_schema

Refresh cached tool definitions when the underlying MCP server's schema changes.

list_registered_tools

Return the set of MCP-derived tools currently registered in the active LangChain agent.

stream_tool_output

Stream long-running MCP tool responses back into a LangChain agent's execution loop.

authenticate_mcp_session

Establish an authenticated Bearer-key session against a hosted MCP endpoint for tool calls.

Your data stays yours

Credentials live in your vault. We route requests — we never store, log, or train on your data.

Works with every AI

Connect once — portable across Claude, GPT, Gemini, and every local agent you run.

Frequently asked questions

What does LangChain MCP Adapters actually do?

It converts the tool schemas exposed by an MCP server into LangChain-compatible tool objects, so LangChain agents can call MCP tools directly without custom wrapper code.

How does this work with a hosted BusinessMCP server?

You connect your tools and data sources once through BusinessMCP's /api/mcp endpoint, and the adapter lets LangChain consume that same endpoint alongside Claude, GPT, and Gemini agents.

Do I need to rewrite my tools for LangChain and MCP separately?

No — maintain the tool definitions once on your hosted MCP server and the adapter exposes them to LangChain automatically, avoiding duplicate integration work.

Give your AI team the LangChain MCP Adapters skill

Free forever plan, no credit card. Connected and working in under five minutes.

Connect LangChain MCP Adapters free