Switch examples to uv run
This commit is contained in:
parent
a84ec13248
commit
c4744afa58
@ -134,8 +134,9 @@ client.use_tool("ghydra", "register_instance", {"port": 8193})
|
|||||||
{
|
{
|
||||||
"mcpServers": {
|
"mcpServers": {
|
||||||
"ghydra": {
|
"ghydra": {
|
||||||
"command": "python",
|
"command": "uv",
|
||||||
"args": [
|
"args": [
|
||||||
|
"run",
|
||||||
"/ABSOLUTE_PATH_TO/bridge_mcp_hydra.py"
|
"/ABSOLUTE_PATH_TO/bridge_mcp_hydra.py"
|
||||||
],
|
],
|
||||||
"env": {
|
"env": {
|
||||||
@ -146,10 +147,12 @@ client.use_tool("ghydra", "register_instance", {"port": 8193})
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
> **Note:** You can also use `python` instead of `uv run`, but then you'll need to manually install the requirements first with `pip install mcp requests`.
|
||||||
|
|
||||||
### 5ire Configuration
|
### 5ire Configuration
|
||||||
1. Tool Key: ghydra
|
1. Tool Key: ghydra
|
||||||
2. Name: GhydraMCP
|
2. Name: GhydraMCP
|
||||||
3. Command: `python /ABSOLUTE_PATH_TO/bridge_mcp_hydra.py`
|
3. Command: `uv run /ABSOLUTE_PATH_TO/bridge_mcp_hydra.py`
|
||||||
|
|
||||||
## Example Session
|
## Example Session
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user