π¦
Labs
Repository of my experiments with MCP
0 installs
41 stars
19 forks
Trust: 48 β Fair
Devtools
Installation
npx mcp-labsAsk AI about Labs
Powered by Claude Β· Grounded in docs
I know everything about Labs. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Loading tools...
Reviews
Documentation
π§ OpenAI MCP BMI Tool β Client & Server Demo
This project demonstrates how to build a simple MCP (Model Context Protocol) client and server using OpenAI's openai Python SDK and the mcp package. We expose a BMI calculator tool via the server and use an LLM-powered client to discover and invoke the tool based on natural language queries.
π½οΈ Demo Video
Watch the full tutorial: How to Build an OpenAI MCP Client and Server
(https://www.youtube.com/watch?v=hMHYhRcd_Uo)
π Features
- β
Lightweight MCP Server using
FastMCP - β BMI calculation exposed as a tool
- β OpenAI GPT-4o model used to intelligently select tools and arguments
- β STDIO-based client-server communication
- β JSON-based tool calling flow using natural language
