Commit 1072924
docs(build-mcp-server, quickstart): swap Reddit demo for GitHub star (#980)
* docs(build-mcp-server, quickstart): swap Reddit demo for GitHub star
Mirror the scaffold change in ArcadeAI/arcade-mcp (replacing the Reddit
posts demo with a GitHub star_repo demo) so the build-mcp-server guide
and mcp-server-quickstart stop dead-ending at the broken Reddit OAuth
authorize flow.
Reddit's authorize endpoint currently returns "bad request: invalid
client id" against the managed OAuth client the Arcade Engine uses for
the reddit provider, so readers who follow these pages today can't get
past the "authorize the tool" step.
Changes:
build-mcp-server/page.mdx
- server.py snippet: from arcade_mcp_server.auth import Reddit → GitHub,
get_posts_in_subreddit → star_repo using GitHub(scopes=["public_repo"])
and PUT https://api.github.com/user/starred/{owner}/{repo}.
- Also fixes a stale "finally-mcp-server" User-Agent left over from
someone's local project name (the real template uses
"{{ toolkit_name }}-mcp-server", which renders to "my_server-mcp-server"
for the tutorial's app name).
- Updates the "Since the Reddit tool…" prose to GitHub equivalent.
- Updates the sample log-output line: "Added tool: get_posts_in_subreddit"
→ "Added tool: star_repo".
mcp-server-quickstart/page.mdx
- Updates the get_posts_in_subreddit bullet to describe star_repo.
- Updates the sample log-output line.
- Updates the "Since the Reddit tool…" prose.
- Updates the example prompt list to "Star the ArcadeAI/arcade-mcp
repository on GitHub".
- Updates the troubleshooting header "The Reddit tool is not working"
→ "The GitHub tool is not working".
Pairs with: ArcadeAI/arcade-mcp PR (swap minimal scaffold template).
Not run locally:
- pnpm install + ultracite + vale (heavy dep tree for a prose-only
swap; relying on CI).
Co-authored-by: Cursor <cursoragent@cursor.com>
* Update docs to match merged implementation
Remove scope from GitHub
---------
Co-authored-by: Thierry Damiba <177760997+thierrypdamiba@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>1 parent f13d418 commit 1072924
2 files changed
Lines changed: 21 additions & 26 deletions
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
| 161 | + | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
222 | | - | |
| 222 | + | |
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
275 | | - | |
| 275 | + | |
276 | 276 | | |
277 | 277 | | |
278 | 278 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
287 | | - | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
Lines changed: 16 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
97 | 97 | | |
98 | 98 | | |
99 | 99 | | |
100 | | - | |
| 100 | + | |
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
105 | 104 | | |
106 | 105 | | |
107 | 106 | | |
108 | 107 | | |
109 | 108 | | |
110 | | - | |
111 | 109 | | |
112 | 110 | | |
113 | 111 | | |
| |||
124 | 122 | | |
125 | 123 | | |
126 | 124 | | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
136 | 132 | | |
137 | 133 | | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
141 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
142 | 140 | | |
143 | | - | |
144 | | - | |
| 141 | + | |
145 | 142 | | |
146 | | - | |
147 | 143 | | |
148 | | - | |
| 144 | + | |
149 | 145 | | |
150 | 146 | | |
151 | | - | |
152 | | - | |
| 147 | + | |
153 | 148 | | |
154 | 149 | | |
155 | 150 | | |
| |||
225 | 220 | | |
226 | 221 | | |
227 | 222 | | |
228 | | - | |
| 223 | + | |
229 | 224 | | |
230 | 225 | | |
231 | 226 | | |
| |||
285 | 280 | | |
286 | 281 | | |
287 | 282 | | |
288 | | - | |
| 283 | + | |
289 | 284 | | |
290 | 285 | | |
291 | 286 | | |
| |||
0 commit comments