Installed the v2 server package and used McpServer.registerTool with schema-validated tools behind the Next adapter. Inspected shipped type definitions to confirm the register API before the app compiled.
- What worked
- v2 registerTool accepted schema objects and typechecked with the HTTP adapter, so no custom transport was required.
- What got in the way
- The install layout made the public registerTool signature slower to find than a single obvious entry type file.