[!IMPORTANT] 收藏项目 ~⭐️
📖 介绍
这里是插件的详细介绍部分
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-mcp --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-mcp --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-mcp --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-mcp
安装仓库 master 分支
uv add git+https://github.com/X-Zero-L/nonebot-plugin-mcp@master
pdm
pdm add nonebot-plugin-mcp
安装仓库 master 分支
pdm add git+https://github.com/X-Zero-L/nonebot-plugin-mcp@master
poetry
poetry add nonebot-plugin-mcp
安装仓库 master 分支
poetry add git+https://github.com/X-Zero-L/nonebot-plugin-mcp@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_mcp"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| 配置项1 | 是 | 无 | 配置说明 |
| 配置项2 | 否 | 无 | 配置说明 |
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 指令1 | 主人 | 否 | 私聊 | 指令说明 |
| 指令2 | 群员 | 是 | 群聊 | 指令说明 |
🎨 效果图
如果有效果图的话
Metadata
Release files for nonebot-plugin-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_mcp-0.1.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / nonebot_plugin_mcp-0.1.0.tar.gz
| Download URL | nonebot_plugin_mcp-0.1.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fda714c89a4ebe25fe36c6fbcd59d9480183a56fc494284d683797d0273e0a7a
|
|
BLAKE2b-256 checksum How to use checksums |
3d670ba5384063ae8eaf30a5481097799a09c7ed66b7719b3290598231526713
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / nonebot_plugin_mcp-0.1.0-py3-none-any.whl
| Download URL | nonebot_plugin_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
717b8f4c5fb7249c56470112b0414ad3acf71247dc02b5e2fd223b05b83d70b6
|
|
BLAKE2b-256 checksum How to use checksums |
eea975655d039fe67f9024597f7a2e13d72d76d63e5fc0c206f9b642defa8fee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|