Commit b336d72
authored
feat: serve MCP Server Card (#30202)
* feat: serve MCP Server Card at /.well-known/mcp/server-card.json
* fix: serve server card from worker to handle dot-prefixed path
* fix: use MIDDLECACHE R2 binding instead of fetch() for server card
* fix: correct comment explaining why server card is in the worker
* fix: remove manual Cache-Control header, let Cloudflare handle caching
* chore: remove redundant server card comment1 parent 7913831 commit b336d72
2 files changed
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
0 commit comments