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

How to Use the AskNicely MCP in Mastra AI

Build reliable customer feedback workflows using Mastra AI and this MCP Server.

See Vinkius in Action

Works with every AI agent you already use

…and any MCP-compatible client

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

Connect AskNicely MCP to Mastra AI

Create your Vinkius account to connect AskNicely 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 survey workflows in Mastra AI

Use `trigger_survey` within your agent workflows to automatically reach out to customers after specific events. Mastra AI can handle the conditional logic, ensuring the survey fires only when criteria are met. If a workflow fails, the system retries the request based on your defined backoff policy. This guarantees your survey reaches the customer even if the initial connection flickers.

Audit sentiment with Mastra AI agents

Connect `list_responses` to your agent's memory to summarize customer feedback over time. The agent reads the raw survey data to identify recurring complaints or praise. By feeding these responses into a multi-step agent flow, you can route negative feedback to a human team member. It turns raw text into actionable tasks without manual intervention.

Manage contact lists via Mastra AI

Use `list_contacts` to sync your CRM state with current AskNicely records. Your agent can compare these lists to identify which users still need to receive a survey. This keeps your outreach targeted and efficient. Your agent acts as the bridge between your database and the survey platform, ensuring no customer is missed.

Setup guide

Set up AskNicely 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 AskNicely 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: "asknicely-mcp-client",
  servers: {
    "asknicely-mcp": {
      url: new URL(
        "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
      ),
    },
  },
});

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

const result = await agent.generate(
  "List recent AskNicely 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 AskNicely. 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 AskNicely MCP in Mastra AI

Add the server URL to your agent configuration and list the tools in your agent definitions. Mastra AI automatically detects the available endpoints for your workflow steps.
Absolutely, define your branches in your Mastra agent code. If a survey trigger fails, you can set a fallback action to log the error or notify an admin.
Yes, enable requireToolApproval in your agent settings to review survey triggers before they are sent. You maintain control over when the agent interacts with your customers.
The framework logs every tool call by default. You can inspect the history of your agent to see exactly which surveys were sent and when.
All survey responses and contact information are processed in a memory-isolated sandbox. Your customer feedback data is never persisted by the Vinkius platform outside of your active session.

Start using the AskNicely MCP today

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

Built & Managed by Vinkius 30s setup 5 tools

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

No hosting. No infrastructure. No complex setup.
All 5 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.