Inline dependencies as per PEP 723
[PEP 723](https://peps.python.org/pep-0723/) lets single-file python scripts contain references to their required Python packages inline. This adds that for the MCP bridge. You can now run it with e.g. `uv run bridge_mcp_ghidra.py` and it will automatically install the required packages in a dedicated environment if needed.
This commit is contained in:
parent
13f962a329
commit
763b221773
@ -1,3 +1,10 @@
|
||||
# /// script
|
||||
# requires-python = ">=3.11"
|
||||
# dependencies = [
|
||||
# "mcp==1.5.0",
|
||||
# "requests==2.32.3",
|
||||
# ]
|
||||
# ///
|
||||
import sys
|
||||
import requests
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user