CLIver logo

CLIver

Embeddable Python agent core with MCP clients, built-in tools, skills, model providers, and an optional CLI.

Install CLIver

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "cliver": {
      "command": "uvx",
      "args": [
        "cliver-core"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx cliver-core

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

CLIver MCP server provides an embeddable Python agent core with tool calling, Agent Skills, MCP client support, and model bindings for chat and media tasks. It supports OpenAI- and Anthropic-compatible protocols, MCP connections over stdio and streamable HTTP, and built-in capabilities such as file operations, shell commands, code execution, and web fetching. Use CLIver when an application needs to embed an agent loop directly or when a terminal workflow should run one-shot tasks or a streaming REPL. The separate `cliver` package adds configuration, skill discovery, interactive approval, and media-oriented CLI commands.

Use cases

  • Embed an agent loop in a Python application
  • Connect an agent to stdio or streamable HTTP MCP tools
  • Run repository tasks from a terminal
  • Build media-generation and transcription workflows
  • Load and activate Agent Skills during a run

Key features

  • Embeddable asynchronous agent core
  • OpenAI- and Anthropic-compatible model providers
  • MCP clients for stdio and streamable HTTP
  • Built-in file, shell, code, search, and web tools
  • Agent Skills with model-driven discovery
  • Optional CLI with approval controls and media commands

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · cliver-core (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars9Stargazers on the source repository.
Last commit3d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.

How CLIver works

What CLIver does

CLIver combines an embeddable agent engine with a companion command-line application. The cliver-core package exposes an agent loop that accepts Python model and tool configuration and returns messages or streamed events. It supports tool calling, Agent Skills, MCP connections, structured responses, context management, permission controls, and model bindings for chat, image, video, text-to-speech, speech recognition, embeddings, and reranking.

The cliver package builds a terminal interface on top of that core. It can execute one task per invocation or open a multi-turn streaming REPL. Both modes can request approval before tools that require it, while --yes approves ASK-gated tools without an interactive prompt.

How it works

Applications create ModelBindings, open an AgentCore instance asynchronously, and call methods such as chat(), stream(), or run_skill(). The core has no dependency on the CLI, database, or configuration files; applications provide Python objects and receive messages or events.

Provider engines follow the OpenAI and Anthropic protocols, with support for compatible endpoints. Model bindings can be assigned by purpose, allowing separate models for chat, image generation, video generation, TTS, ASR, embeddings, and reranking. Reliability features include same-purpose failover, run deadlines, credential rotation, and schema-validated structured output with retries.

MCP connections support both stdio and streamable HTTP transports. Agent Skills can be loaded and selected through FindSkills, ActivateSkill, and ReadSkillFile. An opt-in selector can help choose tools and skills, with a fail-open behavior when selection is unavailable.

Setup and configuration

The core library supports Python 3.10 through 3.13. Install it with:

Terminal
pip install cliver-core

A minimal application creates a provider preset and opens the agent asynchronously:

server.ts
import asyncio
from cliver_core import AgentCore, ModelBindings, presets

async def main():
    bindings = ModelBindings(llm=presets.deepseek(api_key="..."))
    async with AgentCore.open(bindings) as agent:
        response = await agent.chat("Summarize this project.")
        print(response.message.content)

asyncio.run(main())

The CLI is installed separately:

Terminal
pip install cliver

It reads CLIVER_MODEL and either a provider setting such as CLIVER_PROVIDER or a compatible CLIVER_BASE_URL. Credentials can be supplied through a provider-specific variable such as DEEPSEEK_API_KEY or through CLIVER_API_KEY. The CLI automatically loads {config_dir}/.env; --cwd selects the project root used for skill discovery, and --skill NAME runs a named skill.

Media models can be configured in ~/.cliver/config.json under models, using keys such as image, video, tts, and asr. The CLI can then run commands including image and asr, and the agent can access corresponding media tools.

Tools and capabilities

Built-in agent tools cover:

  • File input and output
  • Shell commands and code execution
  • Grep and directory listing
  • Todo tracking
  • Web fetching
  • Agent Skill discovery, activation, and file reading
  • MCP tools over stdio or streamable HTTP
  • Image generation, video generation, text-to-speech, and audio transcription when matching models are configured

The core also provides SAFE and ASK permission gates, environment, working-directory, and path scopes, declarative compaction plans, an optional LLM-based compactor, and a full-history option. Media generation tools save files in the working directory and return their paths; transcription is treated as a safe operation, while generation tools can require approval.

Limitations and notes

The command-line package is experimental, while the cliver-core 0.3 series defines a backward-compatible public API with patch releases for fixes and compatible additions. The CLI's non-interactive mode denies ASK-gated tools unless --yes is supplied. Running without a prompt in a terminal starts the streaming REPL; each turn retains conversation context for follow-up requests.

MCP support is described as client connectivity, not as a standalone MCP server endpoint. Applications that only need the embeddable engine can use cliver-core without installing the CLI. The project is licensed under Apache 2.0.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about CLIver

CLIver is an MCP server that connects an embeddable Python agent core to MCP tools over stdio or streamable HTTP. Its main tools include file I/O, shell commands, code execution, grep, directory listing, todo tracking, web fetching, Agent Skills, and optional image, video, TTS, and transcription capabilities.

Install the core with `pip install cliver-core`, or install the companion CLI with `pip install cliver`. Use the core as a Python library, or run `cliver` for one-shot tasks and an interactive REPL.

Yes, CLIver supports MCP connections over both stdio and streamable HTTP. These transports are available through its agent core for connecting the agent to MCP tools.

CLIver supports Python 3.10 through 3.13. The embeddable package is installed separately from the companion CLI, and applications can use `cliver-core` without the CLI.

Run the CLI with `--yes` to approve ASK-gated tools without interactive prompts. Without that flag, interactive runs ask for approval, while non-interactive runs deny ASK tools.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewCLIver AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/cliver?style=directory)](https://allmcps.com/mcp/cliver)
HTML Embed
<a href="https://allmcps.com/mcp/cliver"><img src="https://allmcps.com/api/badge/cliver?style=directory" alt="CLIver on AllMCPs" /></a>