MCP starter module
Deploy and setup
Maps server settings, public URLs, authentication values, and client connection steps.
- Files
- 13
- Lines
- 535
- Languages
- Config + Markdown + TypeScript + JSON
Included files
This page lists paths and purposes, not source contents.
.env.example
Configuration required by this starter pack.
Config
8 lines
ADAPT.md
Give these instructions to the coding agent working in the buyer's TypeScript project.
Markdown
103 lines
app/api/mcp/route.ts
Mounts SDK v2's web-standard MCP handler for hosted applications.
TypeScript
20 lines
app/api/webhooks/route.ts
Mounts the app-side signed partner event handler.
TypeScript
8 lines
OPERATIONS.md
1.
Markdown
67 lines
package.json
Configuration required by this starter pack.
JSON
21 lines
README.md
This starter exposes your application's records, file metadata, usage, account state, jobs, and guarded actions to your MCP client over stdio or stateless HTTP.
Markdown
101 lines
src/setup/check-server.ts
Checks SDK currency, server construction, registered tools, and required settings.
TypeScript
66 lines
src/setup/run-stdio.ts
Starts the MCP server on stdin and stdout for local client connections.
TypeScript
27 lines
src/setup/seed-demo-session.ts
Generates local tokens for the demo identity and demo action-approval helpers.
TypeScript
35 lines
starter.json
Configuration required by this starter pack.
JSON
6 lines
TROUBLESHOOTING.md
Remove every `console.log` call from code used by the stdio process.
Markdown
57 lines
tsconfig.json
Configuration required by this starter pack.
JSON
16 lines
Questions about deploy and setup
Is this an MCP Next.js starter?
Yes. The pack is built for Next.js apps that expose approved data and actions to AI chat tools through authenticated MCP connections.