Skip to content

Commit 691eb93

Browse files
chore: update code
1 parent 5b804c6 commit 691eb93

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

docs/project.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ if __name__ == "__main__":
215215
"servers": {
216216
"openapi.com": {
217217
"type": "http",
218-
"url": "http://INDIRIZZO_IP_DEL_TUO_SERVER:8000/mcp/",
218+
"url": "http://INDIRIZZO_IP_DEL_TUO_SERVER:8000",
219219
"headers": {
220220
"Authorization": "Bearer IL_TUO_BEARER_TOKEN_DI_PRODUZIONE"
221221
}

docs/settings/mcp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"servers": {
99
"openapi.com": {
1010
"type": "http",
11-
"url": "http://127.0.0.1:8000/mcp/",
11+
"url": "http://127.0.0.1:8000",
1212
"headers": {
1313
"Authorization": "Bearer ${input:OpenapiToken}"
1414
}

docs/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ ngrok http 8080
112112
# Terminal 3 — run tests
113113
export OPENAI_API_KEY=sk-...
114114
export OPENAPI_SANDBOX_TOKEN=your_sandbox_token
115-
MCP_URL=https://abcd1234.ngrok-free.app/mcp/ SANDBOX=1 make test-openai-sandbox
115+
MCP_URL=https://abcd1234.ngrok-free.app SANDBOX=1 make test-openai-sandbox
116116
```
117117

118118
---

tests/integration/run-vs-codex.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ fi
5959

6060
codex mcp remove "$MCP_SERVER_NAME" 2>/dev/null || true
6161
codex mcp add "$MCP_SERVER_NAME" \
62-
--url "http://localhost:8080/mcp/" \
62+
--url "http://localhost:8080" \
6363
--bearer-token-env-var "OPENAPI_MCP_TOKEN"
6464

6565
# --- start MCP server in background ---

tests/integration/run-vs-openai.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ fi
2222
# MCP_URL: the URL OpenAI will use to reach the MCP server.
2323
# OpenAI cloud CANNOT reach localhost — expose the server first:
2424
# ngrok http 8080
25-
# MCP_URL=https://xxxx.ngrok-free.app/mcp/ make test-openai
26-
MCP_URL="${MCP_URL:-http://localhost:8080/mcp/}"
25+
# MCP_URL=https://xxxx.ngrok-free.app make test-openai
26+
MCP_URL="${MCP_URL:-http://localhost:8080}"
2727

2828
cleanup() {
2929
[ -n "$SERVER_PID" ] && kill "$SERVER_PID" 2>/dev/null || true
@@ -53,7 +53,7 @@ if echo "$MCP_URL" | grep -qE "localhost|127\.0\.0\.1"; then
5353
echo "WARNING: MCP_URL='$MCP_URL' — OpenAI cloud cannot reach localhost."
5454
echo " Expose the server with ngrok and set MCP_URL to the public URL:"
5555
echo " ngrok http 8080"
56-
echo " MCP_URL=https://xxxx.ngrok-free.app/mcp/ make test-openai"
56+
echo " MCP_URL=https://xxxx.ngrok-free.app make test-openai"
5757
echo ""
5858
fi
5959

0 commit comments

Comments
 (0)