ubuntu安装IDA9.0并开启mcp
darkless

IDA下载与安装

下载地址:

https://bbs.kanxue.com/thread-283752.htm

下载完毕后直接执行idapro_90_x64linux.run安装即可,这里略过。

如果启动报错:

Could not acquire license: No valid license file could be found Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-glx, xcb. Aborted (core dumped)

解决办法:

sudo apt-get install libxcb-xinerama0 libxcb-xinerama0-dev libxcb1 libxcb1-dev \
libx11-xcb1 libx11-xcb-dev libglu1-mesa libsm6 libxrender1 \
libxi6 libxext6 libxfixes3 libxrandr2 libxinerama1

IDA mcp安装

地址:https://github.com/mrexodia/ida-pro-mcp

这里要求IDA使用的python版本≥3.11,在IDA安装目录下执行idapyswitch 切换版本。

安装:

pip install https://github.com/mrexodia/ida-pro-mcp/archive/refs/heads/main.zip

自动配置MCP server并安装IDA插件:

ida-pro-mcp --install

打开IDA后在如下位置开启MCP服务即可:

image

打开cursor就可以看到mcp服务已经配置好了:

image

如果没有,则执行ida-pro-mcp —config 自动生成mcp配置文件,然后配置到cursor中。

image

参考:

https://zhuanlan.zhihu.com/p/650638983

 评论
评论插件加载失败
正在加载评论插件