Newer Version Available
Step 3 [Optional]: Configure a Rule
To help the MCP server function optimally, you can create a rule that guides your AI
assistant, such as Agentforce Vibes or Cursor Agent, to call the Metadata API Context MCP tool. An
AI rule is a plain-text file like Markdown that provides specific instructions, context, or
constraints to your AI assistant.
Use this example rule to ensure that the Metadata API Context MCP tool is called to provide AI with additional context when generating metadata XML files. This helps ensure the structural integrity of the metadata XML files generated, and minimize errors during deployment.
For more details about configuring AI rules, see:
- Agentforce Vibes Extension: Agentforce Rules
- Cursor Docs: Rules