@devries-cameron20 / composio-1 / commits / 5652fc2d7
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Add capabilities page with custom card component

- Create CapabilityCard component with orange icons/headings - Add capabilities.mdx showcasing Tool Router, Auth, Tools, MCP, Triggers - Register component and icons in MDX components - Add to sidebar navigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Dec 29, 2025 at 23:51 UTC 5652fc2d7224630f103edc215f69fd8fd17f563c
4 files changed +71 -1
fumadocs/components/capability-card.tsx new
+27
@@ -0,0 +1,27 @@
1 +import { ReactNode } from 'react';
2 +import Link from 'next/link';
3 +
4 +interface CapabilityCardProps {
5 + icon: ReactNode;
6 + title: string;
7 + description: string;
8 + href: string;
9 +}
10 +
11 +export function CapabilityCard({ icon, title, description, href }: CapabilityCardProps) {
12 + return (
13 + <Link
14 + href={href}
15 + data-card
16 + className="block p-6 rounded-xl border border-fd-border bg-fd-card hover:border-orange-500 hover:bg-fd-accent/50 transition-all [text-decoration:none] group focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-orange-500 focus-visible:ring-offset-2"
17 + >
18 + <div className="text-orange-500 mb-3">{icon}</div>
19 + <h3 className="text-lg font-semibold text-orange-500 mb-2">{title}</h3>
20 + <p className="text-fd-muted-foreground text-sm leading-relaxed">{description}</p>
21 + </Link>
22 + );
23 +}
24 +
25 +export function CapabilityList({ children }: { children: ReactNode }) {
26 + return <div className="flex flex-col gap-4">{children}</div>;
27 +}
fumadocs/content/docs/capabilities.mdx new
+37
@@ -0,0 +1,37 @@
1 +---
2 +title: Capabilities
3 +description: Core features that power Composio
4 +---
5 +
6 +<CapabilityList>
7 + <CapabilityCard
8 + icon={<RouteIcon className="w-6 h-6" />}
9 + title="Tool Router"
10 + description="Search, authenticate, and execute across all tools from one interface. Built-in Workbench and CodeAct solves context window limitations!"
11 + href="/docs/capabilities/tool-router"
12 + />
13 + <CapabilityCard
14 + icon={<ShieldCheck className="w-6 h-6" />}
15 + title="Managed Authentication"
16 + description="OAuth, API keys, token refresh—handled automatically."
17 + href="/docs/capabilities/managed-authentication"
18 + />
19 + <CapabilityCard
20 + icon={<Wrench className="w-6 h-6" />}
21 + title="Tools"
22 + description="10,000+ actions across 250+ apps. GitHub, Slack, Gmail, and more."
23 + href="/docs/capabilities/tools"
24 + />
25 + <CapabilityCard
26 + icon={<Plug className="w-6 h-6" />}
27 + title="MCP"
28 + description="Works with Claude Desktop, Cursor, and any MCP-compatible client."
29 + href="/docs/capabilities/mcp"
30 + />
31 + <CapabilityCard
32 + icon={<Zap className="w-6 h-6" />}
33 + title="Triggers"
34 + description="React to events in real-time. Webhooks, new emails, GitHub events."
35 + href="/docs/capabilities/triggers"
36 + />
37 +</CapabilityList>
fumadocs/content/docs/meta.json
+1 -1
@@ -1,3 +1,3 @@
1 {
2 - "pages": ["welcome", "quickstart"]
2 + "pages": ["welcome", "quickstart", "capabilities"]
3 }
fumadocs/mdx-components.tsx
+6
@@ -5,6 +5,8 @@ import { Tabs, Tab, TabsList, TabsTrigger, TabsContent } from 'fumadocs-ui/compo
5 import { Accordion, Accordions } from 'fumadocs-ui/components/accordion';
6 import { Callout } from 'fumadocs-ui/components/callout';
7 import { ProviderCard, ProviderGrid } from '@/components/provider-card';
8 +import { CapabilityCard, CapabilityList } from '@/components/capability-card';
9 +import { ShieldCheck, Route as RouteIcon } from 'lucide-react';
10 import {
11 Key,
12 Wrench,
@@ -30,7 +32,11 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
32 Callout,
33 ProviderCard,
34 ProviderGrid,
35 + CapabilityCard,
36 + CapabilityList,
37 // Lucide icons - available globally in MDX without imports
38 + ShieldCheck,
39 + RouteIcon,
40 Key,
41 Wrench,
42 Database,