2,500+ MCP servers ready to use
Vinkius

Alpic MCP Server for Mastra AI 18 tools — connect in under 2 minutes

Built by Vinkius GDPR 18 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect Alpic through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "alpic": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "Alpic Agent",
    instructions:
      "You help users interact with Alpic " +
      "using 18 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with Alpic?"
  );
  console.log(result.text);
}

main();
Alpic
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About Alpic MCP Server

What you can do

Connect AI agents to the Alpic platform for complete MCP server lifecycle management:

Mastra's agent abstraction provides a clean separation between LLM logic and Alpic tool infrastructure. Connect 18 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • List and manage teams with member access controls
  • Create, update, and delete MCP server projects with git repository linking
  • Deploy to multiple environments (dev, staging, production) with one command
  • Monitor deployments with real-time status, logs, and analytics
  • Manage environment variables securely for each deployment target
  • View analytics including request counts, latency, error rates, and usage patterns
  • Publish to the MCP registry to make your servers discoverable
  • Create development tunnels for local testing before production deployment

The Alpic MCP Server exposes 18 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect Alpic to Mastra AI via MCP

Follow these steps to integrate the Alpic MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 18 tools from Alpic via MCP

Why Use Mastra AI with the Alpic MCP Server

Mastra AI provides unique advantages when paired with Alpic through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add Alpic without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every Alpic tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

Alpic + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the Alpic MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query Alpic, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed Alpic as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query Alpic on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using Alpic tools alongside other MCP servers

Alpic MCP Tools for Mastra AI (18)

These 18 tools become available when you connect Alpic to Mastra AI via MCP:

01

add_variable

Use this to set API keys, database URLs, feature flags, or any configuration needed by your MCP server. Requires project ID, environment ID, variable key, and value. Variable values are stored securely. Add a new environment variable to an Alpic environment

02

create_environment

Requires environment name and project ID. Optionally set initial variables and configuration. Each environment gets a unique URL for MCP client connections. Returns the created environment details. Create a new deployment environment (dev, staging, prod) for an Alpic project

03

create_project

Requires project name and team ID. Optionally set description, repository URL, and initial configuration. Returns the created project details including the new project ID needed for subsequent operations. Create a new MCP server project in Alpic

04

delete_project

This action cannot be undone. Use with caution. Requires the project ID. Confirm with the user before proceeding. Delete an Alpic MCP server project

05

delete_variable

Use this to clean up unused configuration keys. Requires project ID, environment ID, and variable key. Delete an environment variable from an Alpic environment

06

deploy_environment

The deployment runs asynchronously. Returns the deployment ID which can be used with get_deployment to check status. Use this to push new MCP server versions to dev, staging, or production environments. Trigger a new deployment for a specific Alpic environment

07

get_deployment

Requires the deployment ID. Use this to check if a deployment succeeded, review deployment history, or debug failed deployments. Get detailed status and metadata for a specific Alpic deployment

08

get_deployment_logs

Useful for debugging failed deployments, understanding build output, or verifying successful startup of the MCP server. Requires project ID and environment ID. Get deployment logs for a specific Alpic environment

09

get_project

Requires the project ID from list_projects results. Use this to review project settings before making updates or triggering deployments. Get detailed information about a specific Alpic MCP server project

10

get_project_analytics

Requires the project ID. Use this to monitor MCP server health, identify performance trends, and troubleshoot issues. Get analytics and usage data for a specific Alpic project

11

get_server_info

Use this to verify which MCP tools are exposed and confirm the server is running correctly. Get server information and status for a specific Alpic project

12

get_tunnel_ticket

Returns the tunnel URL and ticket token. Use this during development to test your MCP server before deploying to a production environment. Get a tunnel ticket for local development and testing of an MCP server

13

list_environments

Each environment has its own URL, variables, and deployment status. Returns environment IDs, names, URLs, and current deployment state. Use this to identify which environment to deploy to or manage variables for. List all environments (dev, staging, prod) for a specific Alpic project

14

list_projects

Returns project IDs, names, descriptions, associated teams, deployment status, and environment counts. Use this to overview your entire MCP infrastructure before managing specific projects or triggering deployments. List all MCP server projects in your Alpic account

15

list_teams

Each team contains projects and environments for deploying MCP servers. Returns team IDs, names, and member counts. Use this first to identify which team to manage projects under. List all teams associated with your Alpic account

16

list_variables

Variable values are masked for security. Returns variable keys and metadata. Use this to audit environment configuration before deploying or adding new variables. List all environment variables configured for an Alpic environment

17

publish_to_registry

Requires project ID and optionally a server description and category. Use this to make your MCP server publicly available. Publish an MCP server to the official MCP registry via Alpic

18

update_project

Only pass the fields you want to change. Requires the project ID from list_projects results. Use this to rename projects, update descriptions, or point to a new repository branch. Update an existing Alpic MCP server project configuration

Example Prompts for Alpic in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with Alpic immediately.

01

"List all active Alpic projects running on my account natively, then check the error rate metric for the first one listed."

02

"Deploy the staging environment for our main enterprise project mapped on isolated branches."

03

"Audit the credentials in our production environment. Provide exact details of variable schemas missing from active lists."

Troubleshooting Alpic MCP Server with Mastra AI

Common issues when connecting Alpic to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

Alpic + Mastra AI FAQ

Common questions about integrating Alpic MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect Alpic to Mastra AI

Get your token, paste the configuration, and start using 18 tools in under 2 minutes. No API key management needed.