{"id":31684539,"url":"https://github.com/maxholman/mcp-gdbmi","last_synced_at":"2026-04-18T01:31:49.897Z","repository":{"id":318479481,"uuid":"1071446020","full_name":"maxholman/mcp-gdbmi","owner":"maxholman","description":"MCP server providing access to GDB's Machine Interface","archived":false,"fork":false,"pushed_at":"2025-10-07T11:56:27.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T13:30:09.026Z","etag":null,"topics":["ai-slop","claude-code","gdb","gdbserver","gemini-cli","mcp","vibe-coded-slop"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxholman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-07T11:08:17.000Z","updated_at":"2025-10-07T11:56:30.000Z","dependencies_parsed_at":"2025-10-07T13:30:12.739Z","dependency_job_id":"83865b65-12c6-49f5-9aa8-551c0912df49","html_url":"https://github.com/maxholman/mcp-gdbmi","commit_stats":null,"previous_names":["maxholman/mcp-gdbserver"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/maxholman/mcp-gdbmi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxholman%2Fmcp-gdbmi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxholman%2Fmcp-gdbmi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxholman%2Fmcp-gdbmi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxholman%2Fmcp-gdbmi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxholman","download_url":"https://codeload.github.com/maxholman/mcp-gdbmi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxholman%2Fmcp-gdbmi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31953510,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"ssl_error","status_checked_at":"2026-04-18T00:39:20.671Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-slop","claude-code","gdb","gdbserver","gemini-cli","mcp","vibe-coded-slop"],"created_at":"2025-10-08T08:09:48.313Z","updated_at":"2026-04-18T01:31:49.858Z","avatar_url":"https://github.com/maxholman.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCP server for GDB/MI\n\nAn MCP server for interacting with GDB/MI (GDB Machine Interface).\n\nOutput from GDB/MI is \"compressed\" using `json5` to reduce the token count for\ndata structures. Hex values are also \"compressed\" by stripping out long\n`0x00000000000` prefixes ie `0x0000004` becomes `0x4`\n\n\u003e [!CAUTION]\n\u003e GDB/MI can be very verbose, and this tool will destroy your\n\u003e quota VERY quickly if you are not careful with what you ask for! You have been\n\u003e warned.\n\n## Installation\n\nClone the repo and install the deps:\n\n```bash\npip install .\n```\n\n## Setup\n\n### Claude CLI\n\n```bash\n# run the mcp server\nfastmcp run gdb_mcp.py:mcp --transport http --port 3333\n\n# add it to claude\nclaude mcp add --transport http gdb http://localhost:3333/mcp\n```\n\n### Gemini CLI (FastMCP and uv)\n\n[Gemini CLI 🤝\nFastMCP](https://developers.googleblog.com/en/gemini-cli-fastmcp-simplifying-mcp-server-development/)\n\nThis command simplifies the process and makes the server capabilities instantly\navailable and configured within Gemini CLI.\n\n```bash\nfastmcp install gemini-cli gdb_mcp.py\n```\n\n### Gemini CLI (Manual)\n\n`.gemini/settings.json`\n\n```json\n{\n  \"mcpServers\": {\n    \"GDB MCP Server\": {\n      \"command\": \"fastmcp\",\n      \"args\": [\"run\", \"/absolute/path/to/mcp-gdbmi/gdb_mcp.py:mcp\"]\n    }\n  }\n}\n```\n\n## Usage\n\nStart your program with `gdbserver`:\n\n```bash\ngdbserver localhost:1234 ./program\n```\n\nThen use the tools through your MCP client:\n\nAsk Claude/Gemini to:\n\n- Set breakpoints\n- Run the program\n- Step through code\n- Analyse registers\n- Anything that is possible via the GDB machine interface\n\n## Tools\n\n### `connect(target: str)`\n\nConnect to GDB, which connects to the target (e.g., `\"localhost:1234\"` for a gdbserver instance).\n\n### `disconnect()`\n\nDisconnect and terminate the GDB session.\n\n### `command(command: str, wait_for_done: bool = True)`\n\nExecute a GDB/MI command (e.g., `\"-break-insert main\"`, `\"-exec-run\"`).\n\n## Common GDB/MI Commands\n\n- `-break-insert LOCATION` - Set breakpoint\n- `-break-delete NUM` - Delete breakpoint\n- `-exec-run` - Start program\n- `-exec-continue` - Continue execution\n- `-exec-step` / `-exec-next` - Step through code\n- `-stack-list-frames` - Show stack frames\n- `-data-evaluate-expression EXPR` - Evaluate expression\n\nSee [GDB/MI docs](https://sourceware.org/gdb/onlinedocs/gdb/GDB_002fMI.html) for\nmore.\n\n## License\n\n[MIT](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxholman%2Fmcp-gdbmi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxholman%2Fmcp-gdbmi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxholman%2Fmcp-gdbmi/lists"}