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
docs: flatten MCP to single page, remove dropdown
Sushmithamalleshaeeb96c56061
diff --git a/docs/content/docs/index.mdx b/docs/content/docs/index.mdxindex 069d6b582..6fe9f0bfb 100644--- a/docs/content/docs/index.mdx+++ b/docs/content/docs/index.mdx@@ -75,7 +75,7 @@ Composio works with any AI framework. Pick your preferred SDK:<Cardicon={<Database />}title="MCP"- href="/docs/mcp/mcp-quickstart"+ href="/docs/single-toolkit-mcp"description="Hosted MCP servers for all toolkits"/><Carddiff --git a/docs/content/docs/mcp/meta.json b/docs/content/docs/mcp/meta.jsondeleted file mode 100644index 344c6ae22..000000000--- a/docs/content/docs/mcp/meta.json+++ /dev/null@@ -1,6 +0,0 @@-{- "title": "MCP",- "pages": [- "index"- ]-}diff --git a/docs/content/docs/meta.json b/docs/content/docs/meta.jsonindex 83cbf4602..b2f242971 100644--- a/docs/content/docs/meta.json+++ b/docs/content/docs/meta.json@@ -19,7 +19,7 @@"---Features---","triggers","cli",- "mcp",+ "single-toolkit-mcp","---Direct Tool Execution Guides---","tools-direct","auth-configuration",diff --git a/docs/content/docs/quickstart.mdx b/docs/content/docs/quickstart.mdxindex fc8c16a70..faad1d290 100644--- a/docs/content/docs/quickstart.mdx+++ b/docs/content/docs/quickstart.mdx@@ -883,7 +883,7 @@ readline.close();<Card title="Manual authentication" href="/docs/authenticating-users/manually-authenticating">Customise the authentication flow for your users.</Card>- <Card title="Using MCP" href="/docs/mcp">- Connect Tool Router to any MCP-compatible client.+ <Card title="Single Toolkit MCP" href="/docs/single-toolkit-mcp">+ Create MCP servers for specific toolkits.</Card></Cards>diff --git a/docs/content/docs/mcp/index.mdx b/docs/content/docs/single-toolkit-mcp.mdxsimilarity index 87%rename from docs/content/docs/mcp/index.mdxrename to docs/content/docs/single-toolkit-mcp.mdxindex c1ceb4b3c..950282281 100644--- a/docs/content/docs/mcp/index.mdx+++ b/docs/content/docs/single-toolkit-mcp.mdx@@ -300,49 +300,6 @@ if (result.deleted) {</Tab></Tabs>-### Multi-toolkit servers--Combine multiple services in a single MCP server:--<Tabs groupId="language" items={['Python', 'TypeScript']} persist>- <Tab value="Python">-```python-server = composio.mcp.create(- name="productivity-suite",- toolkits=[- {"toolkit": "gmail", "auth_config": "ac_gmail"},- {"toolkit": "slack", "auth_config": "ac_slack"},- {"toolkit": "github", "auth_config": "ac_github"}- ],- allowed_tools=[- "GMAIL_FETCH_EMAILS",- "SLACK_SEND_MESSAGE",- "GITHUB_CREATE_ISSUE"- ]-)-```- </Tab>- <Tab value="TypeScript">-```typescript-import { Composio } from '@composio/core';-const composio = new Composio({ apiKey: 'your_api_key' });-// ---cut----const server = await composio.mcp.create("productivity-suite", {- toolkits: [- { authConfigId: "ac_gmail", toolkit: "gmail" },- { authConfigId: "ac_slack", toolkit: "slack" },- { authConfigId: "ac_github", toolkit: "github" }- ],- allowedTools: [- "GMAIL_FETCH_EMAILS",- "SLACK_SEND_MESSAGE",- "GITHUB_CREATE_ISSUE"- ]-});-```- </Tab>-</Tabs>-## Next steps<Cards>diff --git a/docs/content/docs/troubleshooting/mcp.mdx b/docs/content/docs/troubleshooting/mcp.mdxindex b358bc3c7..0a5764d06 100644--- a/docs/content/docs/troubleshooting/mcp.mdx+++ b/docs/content/docs/troubleshooting/mcp.mdx@@ -13,7 +13,7 @@ This error occurs when MCP cannot find a valid connected account for authenticat- Account status is `ACTIVE` (not deleted)- Account belongs to the same auth config used to create the MCP server-Learn more: [MCP Quickstart](/docs/mcp/mcp-quickstart)+Learn more: [Single Toolkit MCP](/docs/single-toolkit-mcp)## Getting 404 errorsdiff --git a/docs/next.config.mjs b/docs/next.config.mjsindex 72570753c..fb9d9c5e7 100644--- a/docs/next.config.mjs+++ b/docs/next.config.mjs@@ -187,12 +187,17 @@ const config = {},{source: '/docs/mcp-quickstart',- destination: '/docs/mcp/mcp-quickstart',+ destination: '/docs/single-toolkit-mcp',permanent: true,},{source: '/docs/mcp-server-management',- destination: '/docs/mcp/mcp-server-management',+ destination: '/docs/single-toolkit-mcp',+ permanent: true,+ },+ {+ source: '/docs/mcp/:path*',+ destination: '/docs/single-toolkit-mcp',permanent: true,},// Tools section moved to tools-direct folder