Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
TypeScript agentic-aiagentsaiai-agentsaiagentsdeveloper-toolsfunction-callinggpt-4javascriptjsllmllmopsmcppythonremote-mcp-serverssetypescript
Add llms.txt support and global MDX icons
Sushmithamallesh89d6eadc0127
diff --git a/fumadocs/app/llms.txt/route.ts b/fumadocs/app/llms.txt/route.tsnew file mode 100644index 000000000..625617381--- /dev/null+++ b/fumadocs/app/llms.txt/route.ts@@ -0,0 +1,26 @@+import { source } from '@/lib/source';++export const revalidate = false;++export async function GET() {+ const pages = source.getPages();++ const index = `# Composio Documentation++> Composio is the simplest way to connect AI agents to external tools and services.++## Docs++${pages.map((page) => `- [${page.data.title}](https://composio.dev${page.url}): ${page.data.description || ''}`).join('\n')}++## Full Documentation++For the complete documentation in a single file, see: https://composio.dev/llms-full.txt+`;++ return new Response(index, {+ headers: {+ 'Content-Type': 'text/plain; charset=utf-8',+ },+ });+}diff --git a/fumadocs/content/docs/quickstart.mdx b/fumadocs/content/docs/quickstart.mdxindex d45b4b862..da92f6eb6 100644--- a/fumadocs/content/docs/quickstart.mdx+++ b/fumadocs/content/docs/quickstart.mdx@@ -3,8 +3,6 @@ title: Quickstartdescription: Add composio tools to your AI agents----import { Plug, Wrench, Key, Zap } from 'lucide-react';-This guide walks you through **authenticated tool calling**—the foundation of how Composio connects your AI agents to real-world actions.You'll learn how to:diff --git a/fumadocs/content/docs/welcome.mdx b/fumadocs/content/docs/welcome.mdxindex 07130467d..549b90432 100644--- a/fumadocs/content/docs/welcome.mdx+++ b/fumadocs/content/docs/welcome.mdx@@ -3,8 +3,6 @@ title: Welcomedescription: Composio is the simplest way to connect AI agents to external tools and services.----import { Key, Wrench, Database, Zap, Rocket, Code, Blocks } from 'lucide-react';-<Callout title="New: Tool Router" type="info">Single MCP server and Tool that can search, authenticate, and execute across all Composio tools. [Learn more →](/tool-router/overview)</Callout>@@ -89,6 +87,21 @@ Composio works with any AI framework. Pick your preferred SDK:<ProviderCard name="Build your own" href="/providers/custom" icon={<Blocks size={32} />} languages={["Python", "TypeScript"]} /></ProviderGrid>+## For AI tools++Access Composio documentation in Markdown format for use with Cursor, Copilot, Claude, and other AI tools:++- [composio.dev/llms.txt](/llms.txt) - Documentation index with links+- [composio.dev/llms-full.txt](/llms-full.txt) - Complete documentation in one file++```+Documentation:+{paste documentation from composio.dev/llms-full.txt}+---+Based on the above documentation, answer the following:+{your question}+```+## CommunityJoin our [Discord](https://discord.gg/composio) community!diff --git a/fumadocs/mdx-components.tsx b/fumadocs/mdx-components.tsxindex 3a8798263..b7d5cc4ee 100644--- a/fumadocs/mdx-components.tsx+++ b/fumadocs/mdx-components.tsx@@ -3,6 +3,16 @@ import type { MDXComponents } from 'mdx/types';import { YouTube } from '@/components/youtube';import { Tabs, Tab, TabsList, TabsTrigger, TabsContent } from 'fumadocs-ui/components/tabs';import { ProviderCard, ProviderGrid } from '@/components/provider-card';+import {+ Key,+ Wrench,+ Database,+ Zap,+ Rocket,+ Code,+ Blocks,+ Plug,+} from 'lucide-react';export function getMDXComponents(components?: MDXComponents): MDXComponents {return {@@ -15,6 +25,15 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {TabsContent,ProviderCard,ProviderGrid,+ // Lucide icons - available globally in MDX without imports+ Key,+ Wrench,+ Database,+ Zap,+ Rocket,+ Code,+ Blocks,+ Plug,...components,};}