MCP.so
登录

Mcp Langchain Server

@sanjeetkumaritoutlook-user

关于 Mcp Langchain Server

暂无概览

基本信息

分类

AI 与智能体

运行时

python

传输方式

stdio

发布者

sanjeetkumaritoutlook-user

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

工具是从 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

FAQ from Mcp Langchain Server

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.

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).

Where does data live in this server?

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

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.

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 服务器