办公使用MCP工具
Project description
使用playwright操作浏览器
包管理
使用uv
安装依赖
clone项目后,使用uv安装依赖:
uv sync
执行代码前激活虚拟环境:
source .venv/bin/activate
安装三方包:
uv add playwright==1.51.0
Tools调试
启动mcp调试工具:
uv run mcp dev src/office_assistant_mcp/mcp_server.py
开发
为了能执行examples/下的文件,需要在根目录下安装office_assistant_mcp包:
uv pip install -e .
打包
uv build
发布
上传到pypi,X替换为最新版本号
uv run twine upload dist/office_assistant_mcp-0.0.X*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
office_assistant_mcp-0.0.14.tar.gz
(103.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file office_assistant_mcp-0.0.14.tar.gz.
File metadata
- Download URL: office_assistant_mcp-0.0.14.tar.gz
- Upload date:
- Size: 103.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
670e93fb3dc88e768c6cef3c9e2ea94584cd3331df1b4a58784b3a019fc91609
|
|
| MD5 |
48b7c42ab5fdba4dbde84d85e4d71fee
|
|
| BLAKE2b-256 |
637c32dc683e56035922319d804c5972ad6a5b3bf37bc7cae76c202c065e4938
|
File details
Details for the file office_assistant_mcp-0.0.14-py3-none-any.whl.
File metadata
- Download URL: office_assistant_mcp-0.0.14-py3-none-any.whl
- Upload date:
- Size: 105.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff8f09274aef9d7ac2ceac8def9573cfb003662b3e43f41c7b2435730f8b5e47
|
|
| MD5 |
a7346ec68d4ca1671630c7baf01f8432
|
|
| BLAKE2b-256 |
18b4033886397affc76ef05568d3292baded1285445d273dfd071773eac2b256
|