内容
# Ryter Pro MCP 服务器
<!-- mcp-name: io.github.apiihub33-cyber/ryterpro-mcp -->
一个MCP服务器,通过Ryter Pro文本人性化API,为兼容MCP的客户端提供工具。
## 工具
### `humanize_text`
使用Ryter Pro API对文本进行人性化处理或重写。
输入参数:
* `text`: 待人性化的文本。
* `mode`: Ryter Pro API支持的可选人性化模式。
### `ryterpro_api_info`
返回基本的API配置和文档链接。
## 安装
需要Python 3.10或更高版本。
```bash
pip install ryterpro-mcp
```
## 配置
在运行服务器之前,请设置您的Ryter Pro API密钥:
```bash
export RYTERPRO_API_KEY="your_api_key_here"
```
可选环境变量:
```bash
export RYTERPRO_BASE_URL="https://api.ryter.pro"
export RYTERPRO_TIMEOUT="60"
```
## 运行
```bash
ryterpro-mcp
```
服务器默认使用MCP stdio传输。
## MCP 客户端示例
```json
{
"mcpServers": {
"ryterpro": {
"command": "ryterpro-mcp",
"env": {
"RYTERPRO_API_KEY": "your_api_key_here"
}
}
}
}
```
从本仓库进行本地开发:
```json
{
"mcpServers": {
"ryterpro": {
"command": "python3",
"args": ["-m", "ryterpro_mcp.server"],
"env": {
"RYTERPRO_API_KEY": "your_api_key_here"
}
}
}
}
```
## 链接
* [Ryter Pro](https://www.ryter.pro/)
* [API 文档](https://www.ryter.pro/docs/text-humanize)
* [定价](https://www.ryter.pro/pricing)
## 许可证
MIT