Commit 4befc57
committed
docs: Add StreamableHTTP path configuration documentation
- Add dedicated StreamableHTTP servers section in README
- Explain default /mcp path behavior and configuration options
- Add examples showing how to mount at custom paths
- Create new snippet for StreamableHTTP mounting patterns
- Update existing Starlette mount snippet with clarifying comments
This helps users understand and avoid the double-path issue when
mounting StreamableHTTP servers (e.g., /mcp/mcp instead of /mcp).1 parent d9fbef4 commit 4befc57
File tree
3 files changed
+95
-9
lines changed- examples/snippets/servers
3 files changed
+95
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1011 | 1011 | | |
1012 | 1012 | | |
1013 | 1013 | | |
| 1014 | + | |
1014 | 1015 | | |
1015 | 1016 | | |
1016 | | - | |
1017 | | - | |
| 1017 | + | |
1018 | 1018 | | |
| 1019 | + | |
1019 | 1020 | | |
| 1021 | + | |
1020 | 1022 | | |
1021 | 1023 | | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
1022 | 1031 | | |
1023 | 1032 | | |
1024 | 1033 | | |
1025 | | - | |
| 1034 | + | |
1026 | 1035 | | |
1027 | 1036 | | |
1028 | 1037 | | |
1029 | 1038 | | |
1030 | | - | |
| 1039 | + | |
1031 | 1040 | | |
1032 | 1041 | | |
1033 | 1042 | | |
1034 | 1043 | | |
1035 | 1044 | | |
1036 | | - | |
1037 | | - | |
1038 | | - | |
1039 | | - | |
| 1045 | + | |
1040 | 1046 | | |
1041 | 1047 | | |
1042 | 1048 | | |
1043 | 1049 | | |
1044 | 1050 | | |
1045 | | - | |
| 1051 | + | |
1046 | 1052 | | |
1047 | 1053 | | |
1048 | 1054 | | |
| |||
1058 | 1064 | | |
1059 | 1065 | | |
1060 | 1066 | | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
1061 | 1070 | | |
1062 | 1071 | | |
1063 | 1072 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
0 commit comments