chat with a llm having access to a mcp server.
Overview
what is try_fastmcp?
try_fastmcp is a Python application that creates an MCP server using the FastMCP library and interacts with the OpenAI API to facilitate chat functionalities.
how to use try_fastmcp?
To use try_fastmcp, clone the repository, set up a virtual environment, install the dependencies, and run the MCP server and client using the provided commands.
key features of try_fastmcp?
- Retrieves public datasets from data.gouv.ci catalog.
- Fetches news articles based on user queries.
- Performs basic arithmetic operations (add, subtract, multiply, divide).
- Calculates advanced mathematical functions (power, square root, cube root, factorial, logarithm, trigonometric functions).
- Provides personalized greetings.
use cases of try_fastmcp?
- Chatting with an AI that can perform calculations and fetch data.
- Educational tool for learning basic and advanced math operations.
- Research tool for accessing public datasets and news articles.
FAQ from try_fastmcp?
- What are the prerequisites for using try_fastmcp?
You need Python 3.6 or higher and an OpenAI API key.
- Is there a graphical interface for the client?
Yes, the client can be run using Streamlit, which provides a web interface.
- Can I customize the greetings?
Yes, you can personalize the greeting by using the
greeting://{name}resource.