Skip to main content

A simple client library to connect to any MCP server and interact with or without LLMs.

Project description

 _   _       _ __  __  ____ ____ 
| | | | ___ (_)  \/  |/ ___|  _ \
| | | |/ _ \| | |\/| | |   | |_) |
| |_| | | | | | |  | | |___|  __/ 
 \___/|_| |_|_|_|  |_|\____|_|    
  Universal MCP Client

UniMCP

A simple, Python-native client library to connect to any Model Context Protocol (MCP) server. UniMCP allows you to interact with tools seamlessly via native Python code, an interactive CLI, or an autonomous LLM agent.

Features

  • Multiple Transports: Connect to remote servers via SSE (http://...) or local executables via Stdio (server.py, npx ...).
  • Dynamic Tool Generation: Automatically converts MCP tools into native Python async functions with IDE support.
  • Interactive CLI Playground: Test and chat with your tools straight from the terminal.
  • LLM Integration: Built-in, provider-agnostic LLM wrapper (OpenAI, Groq, Ollama, etc.) to hook your MCP server tools directly into an autonomous agent.
  • Session Management: Automatically persist and resume multi-turn conversations with context awareness.

Installation

pip install unimcp

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

unimcp-0.6.0.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unimcp-0.6.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

Details for the file unimcp-0.6.0.tar.gz.

File metadata

  • Download URL: unimcp-0.6.0.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for unimcp-0.6.0.tar.gz
Algorithm Hash digest
SHA256 1104c1b0ab5bb315efd362cf9678e6bc834b751de7bee853ca9f500df98f41b3
MD5 8128fb64d1b1d06de28d41ac9ea0c866
BLAKE2b-256 0eb7269215c47c960604e48a187e32f95594de4c4b71f3192676a5a9bb18c9a5

See more details on using hashes here.

File details

Details for the file unimcp-0.6.0-py3-none-any.whl.

File metadata

  • Download URL: unimcp-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for unimcp-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d0f2608f9b25c5a86b3eeba15fd47bb6c7196c639bb78f304c9355ec22209fec
MD5 34bd7a7f9d7d9a52d85050fdf37b5ac8
BLAKE2b-256 ffa71baee66910f97800420e7de80033aca45a6bbc5ee23ec2545a12004eea01

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page