MCP.so
登录

MCP Langchain Server

@sanjeetkumaritoutlook-user

基本信息

分类

AI 与智能体

传输方式

stdio

作者

sanjeetkumaritoutlook-user

关于 MCP Langchain Server

暂无概览

#mcp-langchain#langchain-server#flask-api

MCP Langchain Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Langchain Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Mcp Langchain Server?

Mcp Langchain Server is a Flask API that accepts MCP-style { action, params } requests and routes them to a local LLM (via Ollama) for answers. It uses LangChain to interpret actions and run completely free and locally.

How to use Mcp Langchain Server?

Install dependencies (pip install langchain-community langchain langchain-core langchainhub ollama), run python app.py, then send POST requests with { action, params } to the Flask endpoint. Test with Postman and add new functions to mcp_agent.py.

Key features of Mcp Langchain Server

  • Runs entirely free and locally with Ollama
  • Accepts MCP-style { action, params } via Flask API
  • Uses LangChain to interpret and route actions
  • Supports models like gemma:2b, mistral, llama3
  • Low RAM requirements starting at ~2–3 GB
  • Easily extendable with custom functions

Use cases of Mcp Langchain Server

  • Build a private, offline AI assistant using local LLMs
  • Test and prototype MCP-style action routing
  • Integrate with a frontend for local AI chat
  • Add RAG to fetch live news and summarize locally
  • Experiment with different Ollama models for various tasks

常见问题

1

What dependencies are required to run Mcp Langchain Server?

You need Python, Flask, LangChain (with community modules), and Ollama. Recommended install: `pip install langchain langchain-community langchain-core langchainhub ollama`.

2

How much RAM do I need for local models?

gemma:2b uses ~2–3 GB RAM, mistral ~4 GB, llama3 at least ~6 GB (8–12 GB total system RAM recommended).

3

Where does data live in this server?

All data and processing stay on your local machine—no external services or cloud dependencies.

4

What are the limitations of the LLMs used?

The models have a static knowledge cut-off (e.g., mid-2023) and cannot answer about events after that date. For live data, you must combine with RAG or a News API.

5

What transport or auth does the server use?

The server runs as a plain Flask HTTP API. There is no built-in authentication; it is designed for local development and testing.

评论

AI 与智能体 分类下的更多 MCP 服务器