Writing a tiny MCP server — registries, dispatch, and the response shape — step 4 of 9
Read the editor. A two-tool registry, plus a list_tools(registry)
that maps it to {name, description} pairs. What does the loop
print?
⌘↵ runs the editor.read, then continue.
Writing a tiny MCP server — registries, dispatch, and the response shape — step 4 of 9
Read the editor. A two-tool registry, plus a list_tools(registry)
that maps it to {name, description} pairs. What does the loop
print?
⌘↵ runs the editor.read, then continue.