4,500+ servers built on MCP Fusion
Vinkius
Clearscope logo
Vinkius
Mastra AI logo

How to Use the Clearscope MCP in Mastra AI

Build unstoppable SEO automation workflows on Clearscope with Mastra AI. Handle failures, chain jobs, and deploy with one command.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

Clearscope MCP on Cursor AI Code Editor MCP Client Clearscope MCP on Claude Desktop App MCP Integration Clearscope MCP on OpenAI Agents SDK MCP Compatible Clearscope MCP on Visual Studio Code MCP Extension Client Clearscope MCP on GitHub Copilot AI Agent MCP Integration Clearscope MCP on Google Gemini AI MCP Integration Clearscope MCP on Lovable AI Development MCP Client Clearscope MCP on Mistral AI Agents MCP Compatible Clearscope MCP on Amazon AWS Bedrock MCP Support
MCP Servers - Free for Subscribers
Mastra AI

Connect Clearscope MCP to Mastra AI

Create your Vinkius account to connect Clearscope to Mastra AI and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.

GDPR Free for Subscribers

Automate Content Briefs

Create workflows that automatically generate content briefs for your team. A Mastra AI agent can start by running `get_keyword_research`, then use conditional logic to decide the next step. If the keyword has high potential, it proceeds to `create_report` and `get_outline` to build a complete brief. If a step fails—say, a report doesn't generate correctly—Mastra's engine can automatically retry the `create_report` call with exponential backoff. You build a process that runs on its own and reliably delivers results, notifying you only when it's done.

Build Resilient SEO Audits

Auditing a whole site's worth of content is tedious and prone to failure. With Mastra AI, you can build an agent that fetches a list of URLs and then calls `grade_content` for each one in a loop. It's a simple, powerful automation. The real advantage is resilience. If one of the grading calls times out or fails, the workflow doesn't just crash. Mastra AI can be configured to catch the error, log the problematic URL, and continue with the rest of the audit. That's how you build automation you can actually trust.

Chain SEO Operations in Mastra AI

This Clearscope MCP Server lets you connect SEO tasks into a single, cohesive workflow. For instance, an agent can `list_reports`, pick the most recent one, and then use `get_report_details` to extract its core properties. From there, it can fetch competitor data with `list_competitors`. Finally, the agent can synthesize this information and send a summary to a Slack channel. Mastra AI excels at managing these multi-step processes, passing context from one tool to the next to execute a complex job without any manual intervention.

Setup guide

Set up Clearscope MCP in Mastra AI

Prerequisites

  • Node.js 18+ and a TypeScript project
  • @mastra/mcp + @mastra/core packages
  • Active Vinkius subscription with a valid endpoint token
  1. 1

    Install dependencies

    Run npm install @mastra/mcp @mastra/core plus your preferred model provider (e.g. @ai-sdk/openai).

  2. 2

    Configure the MCPClient

    Create an MCPClient with your Vinkius endpoint as a URL object. Replace [YOUR_TOKEN_HERE] with your token from cloud.vinkius.com.

  3. 3

    Discover and inject tools

    Call mcpClient.listTools() and spread the result into your agent's tools object. All Clearscope tools become native Mastra tools.

  4. 4

    Run with any model

    Swap openai("gpt-4o") for any AI SDK-compatible provider. Call agent.generate() and the agent routes tool calls through MCP automatically.

agent.ts
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";

const mcpClient = new MCPClient({
  id: "clearscope-mcp-client",
  servers: {
    "clearscope-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

const agent = new Agent({
  name: "Clearscope Agent",
  model: openai("gpt-4o"),
  instructions: "You have access to Clearscope tools.",
  tools: {
    ...(await mcpClient.listTools()),
  },
});

const result = await agent.generate(
  "List recent Clearscope transactions"
);
console.log(result.text);

Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Clearscope. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.

Why Choose Vinkius

Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.

Real-time monitoring

Live

visibility into every interaction

Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.

Built-in savings

60%

lower AI costs

Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.

Single dashboard

One

place for every integration

Every tool your AI connects to, managed from a single screen. One account, complete control.

Common questions about Clearscope MCP in Mastra AI

Mastra AI has a built-in workflow engine with automatic retries and error handling. If a Clearscope tool call fails, your agent can be configured to retry it or execute a fallback action instead of just stopping.
Yes. Your Mastra AI agent can use the output of one Clearscope tool, like `get_keyword_research`, to decide which tool to call next. This lets you build smart workflows that adapt based on the data they process.
You define the behavior. Mastra AI can automatically retry the call, trigger a different branch of your workflow (like a notification step), or log the error and move on. You're in control of failure states.
In your Mastra AI client configuration, you'll add the Vinkius URL for this MCP server. Mastra will then automatically detect the available tools like `create_report` and `grade_content` and make them available to your agents.
All SERP data and content outlines you process are confined to a V8 Isolate sandbox for each request. The connection is authenticated via your private endpoint token, and no data persists on the MCP server after the workflow step is complete.

Start using the Clearscope MCP today

We host it, we monitor it, we maintain it. You just paste one token.

Built & Managed by Vinkius 30s setup 10 tools

We've already built the connector for Clearscope. Just plug in your AI agents and start using Vinkius.

No hosting. No infrastructure. No complex setup.
All 10 tools are live and waiting. You're up and running in seconds.

Claude Claude
ChatGPT ChatGPT
Cursor Cursor
Gemini Gemini
Windsurf Windsurf
VS Code VS Code
JetBrains JetBrains
Vercel Vercel
+ other MCP clients

Vinkius gives your AI agents access to the full catalog of app connectors, all fully managed, secure, and enterprise-ready. One subscription, every tool you need.

Zero hosting required Full MCP catalog included Enterprise-grade security Auto-updated by Vinkius

Built, hosted, and secured by Vinkius. You just connect and go.