Metadata-Version: 2.4
Name: momcp-tui
Version: 26.10.643rc2
Summary: A TUI-based multi-MCP tool orchestrator written in Python.
Author-email: AndyJin <2358155969@qq.com>
License-Expression: MIT
Project-URL: Homepage, https://mcp.andyjin.website
Keywords: mcp,tui,llm,tool-orchestrator
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: textual>=0.76.0
Requires-Dist: httpx>=0.27.0
Requires-Dist: pydantic>=2.7.0
Requires-Dist: tomli>=2.0.1; python_version < "3.11"
Requires-Dist: mcp>=1.0.0
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: mcp-weather-server>=0.1.0
Requires-Dist: beautifulsoup4>=4.12.0
Requires-Dist: markdownify>=0.12.0
Requires-Dist: lxml>=5.0.0
Requires-Dist: cryptography>=42.0.0
Requires-Dist: keyring>=24.0.0
Requires-Dist: starlette>=0.37.0
Requires-Dist: uvicorn>=0.30.0
Requires-Dist: argon2-cffi>=23.1.0
Requires-Dist: segno>=1.6.0
Provides-Extra: dev
Requires-Dist: ruff>=0.6.0; extra == "dev"
Requires-Dist: mypy>=1.10.0; extra == "dev"
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: build>=1.0.0; extra == "dev"
Requires-Dist: twine>=4.0.0; extra == "dev"
Dynamic: license-file

# MoMCP-TUI

<div align="center">

**终端多模型助手与 MCP 工具编排器**

[![Python Version](https://img.shields.io/badge/python-3.11+-blue.svg)](https://www.python.org/downloads/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)
[![PyPI](https://img.shields.io/badge/pypi-momcp--tui-blue.svg)](https://pypi.org/project/momcp-tui/)

</div>

文档：[mo.andyjin.website](https://mo.andyjin.website)

## 简介

MoMCP-TUI 在终端中连接多家大模型，并通过 MCP 调用文件、代码、搜索等工具。模型回复、工具执行和思考过程会显示在同一个界面中。

## 功能

- 多模型对话
- MCP 工具调用
- 流式输出与工具审批
- 配置与密钥保存在本机
- 多用户 Web 服务

## 安装

```bash
pip install momcp-tui
```

## 启动

```bash
momcp
```

首次启动按提示完成配置。输入 `/help` 查看命令。

## Web 服务

```bash
# 仅本机访问
momcp serve

# 局域网访问
momcp serve --host 0.0.0.0 --allow-cidr 192.168.1.0/24
```

`momcp serve` 支持账户隔离、对话共享、按用户配置模型和 API Key，以及两步验证。使用 `--allow-cidr` 后默认回环地址会被替换；如需本机访问，再传入 `--allow-cidr 127.0.0.1/32`。

通过 HTTP 访问时 API Key 会经过网络传输，建议仅在可信局域网使用，或部署在 HTTPS 反向代理之后。完整配置和部署说明见[指南网站](https://mo.andyjin.website)。

## 许可

[MIT License](LICENSE)
