AI Skills & Help

The MCP server provides tools for accessing Priority ERP’s built-in help system and AI skill definitions.

Help Text

Use the help tool to retrieve authoritative help text for any Priority ERP entity – forms, procedures, or reports. This is the same help content available within the Priority UI.

Get help for a form:

{
  "company_name": "mycompany",
  "name": "ORDERS",
  "entity_type": "F"
}

Get help for a specific field on a form:

{
  "company_name": "mycompany",
  "name": "ORDERS",
  "entity_type": "F",
  "field_name": "ORDSTATUSDES"
}

Get help for a procedure:

{
  "company_name": "mycompany",
  "name": "WWWSHOWORDER",
  "entity_type": "P"
}

Entity types:

Value Meaning
F Form
P Procedure
R Report

AI Skills

AI Skills are instruction sets defined within Priority ERP that guide AI agents in performing specific tasks. They contain structured guidance for how to interact with Priority forms, procedures, and data for particular business scenarios.

Skills are authored within Priority ERP and can be synchronized across environments.

Listing Skills

Use skill_list to discover available skills:

{
  "company_name": "mycompany"
}

The response includes:

  • skill_code – Unique identifier used to fetch the full content
  • skill_description – Brief summary of what the skill covers
  • from_sync – Whether the skill was synchronized from another environment

Fetching Skill Content

Use skill_fetch with a skill code to get the full instructions:

{
  "company_name": "mycompany",
  "skill_code": "OPEN_SERVICE_CALL"
}

The response contains the complete skill_content – the detailed instructions that an AI agent can follow to perform the described task in Priority ERP.

Typical workflow:

  1. Call skill_list to see what skills are available
  2. Identify the relevant skill by its description
  3. Call skill_fetch with the skill_code to load the full instructions
  4. Follow the skill’s guidance when performing the task