Skip to content
This repository was archived by the owner on May 5, 2026. It is now read-only.

fix: 🐛 Fix entrypoitn so that argparse is actually invoked#14

Merged
CAPsMANyo merged 1 commit into
mainfrom
bugfix/streamable-http
Apr 24, 2026
Merged

fix: 🐛 Fix entrypoitn so that argparse is actually invoked#14
CAPsMANyo merged 1 commit into
mainfrom
bugfix/streamable-http

Conversation

@CAPsMANyo
Copy link
Copy Markdown
Owner

pyproject.toml entry point was "lcars_mcp_server:mcp.run" which calls mcp.run() directly with no arguments, completely bypassing the argparse logic in main.py. So CLI flags like --transport streamable-http were silently ignored.

Fix:

  • main.py — wrapped argparse logic in a main() function
  • pyproject.toml:16 changed entry point to "lcars_mcp_server.main:main"

pyproject.toml entry point was "lcars_mcp_server:mcp.run" which calls mcp.run() directly with no arguments, completely bypassing the argparse logic in __main__.py. So CLI flags like --transport streamable-http were silently ignored. Fix: - __main__.py — wrapped argparse logic in a main() function - pyproject.toml:16 — changed entry point to "lcars_mcp_server.__main__:main"
@CAPsMANyo CAPsMANyo merged commit e8bc1a9 into main Apr 24, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

Docker build passed for 02b5690

Image built as sha-02b5690 (not pushed — PR builds are verification-only).

@CAPsMANyo CAPsMANyo deleted the bugfix/streamable-http branch April 24, 2026 05:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant