connect_instance
Connect the MCP bridge to a specified Ghidra instance by project name to access its analysis tools and dynamically load the instance's schema.
Instructions
Switch the MCP bridge to a different Ghidra instance by project name.
IMPORTANT: Before calling this function only the static bridge tools are exposed (list_instances, connect_instance, tool-group management, debugger proxy). After a successful connect the bridge fetches the instance's /mcp/schema and registers Ghidra analysis tools dynamically. By default all tool groups are loaded on connect. When started with --lazy, only the default groups are loaded initially and clients may need to call load_tool_group() for additional categories. Clients that cache the initial tools/list and don't honor tools/list_changed must re-list tools after this call.
Use list_instances() first to see available instances.
Args: project: Project name (or substring) to connect to
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>"
},
"name": "connect_instance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Project name (or substring) to connect to |