2025 mcp服务器
2025 MCP服务器使用python。
- 使用uv启动项目
uv init
Initialized project `2025-mcp-server`
uv venv
Using CPython 3.11.9 interpreter at: /Library/Frameworks/Python.framework/Versions/3.11/bin/python3.11
Creating virtual environment at: .venv
Activate with: source .venv/bin/activate
- 检查它是否使用.vev位置
where python
/Users/kaunjovi/code/2025-mcp-server/.venv/bin/python- 运行默认python
python main.py
Hello from 2025-mcp-server!uv添加langchain groq langchain mcp适配器mcp
欢迎使用FastMCP 2.0!
- https://gofastmcp.com/getting-started/welcome
如何连接到MCP服务器工具?
- mcp.run(传输=“stdio”)
- 使用标准输入和输出(stdin-stdout)io。
- 在命令提示符下运行服务器。
- 非常适合本地测试。
语言图形训练
- https://academy.langchain.com/courses/take/intro-to-langgraph/lessons/58238107-course-overview
