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.12.tar.gz (99.9 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.12-py3-none-any.whl (102.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: office_assistant_mcp-0.0.12.tar.gz
  • Upload date:
  • Size: 99.9 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.12.tar.gz
Algorithm Hash digest
SHA256 b9bef7aaa69138a9dfcc098035724d1b80ca4d3665a2b07ff666c8e1be431938
MD5 dbee573f32c27dd67689540f7a87361f
BLAKE2b-256 0027e1a4a026d5428091b92df73c22d4bbc0c973e84d2a18a7746d353cae9b0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for office_assistant_mcp-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3bb2dfc63b78e77bc12ee4d088cdea6a81ff0c9359aa2984b7bdef3c15a3d0a7
MD5 9d1b3b90528f5459af0133df5a0d61e6
BLAKE2b-256 493d83f5a10278063367f81a7d501f860af67b911e6e53be659cdc26c2066e6f

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