4,000+ servers built on MCP Fusion
Vinkius
Mastra AISDK
Mastra AI
Why use Together AI MCP Server with Mastra AI?

Bring Llm
to Mastra AI

Create your Vinkius account to connect Together AI to Mastra AI and start using all 7 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.

MCP Inspector GDPR Free for Subscribers
Chat CompletionCreate Finetune JobGenerate EmbeddingsGenerate ImageList Available ModelsList Finetune JobsText Completion
ChatGPT Claude Perplexity

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
Together AI

What is the Together AI MCP Server?

Connect your Together AI account to any AI agent and integrate bleeding-edge open-source models seamlessly into your workflow. Harness world-class inference speeds to query Llama, Mixtral, and more, or orchestrate specialized model fine-tuning jobs straight from your chat environment.

What you can do

  • Model Discovery — Explore and list all currently supported models on the Together network, identifying the best engine for any NLP or vision task
  • Conversational AI — Run chat completion cycles on advanced models simply by supplying a model ID directly from the chat prompt
  • Vector Storage Preparation — Generate instant rich embeddings for input texts, ready to populate your analytical databases
  • Creative Media — Instruct external diffusion models to generate images using detailed physical descriptions
  • Custom Fine-Tuning — Provision custom training runs by indicating a base framework and dataset file, alongside tracking existing job statuses

How it works

  1. Sign up for this integration
  2. Open your api.together.xyz control panel and fetch a developer API Key
  3. Plug the key above, specify models to your agent, and enjoy sub-second serverless inference directly inside your command interface

Who is this for?

  • AI Developers — Orchestrate fine-tuning parameters and launch jobs to the compute cluster without CLI switching
  • Software Engineers — Use the provider to test completions using alternative open-source solutions (e.g., Llama 3) natively in code editors
  • Machine Learning Engineers — Bulk-generate vectors from raw logs using embedding models attached straight to their main conversational agent

Built-in capabilities (7)

chat_completion

Provide a model ID and a JSON array of messages. Executes a chat completion using Together AI models

create_finetune_job

Provide a base model ID and a training file ID. Creates a new fine-tuning job

generate_embeddings

Provide a model ID and a JSON array of strings. Generates vector embeddings for input texts

generate_image

Provide a model ID and descriptive prompt. Generates an image from a text prompt

list_available_models

Lists all AI models available on Together AI

list_finetune_jobs

Lists all fine-tuning jobs

text_completion

Provide a model ID and a prompt. Executes a base text completion

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and Together AI tool infrastructure. Connect 7 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.

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

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

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

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

M
See it in action

Together AI in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Enterprise Security

Why run Together AI with Vinkius?

The Together AI connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 7 tools are ready to work instantly without any complex setup.

You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

Together AI
Fully ManagedNo server setup
Plug & PlayNo coding needed
SecurePrivacy protected
PrivateYour data is safe
Cost ControlBudget limits
Control1-click disconnect
Auto-UpdatesMaintenance free
High SpeedOptimized for AI
Reliable99.9% uptime
Your credentials and connection tokens are fully encrypted

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure

01 / Catalog

Over 4,000 integrations ready for AI agents

Explore a vast library of pre-built integrations, optimized and ready to deploy.

02 / Credentials

Connect securely in under 30 seconds

Generate tokens to authenticate and link external services in a single step.

03 / Guardian

Complete visibility into every agent action

Audit live requests, latency, success rates, and active security compliance policies.

04 / FinOps

Optimize spending and track token ROI

Analyze real-time token consumption and cost metrics detailed by connection.

Over 4,000 integrations ready for AI agents
Connect securely in under 30 seconds
Complete visibility into every agent action
Optimize spending and track token ROI

Explore our live AI Agents Analytics dashboard to see it all working

This dashboard is included when you connect Together AI using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.

Why Vinkius

Together AI and 4,000+ other AI tools. No hosting, no code, ready to use.

Professionals who connect Together AI to Mastra AI through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.

4,000+MCP Integrations
<40msResponse time
100%Fully managed
Raw MCP
Vinkius
Ready-to-use MCPsFind and configure each manually4,000+ MCPs ready to use
Connection SetupManual coding & server setup1-click instant connection
Server HostingYou host it yourself (needs 24/7 uptime)100% hosted & managed by Vinkius
Security & PrivacyStored in plaintext config filesBank-grade encrypted vault
Activity VisibilityBlind execution (no logs or tracking)Live dashboard with real-time logs
Cost ControlRunaway AI token spend riskAutomatic budget limits
Revoking AccessMust delete files or code to stop1-click disconnect button
The Vinkius Advantage

How Vinkius secures Together AI for Mastra AI

Every request between Mastra AI and Together AI is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

Where do I obtain my Together AI API Key?

Log in to the developer portal via api.together.xyz/settings/api-keys. If you do not have an existing key, click Create API Key. This token enables the execution of remote inferences spanning their hosted clusters securely.

02

Do I have to pay to use Together models through the agent?

Yes. This connector simply routes your instructions to Together AI. Any tokens consumed during chat completion, embeddings, images generation, or fine-tuning workloads are billed directly to your registered Together AI account balance according to their official compute pricing models.

03

Can I access free models on Together AI?

Yes! Together AI frequently offers free tiers for certain open-source models intended for experimentation and research. You can query these directly from your agent without depleting your account balance, though specific free-tier rate limits will apply.

04

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.

05

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.

06

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.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →