@@ -37,7 +37,7 @@ start the server — defaults are suitable for local use.
3737| ---| ---| ------------------------------------------------------------------------------------------|
3838| ` MCP_PORT ` | ` 8080 ` | HTTP port the server listens on |
3939| ` MCP_ENV ` | ` production ` | Runtime environment: ` dev ` \| ` staging ` \| ` production ` |
40- | ` MCP_BASE_URL ` | ` https ://mcp.openapi.com ` | Public URL of this server (used to build callback and file download URLs) |
40+ | ` MCP_BASE_URL ` | ` http ://localhost:8080 ` | Public URL of this server (used to build callback and file download URLs) |
4141| ` MCP_CALLBACK_URL ` | ` $MCP_BASE_URL/callbacks ` | Explicit callback URL sent to async APIs |
4242| ` MCP_OPENAPI_ENV ` | _ (empty)_ | Openapi environment: ` dev ` , ` test ` , ` sandbox ` (alias of ` test ` ), or empty for production |
4343
@@ -110,33 +110,6 @@ Commands:
110110
111111
112112
113- ## Local launcher script
114-
115- Copy the block below, paste it into your terminal, and press Enter. It will
116- create a ` mcp-server.sh ` file in the current directory and launch the server:
117-
118- ``` bash
119- cat > mcp-server.sh << 'EOF '
120- #!/bin/bash
121- # ============================================================
122- # Openapi.com MCP Server — local launcher
123- # Edit the variables below, then run: bash mcp-server.sh
124- # ============================================================
125-
126- export MCP_PORT="${MCP_PORT:-8080}"
127- uvx openapi-mcp-sdk server
128- EOF
129- bash mcp-server.sh
130- ```
131-
132- Next time, just run:
133-
134- ``` bash
135- bash mcp-server.sh
136- ```
137-
138-
139-
140113## Running with Docker
141114
142115The project ships a single [ ` compose.yml ` ] ( compose.yml ) with the ` mcp ` service.
@@ -172,7 +145,7 @@ server listens on `http://0.0.0.0:8080`.
172145To test endpoints manually:
173146
174147``` bash
175- curl -H " Authorization: Bearer YOUR_TOKEN" http://localhost:8080/mcp/
148+ curl -H " Authorization: Bearer YOUR_TOKEN" http://localhost:8080
176149```
177150
178151The server prints request headers and parameters to stdout — no extra
@@ -329,7 +302,7 @@ uvx openapi-mcp-sdk server
329302
330303> The directory is created automatically on first use. For the download links to
331304> work correctly, ` MCP_BASE_URL ` must point to the public address of the server
332- > (default: ` https ://mcp.openapi.com ` ).
305+ > (default: ` http ://localhost:8080 ` ).
333306
334307### Cloud storage backends
335308
0 commit comments