Skip to content

Commit 75daf59

Browse files
authored
docs(mastra): point MCP client at mcp.apify.com (drop /sse) (#2620)
## What Update the Mastra MCP integration guide to connect to `https://mcp.apify.com` (Streamable HTTP) instead of the legacy `https://mcp.apify.com/sse` endpoint. ## Why The legacy SSE transport (`/sse`) is being removed from the Apify MCP server (apify/apify-mcp-server-internal#591, apify/apify-mcp-server#960). The hosted endpoint is `mcp.apify.com`. ## Testing Docs-only change; both Mastra code samples now point at `https://mcp.apify.com`.
1 parent 27824de commit 75daf59

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sources/platform/integrations/ai/mastra.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Instantiate the Mastra MCP client:
5959
const mcpClient = new MastraMCPClient({
6060
name: 'apify-client',
6161
server: {
62-
url: new URL('https://mcp.apify.com/sse'),
62+
url: new URL('https://mcp.apify.com'),
6363
requestInit: {
6464
headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` }
6565
},
@@ -165,7 +165,7 @@ process.env.OPENAI_API_KEY = "your-openai-api-key";
165165
const mcpClient = new MastraMCPClient({
166166
name: 'apify-client',
167167
server: {
168-
url: new URL('https://mcp.apify.com/sse'),
168+
url: new URL('https://mcp.apify.com'),
169169
requestInit: {
170170
headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` }
171171
},

0 commit comments

Comments
 (0)