# Smithery directory configuration for Temporal Cortex MCP Server.
# This file is auto-discovered by smithery.ai when this repo is submitted.
# See: https://smithery.ai/docs/publishing
startCommand:
type: stdio
configSchema:
type: object
properties:
google_client_id:
type: string
title: Google Client ID
description: Google OAuth2 Client ID for Calendar API access
google_client_secret:
type: string
title: Google Client Secret
description: Google OAuth2 Client Secret
timezone:
type: string
title: Timezone
description: IANA timezone (e.g., America/New_York). Auto-detected if not set.
tenant_id:
type: string
title: Tenant ID
description: Optional UUID for tenant isolation
lock_ttl_secs:
type: number
title: Lock TTL (seconds)
description: Lock timeout in seconds (default 30)
default: 30
oauth_redirect_port:
type: number
title: OAuth Redirect Port
description: Port for local OAuth callback server (default 8085)
default: 8085
required:
- google_client_id
- google_client_secret
commandFunction: |-
(config) => ({
command: 'npx',
args: ['-y', '@temporal-cortex/cortex-mcp'],
env: {
GOOGLE_CLIENT_ID: config.google_client_id,
GOOGLE_CLIENT_SECRET: config.google_client_secret,
...(config.timezone && { TIMEZONE: config.timezone }),
...(config.tenant_id && { TENANT_ID: config.tenant_id }),
...(config.lock_ttl_secs && { LOCK_TTL_SECS: String(config.lock_ttl_secs) }),
...(config.oauth_redirect_port && { OAUTH_REDIRECT_PORT: String(config.oauth_redirect_port) }),
},
})
exampleConfig:
google_client_id: "your-client-id.apps.googleusercontent.com"
google_client_secret: "your-client-secret"