@devries-cameron20 / composio Mirror · read-only / commits / 57fe31127
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, 09:30 UTC

docs: Simplify Vercel page — native tools only, remove MCP tab

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmithamallesh committed Feb 17, 2026 at 14:46 UTC 57fe31127d400852ca5d446e12d028cff007af97
1 file changed -73
docs/content/docs/providers/vercel.mdx
-73
@@ -10,12 +10,6 @@ The Vercel AI SDK provider transforms Composio tools into Vercel's [tool format]
10 Vercel AI SDK is TypeScript only. There is no Python SDK.
11 </Callout>
12
13 -<IntegrationTabs tabs={[
14 - { value: "tools", label: "Tools" },
15 - { value: "mcp", label: "MCP" },
16 -]}>
17 -
18 -<IntegrationContent value="tools">
13 <Steps>
14 <Step>
15 **Install**
@@ -69,70 +63,3 @@ for await (const textPart of stream.textStream) {
63 ```
64 </Step>
65 </Steps>
72 -</IntegrationContent>
73 -
74 -<IntegrationContent value="mcp">
75 -<Steps>
76 -<Step>
77 -**Install**
78 -
79 -No `@composio/vercel` package needed — use Vercel AI SDK's [MCP client](https://sdk.vercel.ai/docs/ai-sdk-core/mcp) directly.
80 -
81 -```bash
82 -npm install @composio/core ai @ai-sdk/anthropic @ai-sdk/mcp
83 -```
84 -</Step>
85 -
86 -<Step>
87 -**Configure API Keys**
88 -
89 -<Callout type="info">
90 -Set `COMPOSIO_API_KEY` with your API key from [Settings](https://platform.composio.dev/?next_page=/settings) and `ANTHROPIC_API_KEY` with your [Anthropic API key](https://console.anthropic.com/settings/keys).
91 -</Callout>
92 -
93 -```txt title=".env"
94 -COMPOSIO_API_KEY=xxxxxxxxx
95 -ANTHROPIC_API_KEY=xxxxxxxxx
96 -```
97 -</Step>
98 -
99 -<Step>
100 -**Create session and run**
101 -
102 -```typescript
103 -// @noErrors
104 -import { anthropic } from "@ai-sdk/anthropic";
105 -import { experimental_createMCPClient as createMCPClient } from "@ai-sdk/mcp";
106 -import { Composio } from "@composio/core";
107 -import { streamText, stepCountIs } from "ai";
108 -
109 -const composio = new Composio();
110 -
111 -// Create a session for your user
112 -const { mcp } = await composio.create("user_123");
113 -
114 -const client = await createMCPClient({
115 - transport: {
116 - type: "http",
117 - url: mcp.url,
118 - headers: mcp.headers,
119 - },
120 -});
121 -const tools = await client.tools();
122 -
123 -const stream = await streamText({
124 - model: anthropic("claude-opus-4-6"),
125 - tools,
126 - prompt: "Summarize my emails from today",
127 - stopWhen: stepCountIs(10),
128 -});
129 -
130 -for await (const textPart of stream.textStream) {
131 - process.stdout.write(textPart);
132 -}
133 -```
134 -</Step>
135 -</Steps>
136 -</IntegrationContent>
137 -
138 -</IntegrationTabs>