Agent-With-Custom-MCP-Server
This project demonstrates how to build a custom MCP server and seamlessly integrate it with a Gradio-based chat application. It provides a powerful multi-tool chat assistant that utilizes real-time API tools and SQLite database queries, allowing users to handle diverse queries within a single chat session.
GitHub Stars
0
User Rating
Not Rated
Forks
0
Issues
0
Views
1
Favorites
0
Agent-With-Custom-MCP-Server
This project demonstrates building a custom MCP (Model Context Protocol) server from scratch and integrating it seamlessly with a Gradio-based chat application. It extends the previous work of connecting existing MCP servers by providing full control over server behavior and enabling deeper customization for AI agent workflows.
This project demonstrates a powerful multi-tool chat assistant built using the Model Context Protocol (MCP). It integrates:
Custom MCP servers for real-time API tools like weather information and IP reputation checks.
A prebuilt SQLite MCP server to perform live database queries.
A user-friendly Gradio chat interface for seamless conversational interaction.
By combining these components, the assistant can handle diverse queries—from database management and API calls to fetching real-time data—all within a single chat session.
Important: API Keys and Environment Variables
To run this project, you must add your API keys to a .env
file in the root directory:
GROQ_API_KEY
— for the Groq language model access from GroqABUSEIPDB_API_KEY
— for checking IP reputation from abuseipdbWEATHERMAP_API_KEY
— for weather data from OpenWeatherMap
👉 You can read more about this on my Medium page.