generate_express_middleware
Generate Express middleware for auth, validation, rate limiting, CORS, logging, error handling, and compression. Specify the middleware types you need and receive ready-to-use code.
Instructions
Generate Express middleware for common concerns
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"middleware_types": "<middleware_types>"
},
"name": "generate_express_middleware"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| middleware_types | Yes | Middleware types to generate |