Salesforce Admin & Metadata MCP Server for OpenAI Agents SDK 8 tools — connect in under 2 minutes
The OpenAI Agents SDK enables production-grade agent workflows in Python. Connect Salesforce Admin & Metadata through Vinkius and your agents gain typed, auto-discovered tools with built-in guardrails. no manual schema definitions required.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import asyncio
from agents import Agent, Runner
from agents.mcp import MCPServerStreamableHttp
async def main():
# Your Vinkius token. get it at cloud.vinkius.com
async with MCPServerStreamableHttp(
url="https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
) as mcp_server:
agent = Agent(
name="Salesforce Admin & Metadata Assistant",
instructions=(
"You help users interact with Salesforce Admin & Metadata. "
"You have access to 8 tools."
),
mcp_servers=[mcp_server],
)
result = await Runner.run(
agent, "List all available tools from Salesforce Admin & Metadata"
)
print(result.final_output)
asyncio.run(main())
* 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 Salesforce Admin & Metadata MCP Server
The Salesforce Admin toolkit for AI agents.
The OpenAI Agents SDK auto-discovers all 8 tools from Salesforce Admin & Metadata through native MCP integration. Build agents with built-in guardrails, tracing, and handoff patterns. chain multiple agents where one queries Salesforce Admin & Metadata, another analyzes results, and a third generates reports, all orchestrated through Vinkius.
What you can do
- Users — List and search active users with profiles and roles
- Objects — List all objects, describe schemas with field details
- Limits — Monitor API calls, storage, and rate limits
- Metadata — Search Apex classes, triggers, flows via Tooling API
- Apex — Execute anonymous Apex code
- Profiles — List security profiles
The Salesforce Admin & Metadata MCP Server exposes 8 tools through the Vinkius. Connect it to OpenAI Agents SDK 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 Salesforce Admin & Metadata to OpenAI Agents SDK via MCP
Follow these steps to integrate the Salesforce Admin & Metadata MCP Server with OpenAI Agents SDK.
Install the SDK
Run pip install openai-agents in your Python environment
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token from cloud.vinkius.com
Run the script
Save the code above and run it: python agent.py
Explore tools
The agent will automatically discover 8 tools from Salesforce Admin & Metadata
Why Use OpenAI Agents SDK with the Salesforce Admin & Metadata MCP Server
OpenAI Agents SDK provides unique advantages when paired with Salesforce Admin & Metadata through the Model Context Protocol.
Native MCP integration via `MCPServerSse`, pass the URL and the SDK auto-discovers all tools with full type safety
Built-in guardrails, tracing, and handoff patterns let you build production-grade agents without reinventing safety infrastructure
Lightweight and composable: chain multiple agents and MCP servers in a single pipeline with minimal boilerplate
First-party OpenAI support ensures optimal compatibility with GPT models for tool calling and structured output
Salesforce Admin & Metadata + OpenAI Agents SDK Use Cases
Practical scenarios where OpenAI Agents SDK combined with the Salesforce Admin & Metadata MCP Server delivers measurable value.
Automated workflows: build agents that query Salesforce Admin & Metadata, process the data, and trigger follow-up actions autonomously
Multi-agent orchestration: create specialist agents. one queries Salesforce Admin & Metadata, another analyzes results, a third generates reports
Data enrichment pipelines: stream data through Salesforce Admin & Metadata tools and transform it with OpenAI models in a single async loop
Customer support bots: agents query Salesforce Admin & Metadata to resolve tickets, look up records, and update statuses without human intervention
Salesforce Admin & Metadata MCP Tools for OpenAI Agents SDK (8)
These 8 tools become available when you connect Salesforce Admin & Metadata to OpenAI Agents SDK via MCP:
sf_describe_object
Returns every field with: API name, label, data type (string/number/date/reference/picklist/boolean), whether required or nullable, max length, reference target objects (for lookups), and picklist values (for picklist fields). Essential for understanding the data model before creating or querying records. Use when the user asks "what fields does Account have?" or needs to know valid picklist values. Describe the full schema of a Salesforce object — all fields, data types, relationships, picklist values, and validation rules
sf_execute_apex
Returns compilation success/failure, execution result, and debug logs. Use for admin tasks (data cleanup, batch operations), testing hypotheses, or running one-off scripts. CAUTION: this executes real code on the org — can modify data. Example: System.debug('Hello World'); Execute anonymous Apex code on the Salesforce org for admin tasks, data fixes, testing, or one-off operations
sf_list_objects
Returns all objects with their API name, label, whether they are queryable, createable, and custom. Includes standard objects (Account, Contact, Lead, Opportunity, Case), custom objects (ending in __c), and managed package objects. Essential for data model discovery: "what objects are available?", "do we have a custom invoices object?" List all queryable and createable objects in the Salesforce org — standard, custom, and managed package objects
sf_list_profiles
Returns profile name, description, user type, and license type. Profiles control what users can see and do in Salesforce — they define object permissions, field-level security, and page layouts. Use when the user asks about permissions, needs to audit access levels, or wants to understand the security model. List Salesforce profiles (permission sets) with name, description, and user type for access control auditing
sf_list_users
Returns user name, email, profile name, role name, user type (Standard/Chatter/etc.), and last login date. Use when the user asks about team members, needs user IDs for record assignment, wants to audit active accounts, or check last login dates for license management. List active Salesforce users with their profile, role, email, user type, and last login date for team management
sf_org_limits
Returns current usage vs. maximum for: daily API calls, data storage, file storage, SOQL queries, DML operations, email invocations, and more. Flags any limits below 10% remaining. Use for capacity monitoring, API governance, or when the user asks about org health and limit consumption. Get API and storage usage limits for the Salesforce org — current consumption vs. maximum for API calls, storage, and more
sf_search_metadata
Supported objects: ApexClass, ApexTrigger, CustomField, ValidationRule, Flow, FlowDefinition, CustomObject, etc. Example: SELECT Id, Name, Body FROM ApexClass WHERE Name LIKE '%Account%'. Use when the user asks about code, automations, custom fields, or configuration metadata in the org. Search Salesforce metadata via the Tooling API — find Apex classes, triggers, custom fields, validation rules, flows, and more
sf_search_users
Returns user name, email, username, profile, role, and login info. Use to find a specific person in the org, look up who owns a record, or get user IDs for API operations. Search Salesforce users by name, email, or username to find specific team members or administrators
Example Prompts for Salesforce Admin & Metadata in OpenAI Agents SDK
Ready-to-use prompts you can give your OpenAI Agents SDK agent to start working with Salesforce Admin & Metadata immediately.
"Describe the Opportunity object schema"
"Check our API limits"
"List all Apex classes containing Account"
Troubleshooting Salesforce Admin & Metadata MCP Server with OpenAI Agents SDK
Common issues when connecting Salesforce Admin & Metadata to OpenAI Agents SDK through the Vinkius, and how to resolve them.
MCPServerStreamableHttp not found
pip install --upgrade openai-agentsAgent not calling tools
Salesforce Admin & Metadata + OpenAI Agents SDK FAQ
Common questions about integrating Salesforce Admin & Metadata MCP Server with OpenAI Agents SDK.
How does the OpenAI Agents SDK connect to MCP?
MCPServerSse(url=...) to create a server connection. The SDK auto-discovers all tools and makes them available to your agent with full type information.Can I use multiple MCP servers in one agent?
MCPServerSse instances to the agent constructor. The agent can use tools from all connected servers within a single run.Does the SDK support streaming responses?
Connect Salesforce Admin & Metadata with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect Salesforce Admin & Metadata to OpenAI Agents SDK
Get your token, paste the configuration, and start using 8 tools in under 2 minutes. No API key management needed.
