This repository includes Netlify configuration for easy deployment.
- Connect your GitHub repository to Netlify
- Netlify will automatically detect and deploy using
netlify.toml - Your MCP server will be available at
https://your-site.netlify.app
# Install Netlify CLI
npm install -g netlify-cli
# Deploy to Netlify
bun run deploy# Create preview deploy
netlify deploy --dir=.- Static Assets: Source code, documentation, API spec
- Demo Server: Simple HTTP server for testing
- Documentation Site: README.md rendered as HTML
- Health Endpoint:
/healthfor monitoring
Once deployed, you can reference the server in MCP configurations:
{
"mcpServers": {
"dflow-mcp": {
"command": "curl",
"args": [
"-X", "POST",
"https://your-site.netlify.app/api/tools/call",
"-H", "Content-Type: application/json",
"-d", "@-"
]
}
}
}Netlify automatically:
- Serves files from global CDN
- Handles HTTPS certificates
- Provides automatic gzip compression
- Sets appropriate cache headers
To use a custom domain:
- Go to Netlify dashboard → Site settings → Domain management
- Add your custom domain
- Update DNS records as instructed
- Update MCP configuration with new domain