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.5.0.tar.gz (36.2 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.5.0-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for unimcp-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0690299c911aaa6e7efe5f4a405e9cd32612090c4ec60e8c723e622d035fde14
MD5 a763935ef891866f4d1b433c7859973c
BLAKE2b-256 4ecbec242a7ab0c4d7da794e4baa4d57606bf93a1b22805d0d1a61d3e3399821

See more details on using hashes here.

File details

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

File metadata

  • Download URL: unimcp-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 14.9 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.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 463241c88f47dfca95bafde4ac59390701f6f72c6da63be2549baa272a24796e
MD5 5e6317966ab18303c5a461c121ca9b60
BLAKE2b-256 e415fb8ba8572c3676eb7de7abfbe8a43f473c1d41503dcba5afeb2e8a404c8f

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