Files
Corey Haines edcc34aa6d feat: add marketing tools registry for agent discovery
Create centralized tools/ directory with REGISTRY.md index and 29
integration guides covering analytics, SEO, CRM, payments, referral,
email, ads, automation, and commerce platforms.

Each guide includes API endpoints, authentication, common operations,
and links to relevant skills. Updated AGENTS.md and key skills
(referral-program, analytics-tracking, email-sequence, paid-ads)
with tool integration references.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-26 18:33:51 -08:00

176 lines
3.1 KiB
Markdown

# WordPress
Content management system for blogs and websites.
## Capabilities
| Integration | Available | Notes |
|-------------|-----------|-------|
| API | ✓ | REST API (WP REST API) |
| MCP | - | Not available |
| CLI | ✓ | WP-CLI for server-side management |
| SDK | ✓ | Various client libraries |
## Authentication
- **Type**: Application Password, JWT, or OAuth
- **Header**: `Authorization: Basic {base64(username:app_password)}`
- **Setup**: Users > Your Profile > Application Passwords
## Common Agent Operations
### List posts
```bash
GET https://example.com/wp-json/wp/v2/posts?per_page=10
Authorization: Basic {base64(username:app_password)}
```
### Get post
```bash
GET https://example.com/wp-json/wp/v2/posts/{post_id}
Authorization: Basic {base64(username:app_password)}
```
### Create post
```bash
POST https://example.com/wp-json/wp/v2/posts
Authorization: Basic {base64(username:app_password)}
{
"title": "Post Title",
"content": "<p>Post content here</p>",
"status": "draft",
"categories": [1],
"tags": [5, 6]
}
```
### Update post
```bash
PUT https://example.com/wp-json/wp/v2/posts/{post_id}
Authorization: Basic {base64(username:app_password)}
{
"title": "Updated Title",
"status": "publish"
}
```
### List pages
```bash
GET https://example.com/wp-json/wp/v2/pages?per_page=20
Authorization: Basic {base64(username:app_password)}
```
### List categories
```bash
GET https://example.com/wp-json/wp/v2/categories
```
### Create category
```bash
POST https://example.com/wp-json/wp/v2/categories
{
"name": "Category Name",
"slug": "category-name"
}
```
### Upload media
```bash
POST https://example.com/wp-json/wp/v2/media
Authorization: Basic {base64(username:app_password)}
Content-Disposition: attachment; filename="image.jpg"
Content-Type: image/jpeg
[binary image data]
```
### List users
```bash
GET https://example.com/wp-json/wp/v2/users
Authorization: Basic {base64(username:app_password)}
```
## WP-CLI Commands
```bash
# List posts
wp post list --post_type=post --post_status=publish
# Create post
wp post create --post_title="Title" --post_content="Content" --post_status=publish
# Update post
wp post update 123 --post_title="New Title"
# Export database
wp db export backup.sql
# Search/replace in database
wp search-replace 'old-domain.com' 'new-domain.com'
# Install plugin
wp plugin install yoast-seo --activate
# Update plugins
wp plugin update --all
```
## Post Statuses
- `publish` - Live on site
- `draft` - Not published
- `pending` - Awaiting review
- `private` - Private post
- `future` - Scheduled
- `trash` - In trash
## Common Endpoints
| Endpoint | Resource |
|----------|----------|
| `/wp/v2/posts` | Blog posts |
| `/wp/v2/pages` | Pages |
| `/wp/v2/media` | Images/files |
| `/wp/v2/categories` | Categories |
| `/wp/v2/tags` | Tags |
| `/wp/v2/users` | Users |
| `/wp/v2/comments` | Comments |
## When to Use
- Blog content management
- Page updates
- Media management
- Site configuration
- Plugin/theme management
## Rate Limits
- No default limits
- Server/host dependent
## Relevant Skills
- content-strategy
- seo-audit
- programmatic-seo