feat: enhance HTTP server with security, CORS, testing and error handling

This commit is contained in:
czlonkowski
2025-06-13 12:12:04 +02:00
parent 89e1df03de
commit 00a6f700ed
7 changed files with 411 additions and 41 deletions

View File

@@ -210,13 +210,17 @@ npm run start:http
```json
{
"mcpServers": {
"n8n-documentation": {
"command": "mcp-remote",
"n8n-remote": {
"command": "npx",
"args": [
"https://your-server.com/mcp",
"--header",
"Authorization: Bearer your-auth-token"
]
"-y",
"@modelcontextprotocol/mcp-remote@latest",
"connect",
"https://your-server.com/mcp"
],
"env": {
"MCP_AUTH_TOKEN": "your-auth-token"
}
}
}
}