Bring Soql Query
to Mastra AI
Create your Vinkius account to connect Salesforce Analytics & SOQL to Mastra AI and start using all 6 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 Analytics & SOQL MCP Server?
The most powerful Salesforce integration — raw SOQL access to any data in your org.
What you can do
- SOQL — Run any query against standard or custom objects
- Reports — List and execute Salesforce reports
- Dashboards — View dashboard components and data
- Counts — Get record counts for any object
Who is this for?
- Executives — "What was our win rate last quarter?"
- RevOps — Instant data without waiting for BI
- Analysts — Ad-hoc queries through conversation
Built-in capabilities (6)
Each component includes its type, header, data values, and the source report. Dashboards provide pre-built visual summaries. Get the dashboard ID from sf_list_dashboards. Use when the user asks "show me the sales dashboard" or wants a visual summary of specific metrics. Get all component data from a specific Salesforce dashboard — charts, metrics, and tables with their underlying data
Returns dashboard title, folder, last referenced date, and dashboard ID. Dashboards contain visual components (charts, tables, metrics) built from reports. Use to find dashboard IDs before fetching their component data with sf_get_dashboard. List available Salesforce dashboards with title, folder, and last referenced date to discover visualization assets
Returns report name, folder path, report format (Tabular/Summary/Matrix), last run date, and report ID. Use when the user asks about available reports, wants to find a specific one, or needs report IDs before running them with sf_run_report. List available Salesforce reports with name, folder, format, and last run date to discover reporting assets
Returns the total number of records. Use for quick data volume checks: "how many leads do we have?", "total number of accounts", or capacity planning. Accepts any standard or custom object API name. Get the total record count for any Salesforce object — Account, Contact, Lead, Opportunity, Case, or any custom object
Get the report ID from sf_list_reports first. This is the read-only equivalent of clicking "Run Report" in the Salesforce UI. Returns up to 2000 rows. Use when the user asks for specific report data or wants to extract insights from a saved report. Execute a specific Salesforce report by ID and return its full data — all rows, columns, and groupings
This is the most powerful and flexible tool — you can query any standard or custom object, apply filters, use aggregate functions, and join related objects. Example: SELECT Id, Name, Amount, StageName FROM Opportunity WHERE StageName = 'Closed Won' AND Amount > 10000 LIMIT 10. Use when no other tool covers the specific data need, or when the user requests a custom query. Execute a raw SOQL query against your Salesforce org to retrieve any data from standard or custom objects
Why Mastra AI?
Mastra's agent abstraction provides a clean separation between LLM logic and Salesforce Analytics & SOQL tool infrastructure. Connect 6 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 Analytics & SOQL 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 Analytics & SOQL 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 Analytics & SOQL in Mastra AI
Why run Salesforce Analytics & SOQL with Vinkius?
The Salesforce Analytics & SOQL 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 6 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 Analytics & SOQL using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Salesforce Analytics & SOQL and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Salesforce Analytics & SOQL 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 Analytics & SOQL for Mastra AI
Every request between Mastra AI and Salesforce Analytics & SOQL 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 any SOQL query?
Yes! Any valid SOQL query against standard or custom objects, respecting your field-level security.
Can I run existing Salesforce reports?
Yes — list all reports, then run any by ID. Returns full row data.
Is this safe to use?
All queries are read-only and respect your Salesforce permissions. The SOQL tool only reads data — it cannot modify records.
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 →
Glow Loyalty
12 toolsManage loyalty members, track point balances, and oversee rewards via AI agents with Glow Loyalty.

ClickBid
10 toolsManage auction events, bidders, items, and donations directly via AI.

Cardly
9 toolsSend physical greeting cards via Cardly — automate personalized card sends, track orders, and manage contacts directly from any AI agent.

FNS SNAP Retailer Locator (USDA)
2 toolsLocate SNAP-authorized retailers across the US using USDA public data. Filter by location, store name, or coordinates.
