{"at":"2026-11-22T23:28:52.147Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-22T23:28:52.533Z","dir":"received","era":"server_discover","message":{"error":{"code":-32601,"message":"Method not found"},"id":1,"jsonrpc":"2.0"}}
{"at":"2026-11-22T23:28:52.634Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-22T23:28:53.038Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"tools":{"listChanged":true}},"protocolVersion":"2025-11-25","serverInfo":{"name":"elixir-mcp","version":"1.0.0"}}}}
{"at":"2026-11-22T23:28:53.039Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-22T23:28:53.039Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-22T23:28:53.074Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Find Elixir files, project markers and the toolchain layout in a directory.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"maxDepth":{"default":3,"maximum":8,"minimum":0,"type":"integer"},"path":{"default":".","maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"detect_project"},{"description":"Read a Elixir source file, optionally a line range.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"endLine":{"minimum":1,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"startLine":{"default":1,"minimum":1,"type":"integer"}},"required":["path"],"type":"object"},"name":"read_source"},{"description":"Write a Elixir source file. Refuses to overwrite unless overwrite is true.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"createDirs":{"default":true,"type":"boolean"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"overwrite":{"default":false,"type":"boolean"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["path","content"],"type":"object"},"name":"write_source"},{"description":"Check Elixir structure and, when configured, run the real parser without executing the program.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"syntax_check"},{"description":"Trim trailing whitespace, normalize line endings and ensure a final newline in Elixir code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"expandTabs":{"default":false,"type":"boolean"},"indentWidth":{"default":2,"maximum":8,"minimum":2,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"write":{"default":false,"type":"boolean"}},"type":"object"},"name":"format_source"},{"description":"Check Elixir code for trailing whitespace, tabs, long lines, missing final newline and unbalanced structure.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"maxLineLength":{"default":120,"maximum":400,"minimum":40,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"lint_source"},{"description":"List functions, classes, types and other Elixir definitions with line numbers.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"extract_symbols"},{"description":"List imports, includes and dependencies in a Elixir source file.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"list_imports"},{"description":"Find TODO, FIXME, HACK and XXX comments in Elixir code.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"type":"object"},"name":"list_todos"},{"description":"Find every mention of a symbol in one Elixir source file.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"symbol":{"maxLength":200,"minLength":1,"type":"string"}},"required":["path","symbol"],"type":"object"},"name":"find_references"},{"description":"Rename one symbol in a Elixir file. Defaults to a dry run.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"dryRun":{"default":true,"type":"boolean"},"newName":{"maxLength":200,"minLength":1,"type":"string"},"oldName":{"maxLength":200,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"}},"required":["path","oldName","newName"],"type":"object"},"name":"rename_symbol"},{"description":"Insert a real Elixir starter snippet into a file. Defaults to a dry run.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"dryRun":{"default":true,"type":"boolean"},"line":{"minimum":1,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"snippet":{"maxLength":80,"minLength":1,"type":"string"}},"required":["path","snippet"],"type":"object"},"name":"insert_snippet"},{"description":"Comment a line range in Elixir code using the language comment marker.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"endLine":{"minimum":1,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"startLine":{"default":1,"minimum":1,"type":"integer"},"write":{"default":false,"type":"boolean"}},"type":"object"},"name":"comment_lines"},{"description":"Remove the Elixir comment marker from a line range.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"content":{"maxLength":2000000,"type":"string"},"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"endLine":{"minimum":1,"type":"integer"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"startLine":{"default":1,"minimum":1,"type":"integer"},"write":{"default":false,"type":"boolean"}},"type":"object"},"name":"uncomment_lines"},{"description":"Create a small runnable Elixir project with a starter file and test directory.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"overwrite":{"default":false,"type":"boolean"},"path":{"default":".","maxLength":2000,"minLength":1,"type":"string"},"projectName":{"maxLength":120,"minLength":1,"type":"string"}},"type":"object"},"name":"scaffold_project"},{"description":"Run a Elixir file with the installed interpreter or compiler.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"timeoutMs":{"default":30000,"maximum":120000,"minimum":1000,"type":"integer"}},"required":["path"],"type":"object"},"name":"run_source"},{"description":"Run the configured Elixir test command in a project directory.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"default":".","maxLength":2000,"minLength":1,"type":"string"},"timeoutMs":{"default":30000,"maximum":120000,"minimum":1000,"type":"integer"}},"type":"object"},"name":"run_tests"},{"description":"Build a Elixir project with the configured compiler command.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","additionalProperties":false,"properties":{"cwd":{"default":".","maxLength":2000,"minLength":1,"type":"string"},"path":{"maxLength":2000,"minLength":1,"type":"string"},"timeoutMs":{"default":30000,"maximum":120000,"minimum":1000,"type":"integer"}},"type":"object"},"name":"build_project"},{"description":"Show which Elixir compilers, interpreters, build tools and test commands are installed.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"toolchain_status"},{"description":"Return a compact Elixir syntax and toolchain reference for agents.","execution":{"taskSupport":"forbidden"},"inputSchema":{"$schema":"http://json-schema.org/draft-07/schema#","properties":{},"type":"object"},"name":"language_reference"}]}}}
