Integrations
Integrates with OpenAI's API to provide LLM capabilities that can be queried through the MCP server, allowing for tools like weather information retrieval to be called via the client interface.
Customized MCP Project
This project leverages the mcp
library with CLI support and integrates with OpenAI's API.
Requirements
Make sure to install the required dependencies before running the project:
Copy
Usage
- Configure your OpenAI API key as an environment variable:Copy
- Start the MCP server:Copy
- Use the client to interact with the server:Copy
- Alternatively, use the orchestrator to query the LLM and tools:Copy
Example
Querying the Weather Tool
Run the client and call the get_weather
tool:
Copy
Example interaction:
Copy
Dependencies
openai==1.70.0
mcp[cli]==1.6.0
License
This project is licensed under the MIT License.
This server cannot be installed
A server that integrates the MCP library with OpenAI's API, allowing users to interact with various tools, such as the weather tool, through natural language queries.