mcptut1
by khanakia
mcptut1 is a server application that requires specific build configurations due to issues with `bun build`. It provides instructions on how to install dependencies and run the server.
Last updated: N/A
What is mcptut1?
mcptut1 is a server application that demonstrates a specific setup and build process, highlighting challenges encountered with bun build
and offering alternative solutions using tsup
.
How to use mcptut1?
- Install dependencies using
bun install
. 2. Either run the server directly withbun run server.ts
or build it usingtsup
and then runnode dist/server.js
.
Key features of mcptut1
Demonstrates server setup
Highlights build process with
bun
andtsup
Provides alternative build solutions
Offers dependency installation instructions
Use cases of mcptut1
Learning server setup and build processes
Troubleshooting
bun build
issuesImplementing alternative build solutions with
tsup
Understanding dependency management with
bun
FAQ from mcptut1
Why does bun build
fail?
Why does bun build
fail?
The README indicates that bun build
fails when trying to run node dist/server.js
.
What are the alternative build options?
What are the alternative build options?
You can either use bun run server.ts
directly or build using tsup
and then run node dist/server.js
.
Where can I find more information on building with tsup
?
Where can I find more information on building with tsup
?
The README references https://github.com/upstash/mcp-server/blob/main/package.json as a helpful resource for building with tsup
.
How do I install dependencies?
How do I install dependencies?
Use the command bun install
to install the required dependencies.
How do I start the server?
How do I start the server?
You can start the server either by running bun run server.ts
or node dist/server.js
after building with tsup.