nitrostack 1.0.54 → 1.0.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nitrostack",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"description": "NitroStack - Build powerful MCP servers with TypeScript",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/core/index.js",
|
|
@@ -108,4 +108,4 @@
|
|
|
108
108
|
"url": "https://github.com/abhishekpanditofficial/nitrostack/issues"
|
|
109
109
|
},
|
|
110
110
|
"homepage": "https://nitrostack.vercel.app"
|
|
111
|
-
}
|
|
111
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Server Configuration
|
|
2
|
+
# =============================================================================
|
|
3
|
+
# LOGGING
|
|
4
|
+
# =============================================================================
|
|
5
|
+
LOG_LEVEL=info
|
|
6
|
+
|
|
7
|
+
# =============================================================================
|
|
8
|
+
# DATABASE
|
|
9
|
+
# =============================================================================
|
|
10
|
+
# Path to the SQLite database file
|
|
11
|
+
# Can be absolute or relative to the project root
|
|
12
|
+
DATABASE_PATH=./data/ecommerce.db
|
|
13
|
+
|
|
14
|
+
# =============================================================================
|
|
15
|
+
# AUTHENTICATION (JWT)
|
|
16
|
+
# =============================================================================
|
|
17
|
+
# Secret key for signing JWT tokens
|
|
18
|
+
# IN PRODUCTION: Use a long, random string
|
|
19
|
+
JWT_SECRET=your-secret-key-change-this-in-production
|
|
20
|
+
|
|
21
|
+
# Token Issuer (iss claim)
|
|
22
|
+
JWT_ISSUER=ecommerce-app
|
|
23
|
+
|
|
24
|
+
# Token Audience (aud claim)
|
|
25
|
+
JWT_AUDIENCE=ecommerce-mcp-server
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# API Key Configuration
|
|
2
|
+
# =============================================================================
|
|
3
|
+
# API KEYS
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# Define valid API keys for your server
|
|
6
|
+
# You can add as many as needed with the prefix API_KEY_
|
|
7
|
+
# The server will load all environment variables starting with this prefix
|
|
8
|
+
|
|
9
|
+
# Example Public Key (for testing)
|
|
10
|
+
API_KEY_1=sk_test_public_demo_key_12345
|
|
11
|
+
|
|
12
|
+
# Example Admin Key (for testing)
|
|
13
|
+
API_KEY_2=sk_test_admin_demo_key_67890
|
|
14
|
+
|
|
15
|
+
# IN PRODUCTION:
|
|
16
|
+
# Use strong, random keys generated securely
|
|
17
|
+
# Example: API_KEY_PROD=sk_live_...
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# OAuth 2.1 MCP Server Configuration
|
|
2
|
+
# =============================================================================
|
|
3
|
+
# TRANSPORT MODE (AUTO-CONFIGURED)
|
|
4
|
+
# =============================================================================
|
|
5
|
+
# When OAuth is configured, the server automatically runs in DUAL mode:
|
|
6
|
+
# - STDIO: For MCP protocol communication with Studio/Claude
|
|
7
|
+
# - HTTP: For OAuth metadata endpoints (/.well-known/oauth-protected-resource)
|
|
8
|
+
# Both transports run simultaneously on different channels.
|
|
9
|
+
# =============================================================================
|
|
10
|
+
|
|
11
|
+
# =============================================================================
|
|
12
|
+
# REQUIRED: Server Configuration
|
|
13
|
+
# =============================================================================
|
|
14
|
+
|
|
15
|
+
# =============================================================================
|
|
16
|
+
# Auth0 Configuration
|
|
17
|
+
# =============================================================================
|
|
18
|
+
# After creating your API and Application in Auth0, fill in these values:
|
|
19
|
+
|
|
20
|
+
# Your Auth0 API Identifier (from APIs → MCP Server → Identifier)
|
|
21
|
+
# This MUST match exactly what you set when creating the API
|
|
22
|
+
RESOURCE_URI=https://mcplocal
|
|
23
|
+
|
|
24
|
+
# Your Auth0 tenant domain (authorization server)
|
|
25
|
+
AUTH_SERVER_URL=https://dev-5dt0utuk37h13tjm.us.auth0.com
|
|
26
|
+
|
|
27
|
+
# Expected token audience (should match RESOURCE_URI)
|
|
28
|
+
TOKEN_AUDIENCE=https://mcplocal
|
|
29
|
+
|
|
30
|
+
# Expected token issuer (your Auth0 tenant domain with trailing slash)
|
|
31
|
+
TOKEN_ISSUER=https://dev-5dt0utuk37h13tjm.us.auth0.com/
|
|
32
|
+
|
|
33
|
+
|