directify-mcp 1.1.0 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -187,6 +187,17 @@ Ask Claude: *"List my Directify directories"* - or find it in the URL when viewi
187
187
  | `delete_article` | Delete an article |
188
188
  | `toggle_article` | Toggle active/inactive status |
189
189
 
190
+ ### Custom Pages
191
+
192
+ | Tool | Description |
193
+ |------|-------------|
194
+ | `list_pages` | List all custom pages |
195
+ | `get_page` | Get page details |
196
+ | `create_page` | Create a custom page (markdown content, placement, SEO) |
197
+ | `update_page` | Update a page |
198
+ | `delete_page` | Delete a page |
199
+ | `toggle_page` | Toggle published/unpublished status |
200
+
190
201
  ## Example Conversations
191
202
 
192
203
  ### Create a listing
@@ -213,6 +224,18 @@ Claude will use `create_article` with markdown content.
213
224
 
214
225
  Claude will use `list_listings`, then `update_listing` for each one.
215
226
 
227
+ ### Create programmatic SEO pages
228
+
229
+ > **You:** Create comparison pages for "NYC vs Chicago pizza", "NYC vs LA tacos", and "NYC vs Boston seafood" with SEO titles and descriptions.
230
+
231
+ Claude will use `create_page` for each with markdown content, `unlisted` placement, and SEO metadata.
232
+
233
+ ### Manage custom pages
234
+
235
+ > **You:** Add an About Us page to the navbar and a Terms of Service page to the footer.
236
+
237
+ Claude will use `create_page` with `placement: "navbar"` and `placement: "footer"`.
238
+
216
239
  ## Rate Limits
217
240
 
218
241
  The Directify API allows **120 requests per minute** per directory. The MCP server handles rate limit errors gracefully and will inform the AI assistant to retry.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "directify-mcp",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "MCP server for Directify - manage your directory websites through AI assistants like Claude.",
5
5
  "main": "src/index.js",
6
6
  "bin": {
package/src/tools.js CHANGED
@@ -67,6 +67,7 @@ export const createCategory = {
67
67
  parent_id: { type: 'number', description: 'Parent category ID for nesting' },
68
68
  is_active: { type: 'boolean', description: 'Whether the category is active (default: true)' },
69
69
  order: { type: 'number', description: 'Sort order' },
70
+ head_html: { type: 'string', description: 'Custom HTML injected into the <head> of the category page (e.g. hreflang tags, schema markup)' },
70
71
  },
71
72
  required: ['title'],
72
73
  },
@@ -93,6 +94,7 @@ export const updateCategory = {
93
94
  parent_id: { type: 'number', description: 'Parent category ID' },
94
95
  is_active: { type: 'boolean', description: 'Active status' },
95
96
  order: { type: 'number', description: 'Sort order' },
97
+ head_html: { type: 'string', description: 'Custom HTML injected into the <head> of the category page (e.g. hreflang tags, schema markup)' },
96
98
  },
97
99
  required: ['category_id'],
98
100
  },