AI-Agentic-MCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@AI-Agentic-MCPWhat is the salary of Alice?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
AI-Agentic MCP
This repository contains an exploration of the Model Context Protocol (MCP) using LangChain and FastMCP. It demonstrates how to decouple tool implementations into an independent MCP server, which is then dynamically consumed by a LangChain agent.
Features
FastMCP Server: A standalone server exposing tools over a streamable HTTP connection.
get_employee_infos: A mock tool for fetching employee details (name, salary, seniority).search: Web search capability utilizing theTavilySearchAPI.
LangChain MCP Agent: A ReAct-style conversational agent powered by OpenAI's
gpt-4o-mini. The agent dynamically queries and utilizes the tools exposed by the MCP server usingMultiServerMCPClient.Decoupled Architecture: Demonstrates building scalable AI agents where the LLM logic and tool executions can exist on different servers.
Related MCP server: langchain-mcp-user-query-demo
Project Structure
mcp-server.py: The FastMCP server implementation that defines and serves the tools.agent_graph.py: The interactive LangChain agent that connects to the MCP server and answers user queries via the terminal.graph.ipynb: A Jupyter Notebook for exploring and prototyping.main.py: A simple boilerplate entry point.pyproject.toml/uv.lock: Project metadata and dependencies, managed via uv.
Prerequisites
Python 3.13 or higher.
An OpenAI API Key.
A Tavily API Key (required for the web search tool).
Installation
This project uses uv for dependency management.
Clone the repository:
git clone <your-repo-url> cd AI-Agentic-MCP-mainInstall dependencies:
uv syncAlternatively, using pip:
pip install .Configure Environment Variables: Create a
.envfile in the root directory and add your API keys:OPENAI_API_KEY=your_openai_api_key_here TAVILY_API_KEY=your_tavily_api_key_here
Usage
To test the multi-server architecture, you need to run the server and the agent simultaneously.
Start the MCP Server: In your first terminal, run:
python mcp-server.pyThe server will start listening on
http://localhost:24000/mcp.Run the Interactive Agent: In a separate terminal, launch the agent:
python agent_graph.py
You can now ask questions in the prompt (e.g., "What is the salary of Alice?" or search the web). Type exit to quit the agent.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityCmaintenanceAn MCP-based enterprise tools server that exposes company knowledge search and employee database lookup as callable tools.Last updated
- Flicense-qualityCmaintenanceA demonstrative MCP server that exposes a query-user tool for retrieving user info by ID, integrated with LangChain for agent-driven model reasoning and tool calls.Last updated
- Flicense-qualityCmaintenanceAn MCP server that exposes document retrieval as tools (semantic search and source listing) for any LLM, using a vector index built from DocPilot's ingestion pipeline.Last updated
- FlicenseAqualityBmaintenanceA production-grade MCP server that provides a centralized microservice toolkit for LLM agents, enabling web search and extensible tool integration.Last updated1
Related MCP Connectors
MCP server exposing the Backtest360 engine API as tools for AI agents.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/FiddelMyStick/AI-Agentic-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server