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, 04:30 UTC
fix(docs): disable twoslash type-checking for Mastra MCP code block
The Mastra MCPClient `headers` property doesn't exist on `HttpServerDefinition` type, causing build failures. Added `// @noErrors` since this page will be removed soon. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sushmitha Mallesh committed
Mar 4, 2026 at 23:34 UTC
8c9d3fbf597b26b9519b0eb56c6d6726d2e79fec
1 file changed
+1
docs/content/docs/single-toolkit-mcp.mdx
+1
@@ -185,6 +185,7 @@ print(response.content)
185
</Tab>
186
<Tab value="Mastra (TypeScript)">
187
```typescript
188
+// @noErrors
189
import { MCPClient } from "@mastra/mcp";
190
import { openai } from "@ai-sdk/openai";
191
import { Agent } from "@mastra/core/agent";