Skip to content
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/content/docs/ai-gateway/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/ai-gateway
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/analytics/graphql-api/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/graphql
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/autorag/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/autorag
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/browser-rendering/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/browser-rendering
sidebar:
order: 90

---
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ Try this sequence of instructions to see Playwright MCP in action:

You can also use other MCP clients like [Claude Desktop](https://github.com/cloudflare/playwright-mcp/blob/main/cloudflare/example/README.md#use-with-claude-desktop).

Check our [GitHub page](https://github.com/cloudflare/playwright-mcp) for more examples and MCP client configuration options and our developer documentation on how to [build Agents on Cloudflare](/agents/).
Check our [GitHub page](https://github.com/cloudflare/playwright-mcp) for more examples and MCP client configuration options and our developer documentation on how to [build Agents on Cloudflare](/agents/).
8 changes: 8 additions & 0 deletions src/content/docs/cloudflare-one/insights/dex/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dex-analysis
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/dns/reference/analytics-mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: Analytics MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/dns-analytics
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/logs/auditlogs-mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: Audit Logs MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/auditlogs
sidebar:
order: 210

---
8 changes: 8 additions & 0 deletions src/content/docs/logs/logpush-mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: Logpush MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/logpush
sidebar:
order: 200

---
4 changes: 2 additions & 2 deletions src/content/docs/radar/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/radar#cloudflare-radar-mcp-server-
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/radar
sidebar:
order: 8

---
---
8 changes: 8 additions & 0 deletions src/content/docs/workers/ci-cd/builds/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-builds
sidebar:
order: 90

---
8 changes: 8 additions & 0 deletions src/content/docs/workers/observability/mcp-server.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
pcx_content_type: navigation
title: MCP server
external_link: https://github.com/cloudflare/mcp-server-cloudflare/tree/main/apps/workers-observability
sidebar:
order: 90

---
14 changes: 8 additions & 6 deletions src/util/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ export function flattenSidebar(sidebar: SidebarEntry[]): Link[] {
});
}

function getBadge(link: string): any {
if (link.startsWith("/api")) return { text: "API", variant: "note" };
if (link.includes("/mcp-server-cloudflare"))
return { text: "MCP", variant: "note" };
return undefined;
}

async function handleGroup(group: Group): Promise<SidebarEntry> {
const index = group.entries.find(
(entry) => entry.type === "link" && entry.href.endsWith(`/${group.label}/`),
Expand Down Expand Up @@ -291,12 +298,7 @@ async function handleLink(link: Link): Promise<Link> {
icon: frontmatter.icon,
label: link.label.concat(externalLinkArrow),
href: frontmatter.external_link,
badge: frontmatter.external_link.startsWith("/api")
? {
text: "API",
variant: "note",
}
: undefined,
badge: getBadge(frontmatter.external_link),
attrs: {
"data-external-link": true,
},
Expand Down