Update bridge_mcp_ghidra.py
This commit is contained in:
parent
33c0138e68
commit
665ef14b41
@ -1,7 +1,10 @@
|
|||||||
from mcp.server.fastmcp import FastMCP
|
import sys
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
ghidra_server_url = "http://localhost:8080"
|
from mcp.server.fastmcp import FastMCP
|
||||||
|
|
||||||
|
DEFAULT_GHIDRA_SERVER = "http://127.0.0.1:8080/"
|
||||||
|
ghidra_server_url = sys.argv[1] if len(sys.argv) > 1 else DEFAULT_GHIDRA_SERVER
|
||||||
|
|
||||||
mcp = FastMCP("ghidra-mcp")
|
mcp = FastMCP("ghidra-mcp")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user