Skip to content

Commit 417fa8b

Browse files
EricGustinclaudegithub-actions[bot]
authored
refactor: reorganize security docs into more logical locations (#816)
* refactor: reorganize security docs into more logical locations Move security research program to resources/ and dissolve the guides/security section, placing the MCP server security guides under guides/create-tools/secure-your-server. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix: collapse redirect chain for home/build-tools/secure-your-mcp-server Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * Update app/en/references/changelog/page.mdx Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: update broken security link in tanstack-ai guide Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * revert: restore next-env.d.ts to production build path The dev-specific `.next/dev/types/routes.d.ts` import was an unintentional artifact from running `pnpm dev/build` locally. Restore to the canonical `.next/types/routes.d.ts` path. This file is auto-generated by Next.js and should not be manually edited. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * 🤖 Regenerate LLMs.txt * fix: restore public/llms.txt accidentally deleted during rebase The llms.txt was deleted when resolving a modify/delete conflict in a CI bot commit during rebase. Restore to main's current version. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: restore audit-logs markdown file accidentally deleted during rebase Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * 🤖 Regenerate LLMs.txt --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 1579ffe commit 417fa8b

15 files changed

Lines changed: 41 additions & 41 deletions

File tree

app/en/get-started/agent-frameworks/tanstack-ai/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -697,7 +697,7 @@ On first use, you'll see an authorization button. Click it to connect your Gmail
697697

698698
1. **Add more tools**: Browse the [MCP server catalog](/resources/integrations) and add tools for GitHub, Notion, Linear, and more.
699699
2. **Try different providers**: Swap `@tanstack/ai-openai` for `@tanstack/ai-anthropic` or `@tanstack/ai-gemini` to use different AI models.
700-
3. **Add user authentication**: In production, get `userId` from your auth system instead of environment variables. See [Security](/guides/security) for best practices.
700+
3. **Add user authentication**: In production, get `userId` from your auth system instead of environment variables. See [Secure your server](/guides/create-tools/secure-your-server) for best practices.
701701
4. **Deploy your chatbot**: TanStack Start supports deployment to Vercel, Netlify, Cloudflare, and Node.js servers.
702702

703703
## Complete code

app/en/get-started/agent-frameworks/vercelai/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ On first use, you'll see an authorization button. Click it to connect your Gmail
597597
## Next steps
598598

599599
1. **Add more tools**: Browse the [MCP server catalog](/resources/integrations) and add tools for GitHub, Notion, Linear, and more.
600-
2. **Add user authentication**: In production, get `userId` from your auth system instead of environment variables. See [Security](/guides/security) for best practices.
600+
2. **Add user authentication**: In production, get `userId` from your auth system instead of environment variables. See [Secure your server](/guides/create-tools/secure-your-server) for best practices.
601601
3. **Deploy to Vercel**: Push your chatbot to GitHub and [deploy to Vercel](https://vercel.com/docs/deployments/overview) with one click. Add your environment variables in the Vercel dashboard.
602602

603603
## Complete code

app/en/guides/_meta.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,6 @@ export const meta: MetaRecord = {
2222
"deployment-hosting": {
2323
title: "Deployment & hosting",
2424
},
25-
security: {
26-
title: "Security & Compliance",
27-
},
2825
};
2926

3027
export default meta;

app/en/guides/create-tools/_meta.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ export const meta: MetaRecord = {
1616
title: "Handle errors",
1717
href: "/guides/create-tools/error-handling",
1818
},
19+
"secure-your-server": {
20+
title: "Secure your server",
21+
},
1922
"migrate-toolkits": {
2023
title: "Migrate from toolkits to MCP servers",
2124
},

app/en/guides/security/_meta.tsx renamed to app/en/guides/create-tools/secure-your-server/_meta.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,8 @@ const meta: MetaRecord = {
1111
index: {
1212
title: "Overview",
1313
},
14-
"securing-arcade-mcp": {
15-
title: "Securing Arcade MCP",
16-
},
1714
"secure-your-mcp-server": {
18-
title: "Secure your MCP server",
19-
},
20-
"security-research-program": {
21-
title: "Security research program",
15+
title: "Add Resource Server auth",
2216
},
2317
};
2418

app/en/guides/security/securing-arcade-mcp/page.mdx renamed to app/en/guides/create-tools/secure-your-server/page.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@ This approach is ideal when:
2121

2222
Resource Server auth works alongside tool-level authorization. Resource Server auth secures access to the MCP server itself, while tool-level auth enables your tools to access third-party APIs on behalf of the authenticated user.
2323

24-
Learn more about adding front-door OAuth to your MCP server [here](/guides/security/secure-your-mcp-server).
25-
26-
### Client ID Metadata Documents (Coming soon)
27-
28-
Coming soon, you will be able to secure your MCP server using Client ID Metadata Documents (CIMD) for authorization. Learn more about how MCP integrates with OAuth [here](https://blog.modelcontextprotocol.io/posts/client_registration/).
24+
Learn more about adding front-door OAuth to your MCP server [here](/guides/create-tools/secure-your-server/secure-your-mcp-server).

app/en/guides/security/secure-your-mcp-server/page.mdx renamed to app/en/guides/create-tools/secure-your-server/secure-your-mcp-server/page.mdx

File renamed without changes.

app/en/guides/security/page.mdx

Lines changed: 0 additions & 15 deletions
This file was deleted.

app/en/learn/server-level-vs-tool-level-auth/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Arcade MCP servers support two distinct layers of authorization that work togeth
1717

1818
## Quick Comparison
1919

20-
| Aspect | [Resource Server Auth (Front-Door)](/guides/security/secure-your-mcp-server) | [Tool-Level Authorization](/guides/create-tools/tool-basics/create-tool-auth) |
20+
| Aspect | [Resource Server Auth (Front-Door)](/guides/create-tools/secure-your-server/secure-your-mcp-server) | [Tool-Level Authorization](/guides/create-tools/tool-basics/create-tool-auth) |
2121
| --------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------- |
2222
| **What it secures** | Access to your MCP server | Access to third-party APIs |
2323
| **Who authenticates** | The user calling your server | The user's access to external services |

app/en/references/changelog/page.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ _Here's what's new at Arcade.dev!_
141141

142142
**Arcade MCP Servers**
143143

144-
- `[feature - 🚀]` OAuth authentication for `arcade-mcp` servers. Learn more about it [here](/guides/security/secure-your-mcp-server!
144+
- `[feature - 🚀]` OAuth authentication for `arcade-mcp` servers. Learn more about it [here](/guides/create-tools/secure-your-server/secure-your-mcp-server)
145145
- `[maintenance - 🔧]` Ability to run multiple uvicorn workers
146146
- `[maintenance - 🔧]` Include type annotations for `arcade_mcp_server`
147147

0 commit comments

Comments
 (0)