@devries-cameron20 / composio Mirror · read-only / commits / 89d6eadc0
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.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 17:00 UTC

Add llms.txt support and global MDX icons

- Add /llms.txt route for AI tools (lightweight doc index) - Add "For AI tools" section to welcome page with llms.txt links - Register lucide icons globally in mdx-components.tsx - Remove per-file lucide imports from MDX files (cleaner for llms-full.txt) 🤖 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 19:26 UTC 89d6eadc0127ff44b689dcf83195d3107d8a67fc
4 files changed +60 -4
fumadocs/app/llms.txt/route.ts new
+26
@@ -0,0 +1,26 @@
1 +import { source } from '@/lib/source';
2 +
3 +export const revalidate = false;
4 +
5 +export async function GET() {
6 + const pages = source.getPages();
7 +
8 + const index = `# Composio Documentation
9 +
10 +> Composio is the simplest way to connect AI agents to external tools and services.
11 +
12 +## Docs
13 +
14 +${pages.map((page) => `- [${page.data.title}](https://composio.dev${page.url}): ${page.data.description || ''}`).join('\n')}
15 +
16 +## Full Documentation
17 +
18 +For the complete documentation in a single file, see: https://composio.dev/llms-full.txt
19 +`;
20 +
21 + return new Response(index, {
22 + headers: {
23 + 'Content-Type': 'text/plain; charset=utf-8',
24 + },
25 + });
26 +}
fumadocs/content/docs/quickstart.mdx
-2
@@ -3,8 +3,6 @@ title: Quickstart
3 description: Add composio tools to your AI agents
4 ---
5
6 -import { Plug, Wrench, Key, Zap } from 'lucide-react';
7 -
6 This guide walks you through **authenticated tool calling**—the foundation of how Composio connects your AI agents to real-world actions.
7
8 You'll learn how to:
fumadocs/content/docs/welcome.mdx
+15 -2
@@ -3,8 +3,6 @@ title: Welcome
3 description: Composio is the simplest way to connect AI agents to external tools and services.
4 ---
5
6 -import { Key, Wrench, Database, Zap, Rocket, Code, Blocks } from 'lucide-react';
7 -
6 <Callout title="New: Tool Router" type="info">
7 Single MCP server and Tool that can search, authenticate, and execute across all Composio tools. [Learn more →](/tool-router/overview)
8 </Callout>
@@ -89,6 +87,21 @@ Composio works with any AI framework. Pick your preferred SDK:
87 <ProviderCard name="Build your own" href="/providers/custom" icon={<Blocks size={32} />} languages={["Python", "TypeScript"]} />
88 </ProviderGrid>
89
90 +## For AI tools
91 +
92 +Access Composio documentation in Markdown format for use with Cursor, Copilot, Claude, and other AI tools:
93 +
94 +- [composio.dev/llms.txt](/llms.txt) - Documentation index with links
95 +- [composio.dev/llms-full.txt](/llms-full.txt) - Complete documentation in one file
96 +
97 +```
98 +Documentation:
99 +{paste documentation from composio.dev/llms-full.txt}
100 +---
101 +Based on the above documentation, answer the following:
102 +{your question}
103 +```
104 +
105 ## Community
106
107 Join our [Discord](https://discord.gg/composio) community!
fumadocs/mdx-components.tsx
+19
@@ -3,6 +3,16 @@ import type { MDXComponents } from 'mdx/types';
3 import { YouTube } from '@/components/youtube';
4 import { Tabs, Tab, TabsList, TabsTrigger, TabsContent } from 'fumadocs-ui/components/tabs';
5 import { ProviderCard, ProviderGrid } from '@/components/provider-card';
6 +import {
7 + Key,
8 + Wrench,
9 + Database,
10 + Zap,
11 + Rocket,
12 + Code,
13 + Blocks,
14 + Plug,
15 +} from 'lucide-react';
16
17 export function getMDXComponents(components?: MDXComponents): MDXComponents {
18 return {
@@ -15,6 +25,15 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {
25 TabsContent,
26 ProviderCard,
27 ProviderGrid,
28 + // Lucide icons - available globally in MDX without imports
29 + Key,
30 + Wrench,
31 + Database,
32 + Zap,
33 + Rocket,
34 + Code,
35 + Blocks,
36 + Plug,
37 ...components,
38 };
39 }