Prisma Compute
Deploy your xmcp application to Prisma Compute.
For the complete documentation index, see llms.txt. Markdown variants of every page are available by appending .md to the URL.Prisma Compute can run your xmcp server as an HTTP service, exposing your tools over Streamable HTTP. It deploys the built server from your terminal and runs it on Bun.
Start with an existing standalone xmcp project or create one with pnpm create xmcp-app@latest, choosing HTTP transport. The HTTP transport example demonstrates the server and build script used here.
Configure your server
Set the HTTP host to 0.0.0.0 and the port to 3000:
If your config has http: true, replace it with this object and keep the rest of your configuration. Prisma Compute sends requests to port 3000, and the HTTP port is compiled into the server, so set it before you build. The default MCP endpoint is /mcp.
Describe the service
Install the Prisma Composer packages and the Prisma CLI:
prisma deploy needs the peer dependencies of @prisma/composer-prisma-cloud even when your server has no database. npm and Bun install them for you. pnpm 10 and Yarn may skip them, so those commands list them. --allow-build=esbuild approves the esbuild install script, which pnpm blocks by default. Without it, pnpm 11 exits with ERR_PNPM_IGNORED_BUILDS.
This guide was tested with prisma 8.0.0-rc.35, @prisma/composer and
@prisma/composer-prisma-cloud 0.40.0, and xmcp 1.13.2. Prisma Compute and
Composer are pre-1.0, so commands and options may change. If a step differs,
check the Prisma Compute documentation.
Add three files to the root of your project. The first declares a service that runs the server xmcp build produces:
The second names the project and adds the service to it:
The third tells the Prisma CLI where the module is and which region to deploy to:
Deploy from the CLI
Sign in once with npx prisma auth login. The deploy does not build your project, so build first and then deploy:
The build requires the @xmcp-dev/compiler development dependency included by the scaffolder. The first deploy creates a project named after your module and prints the public URL of the service. Run the same command again to ship a new version.
Your MCP endpoint is https://<your-service-url>/mcp. If you customized http.endpoint, use that path instead. Add this URL to an MCP client to list and call your tools.
You can also check that the server is running with:
A deploy succeeds even when the server listens on a different port, so check the health endpoint after the first deploy. If the request times out, read the service output to see which port the server opened. The service address is your module name followed by the service name:
Learn more in the Prisma Compute documentation.
