办公使用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.16.tar.gz
(103.3 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.16.tar.gz.
File metadata
- Download URL: office_assistant_mcp-0.0.16.tar.gz
- Upload date:
- Size: 103.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c32c79ce16a8f5122e08595d42552ab133b3e3c143f195fd17486f687ea056e4
|
|
| MD5 |
31141935e1938216198d3b4cec62c3fa
|
|
| BLAKE2b-256 |
4ea69a7da5e9d57f6547a46ca39e6af88e9d1c34ab7354c0db9e4f404aeb21ba
|
File details
Details for the file office_assistant_mcp-0.0.16-py3-none-any.whl.
File metadata
- Download URL: office_assistant_mcp-0.0.16-py3-none-any.whl
- Upload date:
- Size: 106.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88a7bf23a2b3aa88b6b35783dbc9b8c46d0a2f751681969120aa34e41fd7f874
|
|
| MD5 |
ca0b288dfa1f98266e3a7e2671d5be85
|
|
| BLAKE2b-256 |
0ef1a67f304d68975b4f0d994b87bef190f1be867d2e6a0c42f2dbd4f6681afc
|