Connecting AI Assistants & Complete 47-Tool MCP Reference
Daypress compiles a full JSON-RPC 2.0 Model Context Protocol (MCP) server directly into the binary—exposing 47 strongly-typed tools so AI coding assistants can inspect, design, audit, and deploy websites without brittle screen-scraping.
Connecting via Local Stdio (--mcp-stdio) or HTTP (POST /mcp)
# Transport A: Local Stdio MCP (same machine — zero network port or password needed)
claude mcp add daypress -- /path/to/daypress --mcp-stdio --db /path/to/data/daypress.sqlite
# Cursor / Claude Desktop / Antigravity JSON config:
{
"mcpServers": {
"daypress": {
"command": "/absolute/path/to/daypress",
"args": ["--mcp-stdio", "--db", "/absolute/path/to/data/daypress.sqlite"]
}
}
}
# Transport B: Remote HTTPS MCP (POST /mcp with a revocable Application Password)
curl -X POST https://example.com/mcp \
-u "admin:abcd efgh ijkl mnop" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'Security Isolation on POST /mcp: HTTP
POST /mcp intentionally rejects primary login passwords with 403 Forbidden. Click ⚡ Generate AI Agent Key & Config in /d-admin/getting-started to mint a scoped, revocable Application Password.
Dashboard -> Get Started (/d-admin/getting-started) generates an Application Password and client snippets in one click.
Recommended 6-step AI website-building recipe
- Inspect current state: Call
daypress_get_settingsanddaypress_list_posts(post_type: "any"). - Set brand identity & tokens: Update
blogname/blogdescriptionviadaypress_update_optionand dual-palette colors/fonts viadaypress_update_global_styles. - Build site chrome: Pass semantic
<header>and<footer>HTML todaypress_import_html_design(extract_header_footer: true) or save templates withdaypress_save_template. - Design pages in native AST: Import responsive HTML5 pages via
daypress_import_html_design(set_as_front_page: trueon Home) and refine widgets viadaypress_update_post_layout. - Provision structured CPTs & forms: Add directories with
daypress_provision_cpt_presetand lead forms withdaypress_create_form. - Register Media Library assets, audit & publish: Upload all images to
/uploads/...viadaypress_import_wp_bundle, verify100/100Light + Dark scores withdaypress_audit_post, and deploy viadaypress_publish_site.
Complete catalog of all 47 built-in MCP tools
| Category | Count | Tool Names |
|---|---|---|
Posts & Taxonomies | 6 | daypress_list_posts, daypress_get_post, daypress_create_post, daypress_update_post, daypress_duplicate_post, daypress_list_terms |
DayStudio & Themes | 6 | daypress_import_html_design, daypress_get_post_layout, daypress_update_post_layout, daypress_update_global_styles, daypress_list_templates, daypress_save_template |
Site Settings | 2 | daypress_get_settings, daypress_update_option |
CPTs & ACF Fields | 5 | daypress_provision_cpt_preset, daypress_list_post_types, daypress_save_post_type, daypress_list_field_groups, daypress_save_field_group |
Forms & Analytics | 7 | daypress_list_forms, daypress_get_form, daypress_create_form, daypress_update_form, daypress_list_form_submissions, daypress_get_analytics, daypress_get_web_vitals |
Growth & Wasm | 6 | daypress_list_subscribers, daypress_create_newsletter_campaign, daypress_manage_shortlinks, daypress_manage_webhooks, daypress_manage_ab_tests, daypress_manage_wasm_extensions |
Search & WCAG Audit | 2 | daypress_search, daypress_audit_post |
i18n & Editorial | 5 | daypress_list_languages, daypress_link_translations, daypress_create_preview_link, daypress_schedule_revision, daypress_diff_revisions |
1.0 Audit & Perf | 2 | daypress_security_audit, daypress_run_benchmark |
Media, WP & Deploy | 6 | daypress_list_media_folders, daypress_scan_unused_media, daypress_get_storage_s3_status, daypress_import_wp_bundle, daypress_get_publish_status, daypress_publish_site |