Tiny Mcp Client

Tiny Mcp Client

By gnosis23 GitHub

This is a client implementation based on the Model Context Protocol (MCP)

mcp-client
Overview

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?

  1. Integrating OpenAI capabilities into applications using the MCP protocol.
  2. Real-time communication with an MCP server for various applications.
  3. 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.

Content

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

  1. Clone the repository:
git clone <repository-url>
cd tiny-mcp-client
  1. Install dependencies:
pnpm install
  1. Build the project:
pnpm run build

Configuration

  1. Create a .env file in the project root:
echo "OPENAI_API_KEY=<your-key>" > .env
  1. 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

No tools information available.

Call MCP Server Tools Online

mcp-client playground
View Details
Agentica
Agentica by Wrtnlabs

Agentica is an open-source framework that makes working with AI agents simple and reliable. It helps you integrate structured function calls with Large Language Models (LLMs) without the usual headaches. Built around Typia's robust JSON Schema validation, Agentica eliminates the common frustrations of building agent systems - no more dealing with unpredictable outputs or complex integration challenges.

mcp-client ai-agents
View Details