semvec/pypi-packages huggingface dataset:
yashuashua-mcp-server 0.2.3
A simple MCP (Model Context Protocol) server demo
Requires Python: >=3.8

# MCP Demo

一个简单的MCP (Model Context Protocol) 服务器演示包，可以通过Trae AI IDE使用。

## 功能特性

这个MCP服务器提供了三个简单的工具：

1. **echo** - 回显输入的文本
2. **add** - 计算两个数字的和
3. **greet** - 生成多语言个性化问候语（支持中文、英文、法文、西班牙文）

## 安装

### 从PyPI安装
```bash
pip install yashuashua_mcp_server
```

## 在Trae中使用

1. 在Trae的MCP配置文件中添加以下配置：（保持最新版）

```json
{
  "mcpServers": {
    "yashuashua-mcp-server": {
      "command": "uvx",
      "args": ["--reinstall", "yashuashua-mcp-server"]
    }
  }
}
```


2. 重启Trae，你就可以在对话中使用这些工具了！

## 使用示例

在Trae中，你可以这样使用：

- "帮我回显一下'Hello World'"
- "计算 15 + 27 的结果"
- "用法语向Alice问好"

## 开发




## 许可证

MIT License - 详见 [LICENSE](LICENSE) 文件。

## 贡献

欢迎提交Issue和Pull Request！
multiocular 0.1.0
A very simple helper library for keeping track of locations in tokenized text.
Requires Python: >=3.12

# Multiocular

A very simple helper library to keep track of locations in tokenized text. Works with HuggingFace Transformers.

Named after the [multiocular O](https://en.wikipedia.org/wiki/Cyrillic_O_variants#Multiocular_O)—which is also the default separator character—because it helps you see everywhere inside your tokenized string.

## Example
```python
import multiocular
from multiocular import SEP
from transformers import AutoTokenizer

tok = AutoTokenizer.from_pretrained("meta-llama/Llama-3.1-8B-Instruct", use_fast= True)

chat = [
        {"role": "user", "content": f"What is the capital of{SEP} France?"},
        {"role": "assistant", "content": f"The capital of{SEP} France is{SEP} Paris."},
        ]
message = tok.apply_chat_template(chat, tokenize=False)
print(message)
# 

system

# 
# Cutting Knowledge Date: December 2023
# Today Date: 26 Jul 2024
# 
# 

user

# 
# What is the capital ofꙮ France?

assistant

# 
# The capital ofꙮ France isꙮ Paris.


tokens, points = multiocular.tokenize(tok, message)
print((tokens, points))
# ({'input_ids': [128000, 128000, 128006, 9125, 128007, 271, 38766, 1303, 33025, 2696, 25, 6790, 220, 2366, 18, 198, 15724, 2696, 25, 220, 1627, 10263, 220, 2366, 19, 271, 128009, 128006, 882, 128007, 271, 3923, 374, 279, 6864, 315, 9822, 30, 128009, 128006, 78191, 128007, 271, 791, 6864, 315, 9822, 374, 12366, 13, 128009], 'attention_mask': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]}, [36, 46, 48])

france1, france2, paris = points
print(tok.decode(tokens.input_ids[:paris]))
# 


system

# 
# Cutting Knowledge Date: December 2023
# Today Date: 26 Jul 2024
# 
# 

user

# 
# What is the capital of France?

assistant

# 
# The capital of France is
```
matlab-mcp 0.1.4
MATLAB MCP Server - A Model Context Protocol server for MATLAB integration (requires Python 3.11+)
Requires Python: <3.12,>=3.11
Keywords: ai, assistant, matlab, mcp, model-context-protocol

# MATLAB MCP Server

A Model Context Protocol (MCP) server that provides AI assistants with the ability to execute MATLAB code, create scripts and functions, and interact with MATLAB's computational environment.

## Features

- 🔧 Create and execute MATLAB scripts and functions
- 📊 Capture MATLAB figures and visualizations
- 📝 Open MATLAB editor for script editing
- 🔍 Access workspace variables and outputs
- 🚀 Seamless integration with AI assistants via MCP

## Installation

### Using uvx (Recommended)

```bash
uvx matlab-mcp
```

### Using pip

```bash
pip install matlab-mcp
```

## Prerequisites

- MATLAB installation (R2024a or later recommended)
- Python 3.11 or later
- MATLAB Engine for Python (automatically installed if missing)

## Configuration

### Claude Desktop

Add the following to your Claude Desktop config file:

```json
{
    "mcpServers": {
        "matlab": {
            "command": "uvx",
            "args": ["matlab-mcp"],
            "env": {
                "MATLAB_PATH": "/path/to/your/matlab/installation"
            }
        }
    }
}
```

### Environment Variables

Set the `MATLAB_PATH` environment variable to your MATLAB installation directory:

- **Windows**: `C:\Program Files\MATLAB\R2024a`
- **macOS**: `/Applications/MATLAB_R2024a.app`
- **Linux**: `/usr/local/MATLAB/R2024a`

## Available Tools

- `create_matlab_script(script_name, code)` - Create a new MATLAB script
- `create_matlab_function(function_name, code)` - Create a new MATLAB function
- `execute_matlab_script(script_name, args)` - Execute a MATLAB script
- `call_matlab_function(function_name, args)` - Call a MATLAB function
- `open_matlab_editor(script_name)` - Open MATLAB editor for a script

## Example Usage

Ask your AI assistant to:

- "Create a MATLAB script that plots a sine wave"
- "Execute the MATLAB script with custom parameters"
- "Create a function to calculate the mean of an array"
- "Open the MATLAB editor to review the script"

## License

MIT License - see [LICENSE](LICENSE) file for details.

## Contributing

Contributions are welcome! Please feel free to submit a Pull Request.
treq 25.5.0
High-level Twisted HTTP Client API
Requires Python: >=3.8.0

treq: High-level Twisted HTTP Client API
========================================

.. |pypi| image:: https://img.shields.io/pypi/v/treq.svg
    :alt: PyPI
    :target: https://pypi.org/project/treq/

.. |calver| image:: https://img.shields.io/badge/calver-YY.MM.MICRO-22bfda.svg
    :alt: calver: YY.MM.MICRO
    :target: https://calver.org/

.. |coverage| image:: https://coveralls.io/repos/github/twisted/treq/badge.svg
    :alt: Coverage
    :target: https://coveralls.io/github/twisted/treq

.. |documentation| image:: https://readthedocs.org/projects/treq/badge/
    :alt: Documentation
    :target: https://treq.readthedocs.org

|pypi|
|calver|
|coverage|
|documentation|

``treq`` is an HTTP library inspired by
`requests <https://requests.readthedocs.io/>`_ but written on top of
`Twisted <https://twisted.org/>`_'s
`Agents <https://docs.twisted.org/en/stable/api/twisted.web.client.Agent.html>`_.

It provides a simple, higher level API for making HTTP requests when
using Twisted.

.. code-block:: python

    >>> import treq

    >>> async def main(reactor):
    ...     response = await treq.get("https://github.com")
    ...     print(response.code)
    ...     body = await response.text()
    ...     print("<!DOCTYPE html>" in body)

    >>> from twisted.internet.task import react
    >>> react(main)
    200
    True

For more info `read the docs <https://treq.readthedocs.org>`_.

Contributing
------------

``treq`` development is hosted on `GitHub <https://github.com/twisted/treq>`_.

We welcome contributions: feel free to fork and send contributions over.
See `CONTRIBUTING.rst <https://github.com/twisted/treq/blob/master/CONTRIBUTING.rst>`_ for more info.

Code of Conduct
---------------

Refer to the `Twisted code of conduct <https://github.com/twisted/twisted/blob/trunk/code_of_conduct.md>`_.

Copyright and License
---------------------

``treq`` is made available under the MIT license.
See `LICENSE <./LICENSE>`_ for legal details and copyright notices.
JVaultHttpClient-xethhung12 0.0.1
A small example package
Requires Python: >=3.9

# JVaultHttpClient

A python version of connector to JVault Http Server for retrieving application configuration during app initialization stage.

# Installation
```bash
pip install -U JVaultHttpClients_xethhung12
```

# Usage

```python
from JVaultHttpClients_xethhung12 import jvault_http_client

if __name__ == '__main__':
    jvault_http_client.load_to_env()
```
uupt-mcp-server-aaron 0.2.4
uupt.com openapi mcp server
Requires Python: >=3.11.0

# UU跑腿 MCP Server

一个轻量级的MCP Server，用于通过MCP协议在uupt.com开放平台创建订单
https://open.uupt.com/

## 产品介绍

UU跑腿核心API现已全面兼容MCP协议，是国内首家兼容MCP协议的配送服务商。UU跑腿已经完成核心API接口和MCP协议的对接，涵盖询价、发单、订单详情、配送员实时位置等功能。作为国内首家支持MCP协议的配送服务商，UU跑腿MCP Server发布后，智能体开发者仅需简单配置，就可以在大模型中快速接入配送服务，实现一句话发单的能力，大幅降低了智能体应用开发过程中调用配送服务相关能力的门槛，显著提升了智能体应用的开发效率。

## 功能介绍

### 地址询价

获取订单价格。

#### 输入参数

- `fromAddress`：发货地址
- `toAddress`：收货人地址
- `adCode`：订单区域编码
- `sendType`：订单类型

#### 输出参数

- `priceToken`：金额令牌（提交订单使用）
- `needPayMoney`：实际支付金额

### 地址发单

#### 输入参数

- `priceToken`：金额令牌（计算订单价格接口返回的`price_token`）
- `receiverPhone`：收件人电话（手机号码）

#### 输出参数

- `orderCode`：UU订单号

### 取消订单

#### 输入参数

- `orderCode`：UU订单号
- `reason`：取消原因

#### 输出参数

- `deductFee`：扣除费用（单位：分）

### 查询订单

#### 输入参数

- `orderCode`：UU订单号

#### 输出参数

- `fromAddress`：发货地址
- `toAddress`：收货人地址
- `distance`：配送距离
- `state`：当前状态

## 创建应用和秘钥

### 注册开放平台

1. 注册UU跑腿开放平台账号。
2. 注册成功后登录，进入“我的首页”。

### 添加应用

1. 点击左侧菜单栏“我的应用”。
2. 创建应用并获得秘钥。

### 查看应用秘钥

1. 系统已集成UU跑腿配送，应用秘钥配置至发单系统即可使用。
2. 未集成开发者进行接口对接。

## 快速开始

### 配置Python本地环境

建议使用Python 3.11版本。

### 安装命令

```bash
pip3 install -i https://mirrors.aliyun.com/pypi/simple/ uupt-mcp-server-aaron
```

### 更新命令

```bash
pip3 install -U -i https://mirrors.aliyun.com/pypi/simple/ uupt-mcp-server-aaron
```

### 查看安装是否成功

```bash
pip3 list
```

### 配置`mcpService`

```json
{
  "mcpServers": {
    "uupt-mcp-server": {
      "disabled": false,
      "timeout": 60,
      "command": "python",
      "args": [
        "-m",
        "uupt-mcp-server-aaron"
      ],
      "env": {
        "APP_ID": "您的APP_ID",
        "APP_SECRET": "您的APP_SECRET",
        "OPEN_ID": "您的OPEN_ID",
        "OPENAPI_URL_BASE": "https://openapi.uupt.com/v2_0/"
      },
      "transportType": "stdio"
    }
  }
}
```

### 示例

![示例图](https://open.uupt.com/img/mcp-demo-1.584e5cae.png)
![示例图](https://open.uupt.com/img/mcp-demo-2.70f7dcf2.png)