Skip to main content
Glama
sbergeron42

gdb-multiarch-mcp

by sbergeron42

switch_stop_session

Stop debugging Nintendo Switch executables and disconnect from Yuzu emulator or hardware via GDB stub.

Instructions

Stop the gdb-multiarch session and disconnect from Yuzu.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual handler function that stops the session and nullifies the global session variable.
    def _stop_session() -> dict:
        """Stop the current session if one exists."""
        global _session
        with _session_lock:
            if _session is None:
                return {"status": "error", "message": "No active session"}
            result = _session.stop()
            _session = None
            return result
  • The dispatch logic that calls the stop_session handler.
    elif name == "switch_stop_session":
        result = _stop_session()
  • Registration of the switch_stop_session tool.
    Tool(
        name="switch_stop_session",
        description="Stop the gdb-multiarch session and disconnect from Yuzu.",
        inputSchema=NO_ARGS_SCHEMA,
    ),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/sbergeron42/gdb-multiarch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server