MCP-template
If you are the rightful owner of MCP-template and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This project demonstrates a simple implementation of the Model Context Protocol (MCP) using a Flask server and OpenAI integration.
The MCP Hello World Example is a project that showcases the implementation of a Model Context Protocol (MCP) server using Flask and its integration with OpenAI's API. The server provides a basic addition function that can be accessed by a client through OpenAI's function calling capabilities. The project includes a server component that defines the MCP protocol endpoints and a client component that interacts with the server and OpenAI's API to demonstrate function calling and result processing. The server runs locally and the client fetches available functions, converts them to OpenAI specifications, and executes them to display results.
Features
- Flask-based MCP server implementation
- Integration with OpenAI's API for function calling
- JSON schema definition for function execution
- Demonstration of function listing and execution
- Simple addition function as an example