mcp-server-client-demo
Verified Safeby prateekmulye
Overview
This project demonstrates the integration of custom Micro-Core Protocol (MCP) servers providing tools with a LangChain client.
Installation
No command providedEnvironment Variables
- OPENAI_API_KEY
Security Notes
The provided code is simple and does not contain obvious security risks such as `eval`, `exec`, or hardcoded credentials. It properly uses `python-dotenv` for API keys. The exposed functions perform basic arithmetic and return a hardcoded string. Security would largely depend on the `mcp.server.fastmcp` framework's implementation, which is not fully visible.
Similar Servers
fastmcp-example
Integrate Model Context Protocol (MCP) with LangChain and LangGraph to build AI agent workflows by exposing a variety of custom and pre-defined tools.
MultiServer-Mcp
Demonstrates building and interacting with multiple Microservice-Compatible Protocol (MCP) servers for math and text processing using a LangChain MCP client for direct tool invocation.
mcp-langchain
This project demonstrates using LangChain to orchestrate interactions with local micro-agents providing math and weather services.
ollama_langchain_mcp_server
Develop a custom MCP (Multi-Modal Chat Protocol) server in Python to integrate external tools with LangChain agents, enabling automatic tool registration and invocation for LLMs.