Skip to content

feat: add pyproject.toml, CLI entry point, and CI/CD automation#57

Closed
filhocf wants to merge 1 commit into
ForLegalAI:masterfrom
filhocf:upstream/pypi-publish
Closed

feat: add pyproject.toml, CLI entry point, and CI/CD automation#57
filhocf wants to merge 1 commit into
ForLegalAI:masterfrom
filhocf:upstream/pypi-publish

Conversation

@filhocf

@filhocf filhocf commented May 17, 2026

Copy link
Copy Markdown

Closes #56

Changes

  • pyproject.toml — hatchling build, proper metadata, CLI entry point, optional cloud/dev deps
  • mcp_office_documents/ — package with server.py entry point
  • ci.yml — trigger on push/PR (not just workflow_dispatch), add pytest-cov, add PyPI publish on tag

Usage after merge

pip install mcp-ms-office-documents
# or
uvx mcp-ms-office-documents

PyPI Trusted Publisher setup (required)

For the publish workflow to work, you'll need to configure a Trusted Publisher on PyPI:

  1. Go to https://pypi.org/manage/account/publishing/
  2. Add new pending publisher:
    • PyPI project name: mcp-ms-office-documents
    • Owner: ForLegalAI
    • Repository: mcp-ms-office-documents
    • Workflow name: ci.yml
    • Environment: (leave blank)
  3. After that, any tag push (e.g. v0.1.0) will auto-publish to PyPI

Tests

285 existing tests pass. No changes to existing functionality.

@filhocf filhocf force-pushed the upstream/pypi-publish branch from deff29f to 0ed4233 Compare May 17, 2026 13:04
- pyproject.toml with hatchling build, metadata, CLI entry point
- mcp_office_documents/ package with server.py + app.py
- force-include root modules (main.py, config.py, etc.) in wheel
- ci.yml: trigger on push/PR, pytest-cov, PyPI publish on tag
- Verified: uv tool install works, server starts correctly

Closes ForLegalAI#56
@filhocf filhocf force-pushed the upstream/pypi-publish branch from 0ed4233 to 3edbf40 Compare May 17, 2026 13:05
@filhocf

filhocf commented May 20, 2026

Copy link
Copy Markdown
Author

Closing — we've moved to an independent fork (filhocf/mcp-ms-office-documents) with divergent architecture. Thanks!

@filhocf filhocf closed this May 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: publish to PyPI for uvx / pip install support

1 participant