salesforce-mcp-lib / setup / openai-agents
Setup guide

Set up salesforce-mcp-lib in OpenAI Agents SDK

communitystdioneeds cautionno verified config · noindex

Salesforce MCP Library is a local stdio bridge for Salesforce MCP endpoints using OAuth client credentials, featuring a reusable Apex MCP library and JSON-RPC 2.0 core.


01Configuration
# salesforce-mcp-lib via OpenAI Agents SDK # transport: stdio # launch: npx -y salesforce-mcp-lib

OpenAI Agents SDK connects to MCP servers in code. Use its MCP client with the command/URL below; exact API varies by version.


02Steps
  1. Make sure OpenAI Agents SDK is installed and up to date.
  2. Wire the server into OpenAI Agents SDK using its MCP client API.
  3. Provide any required API keys/credentials as environment variables.
  4. Restart OpenAI Agents SDK and confirm salesforce-mcp-lib’s tools appear.

03Other runtimes

04Provenance
config_sourcegenerated from captured install method
last_checked2026-07-16 08:10Z
sourcesGitHub repo search [p4]

Next step

Want agents that act within guardrails? Apex is the live governed-agent product — paced, capped, and fully-logged actions with approvals before anything runs.

Explore Apex →

See also: server page · is it safe? · alternatives

Set up salesforce-mcp-lib MCP in OpenAI Agents SDK — MCPExplorer