
Tiny Mcp Client
This is a client implementation based on the Model Context Protocol (MCP)
what is Tiny Mcp Client?
Tiny Mcp Client is a client implementation based on the Model Context Protocol (MCP), designed to work with the OpenAI API instead of the Anthropic API.
how to use Tiny Mcp Client?
To use Tiny Mcp Client, clone the repository, install the dependencies, configure your OpenAI API key, and run the client with the address of your MCP server.
key features of Tiny Mcp Client?
- Uses OpenAI API instead of Anthropic API
- Fully compatible with MCP protocol
- Supports real-time communication with MCP server
- Simple and easy-to-use interface
use cases of Tiny Mcp Client?
- Integrating OpenAI capabilities into applications using the MCP protocol.
- Real-time communication with an MCP server for various applications.
- Developing client-side applications that require interaction with OpenAI services.
FAQ from Tiny Mcp Client?
- What are the requirements to run Tiny Mcp Client?
You need Node.js 16.x or higher and the pnpm package manager.
- How do I configure the client?
Create a
.env
file in the project root and add your OpenAI API key.
- Is Tiny Mcp Client open source?
Yes! Tiny Mcp Client is open source and contributions are welcome.
Tiny Mcp Client
This is a client implementation based on the Model Context Protocol (MCP), which rewrites the original example from Anthropic SDK to OpenAI SDK.
Features
- Uses OpenAI API instead of Anthropic API
- Fully compatible with MCP protocol
- Supports real-time communication with MCP server
- Simple and easy-to-use interface
Requirements
- Node.js 16.x or higher
- pnpm package manager
Installation
- Clone the repository:
git clone <repository-url>
cd tiny-mcp-client
- Install dependencies:
pnpm install
- Build the project:
pnpm run build
Configuration
- Create a
.env
file in the project root:
echo "OPENAI_API_KEY=<your-key>" > .env
- Replace
<your-key>
with your OpenAI API key
Usage
Run the client:
node build/index.js <path-to-mcp-server>
Where <path-to-mcp-server>
is the address of your MCP server.
Contributing
Pull Requests and Issues are welcome!
License
MIT License