Skip to main content

办公使用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

打开调试:http://127.0.0.1:6274

开发

为了能执行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


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.9.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

office_assistant_mcp-0.0.9-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

Details for the file office_assistant_mcp-0.0.9.tar.gz.

File metadata

  • Download URL: office_assistant_mcp-0.0.9.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for office_assistant_mcp-0.0.9.tar.gz
Algorithm Hash digest
SHA256 febf055bd7b5e2bb3f4b03e37f8ff26d3da725124ad24a4d543b32cf53d3c6d2
MD5 d3909325c3fa49bffc813a964a99ea1e
BLAKE2b-256 df37c2e00d2f5a8f7cf972b5a4d7e86be8629883d648a1f7dced2a8b2e57e505

See more details on using hashes here.

File details

Details for the file office_assistant_mcp-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for office_assistant_mcp-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 eb9e546deb7d9796e832cfecda83818920bcf86b3fab2cc4b84c869c9e52ee3e
MD5 2a7502acafe7c2c5de96a92aa20c3647
BLAKE2b-256 9146185a6f5daf215160a8cddd986e1052add451c95a3f73c18dd6c7116c1e7e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page