MCP Directory
Back

lc2mcp

by xiaotonng · Python · ★ 70

Convert LangChain tools to FastMCP tools

#ai-tools#anthropic#claude#cursor#fastmcp#langchain#llm#mcp#model-context-protocol

Install

pip install git+https://github.com/xiaotonng/lc2mcp.git

Claude Desktop config

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "lc2mcp": {
      "command": "uvx",
      "args": [
        "git+https://github.com/xiaotonng/lc2mcp.git"
      ]
    }
  }
}

From the README

[](https://pypi.org/project/lc2mcp/) [](https://pypi.org/project/lc2mcp/) [](https://opensource.org/licenses/MIT) **Convert LangChain tools to FastMCP tools — in one line of code.** > Stop rewriting your tools. Just adapt them. is a lightweight adapter that converts existing **LangChain tools** into **FastMCP tools**, enabling you to quickly build MCP servers accessible to Claude, Cursor, and any MCP-compatible client. ------|-------------| | 🔄 **Instant Conversion** | One function call to convert any LangChain tool to FastMCP tool | | 📦 **Ecosystem Access** | Unlock 1000+ LangChain com…
Read full README on GitHub →

💡 Need a managed MCP host?

Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.

Related databases servers