Skip to content

Commit 11cb6bd

Browse files
chore(internal): codegen related update
1 parent 25ed318 commit 11cb6bd

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

packages/mcp-server/Dockerfile

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,27 @@
1-
# Build stage
1+
# Dockerfile for Stainless MCP Server
2+
#
3+
# This Dockerfile builds a Docker image for the MCP Server.
4+
#
5+
# To build the image locally:
6+
# docker build -f packages/mcp-server/Dockerfile -t stainlessapi/stainless-mcp:local .
7+
#
8+
# To run the image:
9+
# docker run -i stainlessapi/stainless-mcp:local [OPTIONS]
10+
#
11+
# Common options:
12+
# --tool=<name> Include specific tools
13+
# --resource=<name> Include tools for specific resources
14+
# --operation=read|write Filter by operation type
15+
# --client=<type> Set client compatibility (e.g., claude, cursor)
16+
# --transport=<type> Set transport type (stdio or http)
17+
#
18+
# For a full list of options:
19+
# docker run -i stainlessapi/stainless-mcp:local --help
20+
#
21+
# Note: The MCP server uses stdio transport by default. Docker's -i flag
22+
# enables interactive mode, allowing the container to communicate over stdin/stdout.
23+
24+
# Build stage
225
FROM node:20-alpine AS builder
326

427
# Enable corepack to use pnpm

0 commit comments

Comments
 (0)