FastMCP OpenAI Agent SDK Powered Assistant
π Just finished building a MCP server with FastMCP and connected it to an OpenAI Agent SDK-powered assistant! Now my agent can fetch live weather data directly from an external source through the MCP bridge I created.
Ask AI about FastMCP OpenAI Agent SDK Powered Assistant
Powered by Claude Β· Grounded in docs
I know everything about FastMCP OpenAI Agent SDK Powered Assistant. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π¦οΈ MCP Weather Assistant
An AI agent that fetches live weather data using an MCP server built with FastMCP and the OpenAI Agent SDK.
This project demonstrates how LLMs/Agents can interact with external tools/APIs through MCP.
π Features
-
β MCP server built with FastMCP
-
β Weather API integration
-
β AI Agent powered by OpenAI Agent SDK
-
β Asynchronous execution with httpx + asyncio
-
π Future: Web Search tool integration for internet access
π οΈ Tech Stack
- FastMCP β Build Model Context Protocol servers easily.
- OpenAI Agent SDK β Create agents that can use MCP tools.
- OpenRouter β Access LLMs through OpenRouter API.
- httpx β Async HTTP client for API requests.
- Python (asyncio) β Non-blocking async runtime.
π What I Learned
- Building MCP servers that expose external APIs as tools.
- Integrating MCP with OpenAI Agent SDK.
- Designing structured responses for LLM consumption.
- Managing async workflows in Python for better performance.
βοΈ Setup & Installation
- Clone the repository
git clone https://github.com/Sharul-repo/FastMCP-OpenAI-Agent-SDK-powered-assistant-.git
# Install dependencies using uv (reads pyproject.toml + uv.lock)
uv sync
# Run your app
uv run server.py
#on a different terminal run your clint (make sure you paste the same MCP server link in the client code)
uv run agentclient.py
