mcpField

adapter-standalone

trpcDevelopment58 installs

About adapter-standalone

Mount tRPC on Node.js built-in HTTP server with createHTTPServer() from @trpc/server/adapters/standalone, createHTTPHandler() for custom http.createServer, createHTTP2Handler() for HTTP/2 with TLS. Configure basePath to slice URL prefix, CORS via the cors npm package passed as middleware option. CreateHTTPContextOptions provides req and res for context creation.

Install

Copy the command and run it in a terminal.

$npx skills add https://trpc/trpc --skill adapter-standalone

After installing, type/adapter-standalonein Claude Code to confirm it loaded.

Comments

Markdown supported