Skip to main content
Glama
.env1.29 kB
# 服务器配置 NODE_ENV=development PORT=3001 MCP_PORT=3322 # CORS配置 - 允许前端UI访问 CORS_ORIGINS=http://localhost:3000,http://localhost:3001,http://localhost:5173 # 数据库配置 DB_HOST=localhost DB_PORT=5432 DB_USERNAME=postgres DB_PASSWORD=111111 DB_DATABASE=mcp_swagger_api DB_LOGGING=false # 安全配置 API_KEY=your-api-key-here JWT_SECRET=your-jwt-secret-here # 超级用户初始化配置 SUPER_ADMIN_USERNAME=admin SUPER_ADMIN_EMAIL=admin@example.com SUPER_ADMIN_PASSWORD=Admin@123456 SUPER_ADMIN_FIRST_NAME=Super SUPER_ADMIN_LAST_NAME=Admin # 密码策略配置 PASSWORD_MIN_LENGTH=8 PASSWORD_REQUIRE_UPPERCASE=true PASSWORD_REQUIRE_LOWERCASE=true PASSWORD_REQUIRE_NUMBERS=true PASSWORD_REQUIRE_SYMBOLS=true # 日志配置 LOG_LEVEL=debug LOG_FORMAT=pretty # 性能配置 REQUEST_TIMEOUT=30000 CACHE_TTL=300 MAX_PAYLOAD_SIZE=50mb # API限流配置 THROTTLE_TTL=60 THROTTLE_LIMIT=10 # MCP Server配置 MCP_SERVER_HOST=localhost MCP_SERVER_PORT=3322 MCP_SERVER_HEALTH_CHECK_INTERVAL=30000 # OpenAPI配置 DEFAULT_OPENAPI_BASE_URL=https://api.example.com MAX_OPENAPI_FILE_SIZE=50mb OPENAPI_CACHE_TTL=600 # 监控配置 METRICS_ENABLED=true HEALTH_CHECK_ENABLED=true HEALTH_CHECK_TIMEOUT=5000 # 开发配置 HOT_RELOAD=true WATCH_FILES=true DEBUG_MODE=true

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zaizaizhao/mcp-swagger-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server