Skip to content
Agentmart
Submit a tool

MCP Gdbserver

MCP server for remote debugging with gdbserver

Connector by daedalus · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/daedalus-mcp-gdbserver

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

MCP server for remote debugging with gdbserver

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.

Tools
7 read · 10 write · 2 delete
Secrets
None asked for
Install scripts
Not scanned yet
Runs as
Python package

Tools by what they do 19

Read from the source code; the running server may list different tools.

Read 7 · Look things up without changing anything.

  • gdbserver_evaluate
  • gdbserver_list_sessions
  • gdbserver_list_threads
  • gdbserver_local_variables
  • gdbserver_read_memory
  • gdbserver_read_register
  • gdbserver_stack_frames

Write 10 · Create, change, send or run things.

  • gdbserver_attach
  • gdbserver_continue
  • gdbserver_interrupt
  • gdbserver_load_symbols
  • gdbserver_next
  • gdbserver_select_thread
  • gdbserver_set_breakpoint
  • gdbserver_start
  • gdbserver_start_multi
  • gdbserver_step

Delete 2 · Delete, drop, revoke or wipe things.

  • gdbserver_delete_breakpoint
  • gdbserver_stop

Tools (19)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • gdbserver_attachAttach gdbserver to Running Process

    Attach gdbserver to a running process. This tool spawns gdbserver and attaches it to an existing process by PID. You can then connect with GDB to debug the running process. Args: params (AttachToProcessInput): Validated input parameters containing: - pid (int): Process ID to attach to (must be >= 1) - host (str): Host to listen on - port (int): TCP port between 1024-65535 Returns: str: JSON-formatted string containing session information: Success response: { "session_id": str, "status": str, "host": str, "port": int, …

  • gdbserver_continueContinue Execution

    Continue execution of the debugged program. This tool sends the continue command to the debugged program, allowing it to run until a breakpoint is hit or the program exits. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing GDB result: Success response: {"result": str} Error response: "Error: <error message>" Examples: - Use when: "Continue execution of session_1" -> params with session_id="session_1"

  • gdbserver_delete_breakpointDelete Breakpoint

    Delete a breakpoint by ID. This tool removes a previously set breakpoint from the debug session. Args: params (DeleteBreakpointInput): Validated input parameters containing: - session_id (str): ID of the debugging session - breakpoint_id (int): ID of breakpoint to delete Returns: str: JSON-formatted string: Success response: {"breakpoint_id": int, "deleted": true} Error response: "Error: <error message>" Examples: - Use when: "Delete breakpoint 1" -> params with breakpoint_id=1

  • gdbserver_evaluateEvaluate Expressionread-only

    Evaluate an expression in the current context. This tool evaluates a C/C++ expression using the current program state, allowing you to call functions, perform arithmetic, and inspect variables. Args: params (EvaluateExpressionInput): Validated input parameters containing: - session_id (str): ID of the debugging session - expression (str): Expression to evaluate Returns: str: JSON-formatted string containing result: Error response: "Error: <error message>" Examples: - Use when: "What is x + 5?" -> params with expression="x + 5" - Use when: "Get strin…

  • gdbserver_interruptInterrupt Execution

    Interrupt executing program. This tool sends an interrupt signal to the debugged program, causing it to stop at the current instruction. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing GDB result: Error response: "Error: <error message>" Examples: - Use when: "Stop the running program" -> params with session_id="session_1"

  • gdbserver_list_sessionsList Debug Sessionsread-only

    List all active debugging sessions. This tool returns information about all current gdbserver sessions that are being managed by this MCP server. Returns: str: JSON-formatted string containing session list: Success response: [ { "session_id": str, "status": str, "host": str, "port": int, "program": str, "gdbserver_pid": int } ] Error response: "Error: <error message>" Examples: - Use when: "What sessions are running?" -> no params needed

  • gdbserver_list_threadsList Threadsread-only

    List all threads in the debugged program. This tool retrieves information about all threads running in the debugged process. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing thread information: Error response: "Error: <error message>" Examples: - Use when: "Show all threads" -> params with session_id="session_1"

  • gdbserver_load_symbolsLoad Symbol File

    Load a symbol file for debugging. This tool loads symbols from an executable file for debugging. Args: params (LoadSymbolsInput): Validated input parameters containing: - session_id (str): ID of the debugging session - file (str): Path to executable with symbols Returns: str: JSON-formatted string containing result: Error response: "Error: <error message>" Examples: - Use when: "Load symbols from /path/to/app" -> params with file="/path/to/app"

  • gdbserver_local_variablesGet Local Variablesread-only

    Get local variables in current frame. This tool retrieves all local variables in the current stack frame along with their values. Args: params (GetLocalVariablesInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing variable information: Error response: "Error: <error message>" Examples: - Use when: "Show local variables" -> params with session_id="session_1"

  • gdbserver_nextExecute One Instruction

    Execute one instruction (skipping function calls). This tool executes a single instruction, but does not step into function calls - they execute as a single unit. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing GDB result: Error response: "Error: <error message>" Examples: - Use when: "Step over one instruction" -> params with session_id="session_1"

  • gdbserver_read_memoryRead Memoryread-only

    Read memory from the debugged program. This tool reads raw memory from the debugged process at the specified address. Args: params (ReadMemoryInput): Validated input parameters containing: - session_id (str): ID of the debugging session - address (str): Memory address (e.g., '0x400520') - offset (int): Byte offset from address (default 0) - length (int): Bytes to read (1-1024, default 64) Returns: str: JSON-formatted string containing memory contents: Error response: "Error: <error message>" Examples: - Use when: "Read 64 bytes from 0x60…

  • gdbserver_read_registerRead Registerread-only

    Read register values. This tool reads the values of CPU registers. If no specific register is provided, it reads all registers. Args: params (ReadRegisterInput): Validated input parameters containing: - session_id (str): ID of the debugging session - reg (Optional[str]): Register name (e.g., 'rax', 'rip') Returns: str: JSON-formatted string containing register values: Error response: "Error: <error message>" Examples: - Use when: "Read all registers" -> params with reg=None - Use when: "Read RIP register" -> params with reg="rip"

  • gdbserver_select_threadSelect Thread

    Select a thread to debug. This tool switches the current context to the specified thread. Args: params (SelectThreadInput): Validated input parameters containing: - session_id (str): ID of the debugging session - thread_id (int): Thread ID to select Returns: str: JSON-formatted string containing result: Error response: "Error: <error message>" Examples: - Use when: "Switch to thread 2" -> params with thread_id=2

  • gdbserver_set_breakpointSet Breakpoint

    Set a breakpoint at the specified location. This tool connects to the gdbserver session and sets a breakpoint at the specified location using GDB/MI protocol. Args: params (SetBreakpointInput): Validated input parameters containing: - session_id (str): ID of the debugging session - location (str): Breakpoint location (function, file:line, or *address) - condition (Optional[str]): Optional condition Returns: str: JSON-formatted string containing breakpoint information: Success response: { "location": str, "result": dict # GDB breakpoi…

  • gdbserver_stack_framesGet Stack Framesread-only

    Get stack frames from the debugged program. This tool retrieves the call stack frames, showing the execution path to the current location. Args: params (StackFramesInput): Validated input parameters containing: - session_id (str): ID of the debugging session - max_depth (int): Maximum frames to retrieve (1-100, default 10) Returns: str: JSON-formatted string containing stack frame information: Error response: "Error: <error message>" Examples: - Use when: "Show call stack" -> params with session_id="session_1"

Show 4 more tools
  • gdbserver_startStart gdbserver

    Start gdbserver to debug a program remotely on TCP port. This tool spawns a new gdbserver process that listens on the specified host and port, ready for a GDB client to connect. The session can then be used for breakpoint management, execution control, and inspection. Args: params (StartGdbserverInput): Validated input parameters containing: - host (str): Host to listen on, default 'localhost' - port (int): TCP port between 1024-65535, default 2345 - program (Optional[str]): Path to executable to debug - args (Optional[list[str]]): Program arguments Retur…

  • gdbserver_start_multiStart gdbserver in Multi-Process Mode

    Start gdbserver in multi-process mode. In multi-process mode, gdbserver can debug multiple programs in the same session without exiting when one program finishes. Use this when you need to debug several processes sequentially. Args: params (StartGdbserverMultiInput): Validated input parameters containing: - host (str): Host to listen on - port (int): TCP port between 1024-65535 Returns: str: JSON-formatted string containing session information: Success response: { "session_id": str, "status": str, "host": str, "port": int, …

  • gdbserver_stepStep One Instruction

    Step one instruction (stepping into function calls). This tool executes a single instruction, stepping into any function calls encountered. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of the debugging session Returns: str: JSON-formatted string containing GDB result: Error response: "Error: <error message>" Examples: - Use when: "Step one instruction" -> params with session_id="session_1"

  • gdbserver_stopStop Debug Sessioncan change or delete data

    Stop a debugging session and terminate gdbserver. This tool stops the specified gdbserver session and terminates the gdbserver process. The session will no longer be available. Args: params (SessionIdInput): Validated input parameters containing: - session_id (str): ID of session to stop Returns: str: JSON-formatted string: Success response: {"session_id": str, "status": "stopped"} Error response: "Error: Session not found. Please check the session_id is correct." Examples: - Use when: "Stop session session_1" -> params with session_id="session_1"

Signals

Stars
0
Forks
0
Open issues
0
Weekly downloads
30
Last commit
Apr 22, 2026 (6 months ago)
Last release
Apr 22, 2026 (6 months ago)
Last package publish
Apr 22, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026) and the package registry.

Details

Registry name
io.github.daedalus/mcp-gdbserver
Version
0.1.1
Auth
No auth
Packages
pypi mcp-gdbserver
License
MIT
First seen
Oct 24, 2026
Last checked
Oct 25, 2026

More from daedalus

Cite this page

MCP Gdbserver. Agent Mart. https://agentmart.dev/connectors/daedalus-mcp-gdbserver (last updated 2026-10-25)