Live tools
20 tools

Blog Cms Rest MCP Server

Blog chia sẻ kiến thức, tin tức và đánh giá sản phẩm cập nhật mỗi ngày.

Host
viezai.com
Tools
20
Connection URL
https://viezai.com/api/mcp

Tools

  • get__health

    Health check. Returns server liveness, timestamp, and uptime. No auth required. Use to verify the API is reachable.

  • get__posts

    List PUBLISHED posts (public feed). Cursor-based pagination via `cursor`. Optional `q` for full-text search across title/content/tags. Use this for browsing live blog content — no auth required.

  • get__tags

    List all tags — Returns all topic tags with their PUBLISHED post counts. Variants with the same slug (different casing/diacritics) are merged. Cached server-side ~120s; CRUD on posts auto-invalidates.

  • get__tags_trending

    Trending tags — Top tags by post count within the last N days.

  • get__tags_by_slug

    Posts by tag — Cursor-paginated PUBLISHED posts for a single tag slug, plus tag metadata (canonical label and total count).

  • get__admin_posts

    ADMIN: list posts with filters. Supports pagination (page, limit), search (q), status (DRAFT/PUBLISHED/SCHEDULED), type (POST/REVIEW), authorId, and shortcut filter (ai/draft). Requires admin auth.

  • post__admin_posts

    ADMIN: create a new post. Required: authorId (User ObjectId) and content. Set status='PUBLISHED' to publish immediately, 'DRAFT' to save without publishing, 'SCHEDULED' with scheduledAt to schedule. Optional: title, slug, tags (max 6), mediaUrls (max 4), ogImageUrl (1200x630 hero variant for social cards — usually the `ogUrl` returned alongside the matching upload), productIds, ctaLabel, type (POST|REVIEW), aiGenerated, aiSourceUrls.

  • patch__admin_posts

    ADMIN: partially update a post. Body must include `id`. Send only the fields to change. Requires admin auth.

  • delete__admin_posts

    ADMIN: permanently delete a post by id (in body). Requires admin auth. This action is irreversible.

  • get__admin_posts_by_id

    ADMIN: fetch a single post by ObjectId, including drafts and scheduled posts. Requires admin auth.

  • get__admin_users

    ADMIN: list users with optional role filter (USER/AUTHOR/ADMIN), search (q), and pagination. Requires admin auth.

  • post__admin_users

    ADMIN: create a user. Required: email, displayName. Optional: username, image, bio, role (defaults USER). Returns 409 on duplicate email/username.

  • get__admin_users_by_id

    ADMIN: fetch a user by ObjectId.

  • patch__admin_users_by_id

    ADMIN: partially update a user. Send only fields to change.

  • delete__admin_users_by_id

    ADMIN: delete a user. Fails with 409 if the user still owns posts — reassign or delete those first.

  • get__admin_keys

    ADMIN: list active third-party API keys (provider, label, key preview).

  • post__admin_keys

    ADMIN: save/upsert a third-party API key. Required: provider (e.g. 'openai'), key. Optional: label.

  • delete__admin_keys_by_id

    ADMIN: deactivate (soft-delete) an API key by id.

  • get__admin_stats

    ADMIN: dashboard stats — totals for published posts, AI-generated posts, and users.

  • post__og-scrape

    Scrape OpenGraph metadata from a URL — Requires authenticated session. Returns og:title, og:description, og:image, etc.

Use in your AI tool

One-click into Claude, Cursor, VS Code, and more — connects straight to this server’s public endpoint.

Remote MCP URL
https://viezai.com/api/mcp