FastMCP LangGraph Webinar Demo
Connects a FastMCP server to a LangGraph ReAct agent, providing tools for web search, URL fetching, note management, and calculations that the agent can use for multi-step tasks.
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., "@FastMCP LangGraph Webinar DemoSearch the web for LangGraph agent examples and save the top result as a note."
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.
What this project does
This repo is a clean CLI demo for MCP tool use.
Starts a FastMCP server with 6 tools
Connects the server to a LangGraph ReAct agent
Lets you test tools manually from the terminal
Lets the agent choose tools for multi-step tasks
Related MCP server: MCP Server App
Included files
demo_mcp_server.py- MCP server with all toolsdemo_agent.py- interactive CLI runnerrequirements.txt- Python dependencies.env.example- local env template
Skills used
Python
FastMCP
LangGraph
MCP
OpenAI API
Tavily search API
HTTP requests
Agentic workflows
Tool calling and tool selection
Prompt engineering for ReAct-style agents
Multi-step reasoning with external tools
MCP server and client orchestration
Web search and page fetching for grounding
Safe task-specific automation from the terminal
Features
web_search- Tavily-backed searchfetch_url- fetches a URL and strips HTMLsave_note- writes text files undertmp/mcp_notes/read_note- reads saved notes backlist_notes- lists saved notes and sizescalculate- safe math evaluation for expressions likesqrt(144) + pi
Requirements
Python 3.10+
OPENAI_API_KEYfor the agent sectionTAVILY_API_KEYforweb_search
Setup
pip install -r requirements.txtCreate a .env file in the project root with:
OPENAI_API_KEY=your_openai_key
OPENAI_MODEL=gpt-4o-mini
TAVILY_API_KEY=your_tavily_keyIf you only want to test the tools and skip the agent, OPENAI_API_KEY is not required.
Run
python demo_agent.pyTools-only mode:
python demo_agent.py --tools-onlyHow the demo works
The runner starts the MCP server over stdio.
It discovers the available tools.
You can call tools manually from the terminal.
If
OPENAI_API_KEYis set, the LangGraph agent runs preset or custom prompts.
Environment variables
OPENAI_API_KEY- required for the agentOPENAI_MODEL- optional, defaults togpt-4o-miniTAVILY_API_KEY- enablesweb_search
Notes
web_searchfails cleanly ifTAVILY_API_KEYis missing.Saved notes live in
tmp/mcp_notes/next to the scripts.save_notesanitizes filenames before writing.
Troubleshooting
If imports fail, run
pip install -r requirements.txtagain.If the server file is missing, keep
demo_agent.pyanddemo_mcp_server.pyin the same folder.If the agent section is skipped, set
OPENAI_API_KEYin.env.
License
No license file is included in this repo.
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-qualityDmaintenanceAn MCP server that provides weather and web search tools, orchestrated by a LangGraph agent with OpenAI for natural language interaction.Last updated8
- Flicense-qualityDmaintenanceAn MCP server with LangGraph agent integration that enables AI agents to use custom tools and external APIs for dice rolling, web search, social content creation, and GitHub access via STDIO transport.Last updated3
- Flicense-qualityCmaintenanceAn MCP server with six tools including web search, URL fetching, math calculation, and note management. Designed for a live-coding demo integrating FastMCP with LangGraph ReAct agents.Last updated8
- Flicense-qualityCmaintenanceA custom MCP server providing semantic note memory (Qdrant + FastEmbed) and optional web search (Tavily) tools for a LangGraph ReAct agent.Last updated
Related MCP Connectors
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Driflyte MCP server which lets AI assistants query topic-specific knowledge from web and GitHub.
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/Akhilesh-2024/Webinar'
If you have feedback or need assistance with the MCP directory API, please join our Discord server