Liferay Legacy MCP docs

Home/Marketplace Apps/Liferay Legacy MCP/Using the Server

What to Ask

Start with what you’d ask a colleague who knows your Liferay. Name the site, unless it’s the server’s default site.

  1. Find Content
  2. Review and Improve Content
  3. Make Changes
  4. Review Workflows
  5. Beyond the Dedicated Tools
  6. Related Information

Find Content

  • “Find articles in my-site that haven’t been modified in the last six months.”
  • “Which articles mention our 2024 pricing?”
  • “List the documents in my-site’s Brochures folder, with their download links.”
  • “What pages does my-site have, and what are their addresses?”

Review and Improve Content

  • “Read the article Product Launch and suggest a shorter summary.”
  • “Which articles still have TODO in them?”
  • “Translate the article Customer Support Hours into Japanese.”

Make Changes

With writes turned on, each of these shows a preview first:

  • “Create a draft article in my-site titled Q4 Webinar, announcing the webinar on 12 December.”
  • “Update the article 2024 Pricing: change 2024 to 2025 in its title.”
  • “Add the tag pricing to every article about plans.”
  • “Create a category Products with the subcategories Portal and Commerce.”
  • “Add a navigation menu item for the About page.”

Review Workflows

On sites with a review workflow:

  • “What’s waiting for my review?”
  • “Approve the Q4 Webinar article, with the comment Looks good.”

Beyond the Dedicated Tools

The assistant can also use any of Liferay’s Headless REST APIs, and its JSON web services, through generic tools. Ask for what you need, for example “How many users are in the Marketing user group?” or “List the objects defined in this Liferay.” It looks up the right API first.