-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathvercel.json
More file actions
71 lines (71 loc) · 1.64 KB
/
Copy pathvercel.json
File metadata and controls
71 lines (71 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"version": 2,
"installCommand": "npm ci",
"buildCommand": "npm run build --workspace @terminal49/sdk && npm run build --workspace @terminal49/mcp",
"functions": {
"api/mcp.ts": {
"maxDuration": 30
},
"api/oauth-protected-resource.ts": {
"maxDuration": 10
},
"api/oauth-authorization-server.ts": {
"maxDuration": 10
}
},
"rewrites": [
{
"source": "/.well-known/oauth-protected-resource",
"destination": "/api/oauth-protected-resource"
},
{
"source": "/.well-known/oauth-authorization-server",
"destination": "/api/oauth-authorization-server"
},
{
"source": "/mcp",
"destination": "/api/mcp"
},
{
"source": "/",
"destination": "/api/mcp"
}
],
"headers": [
{
"source": "/mcp",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "POST, OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, Authorization, MCP-Protocol-Version, Mcp-Session-Id"
}
]
},
{
"source": "/",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "POST, OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, Authorization, MCP-Protocol-Version, Mcp-Session-Id"
}
]
}
]
}