agentsclimarketplace

Mcp tool builder

Skill divingsbysangam/salesforce-compound-engineering-plugin/skills/mcp-tool-builder

Building custom MCP server tools — Apex InvocableMethod, Flow tools, prompt templates (with real-world gotchas), dual architecture patterns, and testingFrom its SKILL.md

Install
npx -y skills add divingsbysangam/salesforce-compound-engineering-plugin --skill mcp-tool-builder

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.3 KB, as published. Nobody here has run it

MCP Tool Builder

SCOPE: HOSTED_MCP - This skill applies to building custom tools for Salesforce Hosted MCP Servers. Use when: Creating Apex @InvocableMethod actions, Flow-based tools, Named Query APIs, or prompt templates for MCP exposure.


Custom MCP servers expose backend logic as tools that AI clients (Claude, ChatGPT, Cursor) can invoke.

CRITICAL WARNING: MCP and Agentforce use fundamentally different orchestration models. Code designed for Agentforce will break on MCP unless adapted. See "MCP vs Agentforce Architecture" section.


Required reads

Procedure lives in sibling files, not only in this orchestrator:

  • Tool Types — read references/tool-types.md before acting on this section.
  • Apex Invocable Action Tools — read references/apex-invocable-action-tools.md before acting on this section.
  • MCP vs Agentforce Architecture — read references/mcp-vs-agentforce-architecture.md before acting on this section.
  • Flow-Based MCP Tools — read references/flow-based-mcp-tools.md before acting on this section.
  • Named Query API Tools — read references/named-query-api-tools.md before acting on this section.
  • Prompt Templates for MCP — read references/prompt-templates-for-mcp.md before acting on this section.
  • Recommended Resolution — read references/recommended-resolution.md before acting on this section.
  • Similar Resolved Cases — read references/similar-resolved-cases.md before acting on this section.
  • Confidence: High — read references/confidence-high.md before acting on this section.
  • Retrieved Data (merge fields here) — read references/retrieved-data-merge-fields-here.md before acting on this section.
  • Your Task — read references/task.md before acting on this section.
  • Custom Server Registration — read references/custom-server-registration.md before acting on this section.
  • Testing MCP Tools — read references/testing-mcp-tools.md before acting on this section.
  • Tool Description Best Practices — read references/tool-description-best-practices.md before acting on this section.

Keep looking

Skills are one crate of 628,853. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.