Bring Soql Queries
to Mastra AI
Create your Vinkius account to connect Salesforce to Mastra AI and start using all 12 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.
Compatible with every major AI agent and IDE
What is the Salesforce MCP Server?
Connect your Salesforce CRM to any AI agent and manage your entire sales pipeline through natural conversation.
What you can do
- SOQL Queries — Execute any SOQL query to retrieve data across all objects
- Account Management — List, view, create, and update accounts
- Contact & Lead Management — Browse contacts, search across all objects
- Opportunity Tracking — Monitor pipeline, create and update deals
- Reports — List and execute Salesforce reports
- Full CRUD — Create, read, update, and delete any SObject type
- Global Search — Full-text search across all Salesforce data
Built-in capabilities (12)
Provide JSON fields as a string. Create a new Salesforce record
This action is irreversible. Delete a Salesforce record
Useful for understanding data structure. Get metadata about a Salesforce object
Specify the SObject type (Account, Contact, Opportunity, Case, Lead) and the record ID. Get a specific Salesforce record by type and ID
Returns matches across Accounts, Contacts, Leads, and other objects simultaneously. Search across all Salesforce objects
List Salesforce accounts
List Salesforce contacts
List sales opportunities
List available Salesforce reports
Use list_reports first to find the report ID. Execute a Salesforce report and get results
Example: SELECT Id, Name FROM Account WHERE Industry = 'Technology' LIMIT 10 Execute a SOQL query against Salesforce
Provide the SObject type, ID, and JSON fields to update. Update an existing Salesforce record
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Salesforce tool infrastructure. Connect 12 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 Salesforce 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 Salesforce 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
Salesforce in Mastra AI
Why run Salesforce with Vinkius?
The Salesforce 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 12 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.

* 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
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Salesforce using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Salesforce and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Salesforce 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.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Salesforce for Mastra AI
Every request between Mastra AI and Salesforce is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
Can I run custom SOQL queries?
Yes! The soql_query tool accepts any valid SOQL string. Example: SELECT Id, Name, Amount FROM Opportunity WHERE StageName = 'Closed Won' LIMIT 20.
Can I create records in any object?
Yes! Use create_record with the SObject type (Account, Contact, Lead, etc.) and a JSON string of fields.
How do I search across all Salesforce data?
Use global_search with your search text. It uses SOSL to find matches across Accounts, Contacts, Leads, and all other objects simultaneously.
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.
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.
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.
createMCPClient not exported
Install: npm install @mastra/mcp
Explore More MCP Servers
View all →
Classe365
7 toolsRun your educational institution with student information management, admissions tracking, and academic planning in one platform.

Freshsuccess
11 toolsManage customer success, track health scores, and oversee account usage via AI agents with Freshsuccess.

Custify
10 toolsEquip your AI agent to manage customer success, monitor health scores, and track churn probability directly via the Custify API.

DeveloperHub
10 toolsEquip your AI agent to manage documentation projects, track pages, and monitor changelogs via the DeveloperHub API.
