How to Use the ATS Anywhere MCP in Mastra AI
Build resilient, multi-step hiring workflows in Mastra AI using direct ATS Anywhere tools.
Works with every AI agent you already use
…and any MCP-compatible client
Connect ATS Anywhere MCP to Mastra AI
Create your Vinkius account to connect ATS Anywhere 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.
Automate applicant vetting workflows
The `list_applicants` tool fetches your candidate pipeline directly into Mastra's workflow engine. You can build a system that pulls new candidates and automatically schedules evaluation steps. If a step fails, Mastra retries the action using exponential backoff. This ensures you never lose track of an applicant due to temporary network drops.
Run conditional hiring pipelines with this MCP Server
The `get_applicant_notes` tool retrieves internal feedback to trigger conditional branching in your Mastra agents. For example, if a note contains specific rejection keywords, the workflow automatically routes the applicant to a different queue. You register the tools by passing `mcpClient.listTools()` directly into your agent's tools array. The agent then decides whether to call `get_applicant` based on the current workflow state.
Verify recruiter accounts across company sites
The `get_account_check` tool verifies your connection to the ATS platform before executing any automated workflow. This prevents your agents from running loops against expired credentials or disconnected databases. Combine this with `list_sites` to ensure your workflow target matches the correct company subdomain. Mastra handles the transport for this MCP Server, letting you deploy the entire system to your cloud with one command.
Set up ATS Anywhere MCP in Mastra AI
Prerequisites
- Node.js 18+ and a TypeScript project
-
@mastra/mcp+@mastra/corepackages - Active Vinkius subscription with a valid endpoint token
- 1
Install dependencies
Run
npm install @mastra/mcp @mastra/coreplus your preferred model provider (e.g.@ai-sdk/openai). - 2
Configure the MCPClient
Create an
MCPClientwith your Vinkius endpoint as aURLobject. Replace[YOUR_TOKEN_HERE]with your token from cloud.vinkius.com. - 3
Discover and inject tools
Call
mcpClient.listTools()and spread the result into your agent'stoolsobject. All ATS Anywhere tools become native Mastra tools. - 4
Run with any model
Swap
openai("gpt-4o")for any AI SDK-compatible provider. Callagent.generate()and the agent routes tool calls through MCP automatically.
import { MCPClient } from "@mastra/mcp";
import { Agent } from "@mastra/core/agent";
import { openai } from "@ai-sdk/openai";
const mcpClient = new MCPClient({
id: "ats-anywhere-mcp-client",
servers: {
"ats-anywhere-mcp": {
url: new URL(
"https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
),
},
},
});
const agent = new Agent({
name: "ATS Anywhere Agent",
model: openai("gpt-4o"),
instructions: "You have access to ATS Anywhere tools.",
tools: {
...(await mcpClient.listTools()),
},
});
const result = await agent.generate(
"List recent ATS Anywhere 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 ATS Anywhere. 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 ATS Anywhere MCP in Mastra AI
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the ATS Anywhere MCP today
We host it, we monitor it, we maintain it. You just paste one token.