BFCM Alert! Drop 1 just landed. See what’s new. Drop 2 lands in 00d 00h 00m Explore Drop 1 →
Skip to content
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Hire Us
Sign In Try For Free
  • Why Directorist
    Explore
    All Features Everything the plugin can do Solutions Directories you can build Integrations Plugins that work with Directorist Try Demo Click through real demo directories
    See the proof
    Comparison How we stack up against others Client Showcase Real sites built with Directorist
    Directorist AI
    Build your directory with AI

    Describe the directory you want and let AI build it for you.

    Try Directorist AI
  • Products
    Extensions

    Add powerful features

    Themes

    Ready-to-launch designs

    Templates

    Build pages faster

    Mobile App

    Native app for your directory

  • Resources
    Get help
    Documentation Product guides and how-tos Support Centre Get help from our team Contact Us Sales and general questions
    Learn
    Directorist Academy Courses on directory building Blog Tips, trends and growth ideas What's New Latest releases and fixes
    Company
    About Us Roadmap
    Hire us
    Custom Work, Handled

    Need a new build, custom feature, integration, fix, or ongoing maintenance? Tell us.

    See How It Works View Our Work
  • Pricing
  • Hire Us
Sign In Get Directorist

Directorist Core

  • Directorist MCP
    • Getting Started with Directorist MCP
  • Directorist Settings
    • Directorist Settings Panel (General)
    • Directorist Settings Panel (Search)
    • Directorist Settings Panel (Users & Accounts)
    • Directorist Settings Panel (Monetization)
    • Directorist Settings Panel (Notifications)
    • Directorist Settings Panel (Site & pages)
    • Directorist Settings Panel (Extensions)
    • Directorist Settings Panel (Appearance)
    • Directorist Settings Panel (Import / Export)
  • Listings Management
    • Listing Rejection Flow
    • Adding a Listing
    • General Listing Settings
    • Guest Listing Submission
    • All Listing Settings
    • Single Listing Settings
    • Category & Location
    • Map Setting
    • Badges Setting
    • Review Setting
  • Directory Builder
    • Overview
    • Multiple Directories
    • Create with AI
    • General tab
    • Add Listing Form
    • Conditional Logic
    • Single Page Layout
    • FormGent Integration
    • All Listing Layout
    • Search Form
  • Monetization
    • Monetization Overview
    • Configurations
    • Managing Orders
  • Search and Filter Settings
    • Nearby Sort
    • Search Page
    • Advanced Filter Widget
    • Search Result Page
    • Advanced Search and Filter
  • Customization
    • Customize Appearance
    • Email Customization
    • Registration and Login
    • Author Page
  • Advanced Settings
    • Maintenance
    • Schema Markup
    • Search Engine Optimization (SEO)
  • Shortcodes Library
    • Using Shortcodes in WordPress
    • Directorist Shortcodes
    • Add Listing Form
    • All Listings Page
    • Single Category Page
    • Single Location Page
    • Tags Page
    • All Locations Page
    • Search Listings
    • Payment & Checkout Page
    • All Categories Page
    • Search Results
    • Login and Registration
    • User Dashboard
    • Author Profile
    • Search Results
  • Getting Started
    • Plugin Dashboard
    • Getting Started
    • Installation & Activation
    • Directorist Setup Wizard
    • Directorist Membership (Themes & Extensions)
    • Setting Up the Required Pages
    • Managing Categories
    • Managing Location
    • Manage Tags
    • Terms and Conditions Setup
    • Import and Export

Directorist AI

  • Getting started and settings
  • Connections and credits
  • Create and improve directories
  • Generate and edit listings
  • Import listings with AI
  • Generate and style page layouts
  • Gutenberg, Elementor and Divi
  • Visitor chatbot
  • Chat appearance
  • Listings for AI
  • Limits, data and troubleshooting

Extensions

  • Directorist Events
  • Installation
  • Activate/Renew License
  • Directorist Pay Per Lead
  • Directorist Gutenberg Integration
  • M-Pesa Payment Gateway
  • Paystack Payment Gateway
  • Mark as Sold
  • Directorist Ads Manager
  • Setting Up Directorist Live Chat
  • Directorist Coupons
  • Directorist – BuddyPress Integration
  • Setting Up Directory Linking
  • Job Manager
  • AddonsKit for Bricks
  • Mailchimp Integration
  • Directorist Announcement
  • Directorist Notifications Pro
  • Directorist Analytics
  • Directorist AI Search
  • Multi Directory Linking
  • Listing Importer
  • WooCommerce Pricing Plans
  • Business Hours
  • Universal Search
  • Search Alert
  • Advanced Review
  • PayPal Payment Gateway
  • Stripe Payment Gateway
  • Authorize.net Payment Gateway
  • Listings Slider & Carousel Listing
  • WPML – Translation Guide
  • Listings with Map
  • Digital Marketplace
  • Job Manager
  • Claim Listing
  • Coupon
  • Image Gallery
  • Listing FAQs
  • Compare Listings
  • Directorist Mobile App 2.0
  • Booking
    • Installation & Configuration
    • Google Calendar Integration
    • Service Booking
    • Rental System
    • Event Booking
  • Pricing Plans
    • Directorist Pricing Plans Shortcode Guide
    • Migration Guide
    • Plan Creation and Full Workflow
    • Multiple Pricing Plans: Setup & How It Works
  • Divi Integration
    • Designing Single Listing Page with Divi
    • Designing All Listing Page with Divi
    • Getting Started with Divi Integration Extension
  • Elementor Integration
    • Getting Started with Directorist Elementor Integration

Themes

  • dCarList 
  • dTour Theme
  • Importing dTour Templates
  • Getting Started with Theme
  • Quick Installation & Demo Import
  • Full Theme Setup & Customization

Tutorials

  • How to Build and Grow an Investors Directory
  • How to Make Money from Your Business Directory
  • How to Use Data to Build a Smarter and More Profitable Directory 
  • How to Build a Free University Directory
  • How to Translate Your Directory Theme and Plugin with Poedit
  • How to Create a Medical Directory Website
  • How to Make Your Directorist Website Multilingual

Developers Doc

  • Template Override
  • Action Hooks
  • Filter Hooks
  • API Reference
View Categories
  • Home
  • Docs
  • Directorist Core
  • Directorist MCP
  • Getting Started with Directorist MCP

Getting Started with Directorist MCP

Directorist MCP lets you connect an AI assistant to your directory and manage supported tasks through conversation. You can ask the assistant to configure a directory, update listings, organise categories, review orders, or explain your dashboard activity.

MCP stands for Model Context Protocol. Your AI client interprets your request, and Directorist checks the connected WordPress account’s permissions before reading or changing data.

This guide covers enabling MCP, connecting a client, checking the connection, and using the available tools.

Before you start #

Make sure the following are in place:

RequirementDetails
DirectoristActive, with the MCP feature available. This guide follows the inline Set up a connection interface shown in the updated MCP settings.
WordPressVersion 6.9 or later, with the WordPress Abilities API available.
MCP AdapterWordPress MCP Adapter 0.6.1 or later, installed and active. If required, use the installation or activation option offered during MCP setup.
Administrator accessRequired to enable MCP and open its connection settings. Plugin installation or activation also requires the relevant WordPress permissions.
HTTPSA trusted HTTPS connection for the website.
Application passwordsAvailable for the WordPress account that will connect.
AI clientSupports HTTP MCP connections with a custom Authorization header, or a compatible local bridge.

The Set up a connection section provides options for Claude Code, Claude Desktop, Cursor, Codex, and Other. The supplied setup requires a client that supports the provided configuration; clients that accept only OAuth connections are not supported by this setup.

Step 1 Open MCP settings #

Path: WP Admin → Directorist → Settings → Other Features → MCP

Find MCP for AI Agents.

If the page shows Setup required, resolve the dependency message first:

Click Install & Activate MCP Adapter if the adapter is not installed.

Click Activate MCP Adapter if it is installed but inactive.

If the active adapter is incompatible, update it from WordPress Plugins, then follow the setup check shown on the MCP settings page.

If the installation or activation button is unavailable, ask an administrator with the required plugin permissions to complete that step.

Step 2 Enable Directorist MCP #

Turn on the switch beside MCP for AI Agents.

Wait for the saving indicator to finish.

Locate the inline Set up a connection section below the switch. When expanded, the control beside the switch reads Hide setup.

This switch saves immediately. You do not need a separate Save changes action for the MCP switch.

Enabling MCP makes the server available for authorised connections. Continue below to connect your AI client.

Step 3 Choose your AI app #

In Set up a connection, follow the numbered setup sections on the MCP settings page.

Under Choose your AI app, you can select Claude Code, Claude Desktop, Cursor, Codex, or Other. For the Codex walkthrough below, select Codex.

The connection instructions change to match your selected app. The available tool count can vary by account, permissions, dependencies, and active integrations.

Step 4 Create an application password #

  1. Under Add your WordPress credentials, check the account shown beside Connecting as. Select Use a different account if you need to connect with another WordPress account.
  2. Click Create one to open the application-password section of your WordPress profile.
  3. Give the connection a name you will recognise, such as “Directory assistant,” and generate an application password.
  4. Copy the generated application password. This is different from your WordPress login password.
  5. Return from your WordPress profile to Directorist → Settings → Other Features → MCP.
  6. Paste the copied password into Application password. The connection configuration below is prepared for the selected AI app.

Use an application password belonging to the account whose permissions you want the assistant to have. For a listing owner, use that owner’s account; for directory administration, use an account with the required administration capabilities.

Step 5 Configure your AI client #

Use the instructions under the third setup section, which is labelled for your selected AI app. Copy the configuration with the copy icon beside it.

Entering the application password prepares a ready-to-use configuration. A template with placeholders is not ready to authenticate until you supply your own account credentials. For clients that require separate fields, expand Advanced connection details to find Endpoint URL, Header Key, and Header Value.

Client optionHow to use the generated configuration
Claude CodeUse the generated HTTP connection command in the client terminal.
Claude DesktopAdd the generated local bridge configuration. Node.js is required for this path; restart the client after saving its configuration.
CursorAdd the generated entry to the client’s MCP server configuration.
CodexFollow the Codex desktop walkthrough below to add a Streamable HTTP server with the endpoint URL and Authorization header.
OtherUse the HTTP configuration in a client that supports the required custom header, or a compatible bridge.

Connect using Codex desktop #

Follow these steps in Codex desktop:

  1. Open Settings → Plugins and select MCPs.
  2. Click Add, then choose Add MCP server.
  3. In Connect to a custom MCP, enter a name such as Outfield MCP.
  4. Select Streamable HTTP as the Type.
  5. In Directorist, expand Advanced connection details and copy Endpoint URL. Paste it into Codex’s URL field.
  6. Under Headers, enter Authorization as the key, matching the Directorist’s Header Key.
  7. Copy Directorist’s complete Header Value into the header value field. Include Basic, the following space, and all of the encoded text. Use the value generated after entering your application password; do not copy a placeholder.
  8. Leave Bearer token env var empty.
  9. Save the connection and restart Codex if prompted. Open a new conversation, then continue to Step 6 to verify the connected account and tools.

The endpoint shown by your own site accounts for your WordPress URL configuration. With a standard REST URL, it looks like https://your-site.example/wp-json/directorist/mcp.

Keep the complete Header Value private. Do not include a real credential in a public guide, screenshot, or video.

Follow your client’s supported workflow to save and activate the connection. Depending on the client, you may need to reload or restart it before the tools appear.

A filled configuration or Header Value contains an encoded credential. Keep it and the application password private, and mask them in screenshots or recordings. Collapsing the setup section does not remove a configuration already saved in your AI client. To disconnect that client, remove its saved connection or revoke its application password as described below.

Step 6 Verify the connection #

The MCP settings page also includes an expandable Test your connection section. To verify access from your AI client before making changes, ask your assistant:

Check my Directorist connection and show the connected account and available tools.

The assistant should initialise the connection, discover the tools, and call directorist-get-context. Its response identifies the connected account and available Directorist tools.

Check that the account is the one you intended to connect. Then try a read-only request, such as:

List the directories I can manage.

An administrator should receive the directory list. An account without directory-administration permission may not have that tool; a listing owner can instead ask to see the listings they are permitted to manage.

What you can do after connecting

The assistant can combine supported tools to carry out a task. For example:

TaskExample request
Set up a directory“Create a restaurant directory with submission fields, a single listing layout, listing cards, and search filters.”
Maintain listings“Update this listing’s description using the details I provide.”
Organise the catalogue“Create the approved cuisine categories and assign these listings to them.”
Prepare several updates“Preview changes to the phone numbers for these ten listings.”
Work with images“Attach these authorised images to their matching listings and include the source credits.”
Change supported settings“Enable guest listing submission.”
Review purchases“Show orders from the past six months, with their values, customer IDs, and statuses.”
Review directory activity“Show published and pending listings, upcoming expiries, and available order summaries.”
Prepare diagnostics“Generate a Directorist support report with WordPress, runtime, and MCP information.”

Tool availability follows the account’s WordPress permissions and the site’s configuration. Directory builders and site-wide settings require administration access. Listing owners can work with their permitted records. Customers can inspect their own orders and cancel an eligible pending purchase.

Guest submissions remain a website submission setting. An MCP connection still requires an authenticated account with appropriate access.

Disconnecting a client

To disconnect one client, open your WordPress profile and revoke the application password you created for that connection. The client will need a valid credential before it can authenticate again.

To stop Directorist MCP access site-wide:

Go to Directorist → Settings → Other Features → MCP.

Turn off MCP for AI Agents.

Wait for the change to finish saving and confirm that the MCP for AI Agents switch remains off.

Disabling MCP stops the Directorist tools. It does not revoke application passwords that may also be usable with other WordPress APIs.

What are your Feelings

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Still stuck? How can we help?

How can we help?

Updated on Nov 5, 2026 11:52 am
Getting Started with Directorist MCPGetting Started with Directorist MCP
Table of Contents
  • Before you start
  • Step 1 Open MCP settings
  • Step 2 Enable Directorist MCP
  • Step 3 Choose your AI app
  • Step 4 Create an application password
  • Step 5 Configure your AI client
    • Connect using Codex desktop
  • Step 6 Verify the connection
Directorist Directorist

Product

  • Features
  • Solutions
  • Extensions
  • Integrations
  • Mobile App
  • Roadmap

Popular

  • OneListing (Free)
  • dClassified
  • dRestaurant
  • dRealestate
  • All Themes
  • Templates

Services

  • Done For You
  • Custom Development
  • Portfolio
  • Contact Sales

Resources

  • Documentation
  • Blog
  • Directorist Academy
  • Directory Ideas
  • What's New

Quick Links

  • About Us
  • Client Showcase
  • Support Policy
  • Refund Policy
  • Affiliate Program

Keep Updated

Subscribe to our email newsletter to receive updates.

Subscribe to our newsletter
© Directorist 2026 A product of
Also by wpWax FormGent HelpGent
  • Privacy Policy
  • Terms & Conditions
We use cookies to ensure the best browsing experience.