-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserverless.yml
More file actions
55 lines (49 loc) · 1.05 KB
/
serverless.yml
File metadata and controls
55 lines (49 loc) · 1.05 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
service: practera-mcp-server
frameworkVersion: '3'
provider:
name: aws
runtime: nodejs18.x
stage: ${opt:stage, 'dev'}
region: 'us-east-1'
memorySize: 1024
timeout: 30
logRetentionInDays: 14
environment:
NODE_ENV: production
PRACTERA_CLIENT_ID: ${param:practeraClientId, ''}
REDIRECT_URI: ${param:redirectUri, ''}
ISSUER_URL: ${param:issuerUrl, 'https://auth.practera.com'}
BASE_URL: ${param:baseUrl, ''}
functions:
mcp:
handler: dist/server.handler
events:
- httpApi:
path: /sse
method: ANY
- httpApi:
path: /messages
method: POST
- httpApi:
path: /oauth/{proxy+}
method: any
- httpApi:
path: /health
method: GET
plugins:
- serverless-offline
package:
patterns:
- '!node_modules/.bin/**'
- '!src/**'
- '!.gitignore'
- '!.git/**'
- '!*.log'
- '!*.md'
- 'dist/**'
- 'node_modules/**'
- 'src/data/**'
custom:
serverless-offline:
httpPort: 3000
noPrependStageInUrl: true