Skip to main content
Glama

configureLogging

Set up debug logging for specific components in Delve MCP, allowing detailed tracing of activities like debugging, RPC, and stack analysis by specifying log destinations and desired components.

Instructions

Configure debug logging

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
componentsYesComponents to enable logging for
destinationNoLog destination (file path or file descriptor)

Implementation Reference

  • Executes the configureLogging tool: validates input components against allowed list, sets Delve logging environment variables (DELVE_LOG, DELVE_LOG_OUTPUT, DELVE_LOG_DEST), and returns confirmation.
    case "configureLogging": { const { components, destination } = args; const validComponents = ["debugger", "gdbwire", "lldbout", "debuglineerr", "rpc", "dap", "fncall", "minidump", "stack"]; for (const component of components) { if (!validComponents.includes(component)) { throw new Error(`Invalid log component: ${component}`); } } process.env.DELVE_LOG = "1"; process.env.DELVE_LOG_OUTPUT = components.join(","); if (destination) { process.env.DELVE_LOG_DEST = destination; } return { content: [{ type: "text", text: `Configured logging for components: ${components.join(", ")}` }] }; }
  • src/server.ts:373-394 (registration)
    Registers the configureLogging tool in the MCP server's tool list, including description and input schema definition.
    { name: "configureLogging", description: "Configure debug logging", inputSchema: { type: "object", properties: { components: { type: "array", items: { type: "string", enum: ["debugger", "gdbwire", "lldbout", "debuglineerr", "rpc", "dap", "fncall", "minidump", "stack"] }, description: "Components to enable logging for" }, destination: { type: "string", description: "Log destination (file path or file descriptor)" } }, required: ["components"] } }
  • src/server.ts:415-418 (registration)
    Dispatches calls to configureLogging (and other config tools) to the handleConfigCommands function for execution.
    // Configuration commands if (["setBackend", "configureLogging", "version"].includes(name)) { return handleConfigCommands(name, args); }

Other Tools

Related Tools

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/dwisiswant0/delve-mcp'

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