Quail CLI MCP server mode

Quail CLI MCP server mode

quail-cli•byquailyquaily

A command-line tool for Quail that can also run as an MCP server in SSE or stdio mode, exposing tools for searching, reading, and managing Quail channels and posts.

License: GNU Affero General Public License v3.0•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Runs an MCP server over SSE, listening on port 8083 with an SSE endpoint clients can connect to.
  • •Runs an MCP server in stdio mode by passing mcp as an argument to the quail-cli binary.
  • •Provides tools for login, search, channel and post retrieval, publishing, unpublishing, saving, and URL lookup.
  • •Lets an LLM call a series of quail-cli tools to answer questions about the user's Quail channels and posts.

BEST FOR

  • •Finding the URL of a post within one of your channels through an MCP client.
  • •Managing Quail posts, such as publishing, unpublishing, or saving, from an AI model.
  • •Searching Quail and retrieving channel posts and post content via MCP tools.

ABOUT QUAIL-CLI

Quail CLI MCP server mode is cataloged as an MCP server attributed to quailyquaily. A command-line tool for Quail that can also run as an MCP server in SSE or stdio mode, exposing tools for searching, reading, and managing Quail channels and posts. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: GNU Affero General Public License v3.0. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Quail CLI MCP server mode are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What do I need to do before using quail-cli as an MCP server?

You need to log in to quail-cli first by running the login command.

Is the MCP server feature stable?

It is marked as experimental.

上游原版 README

在 GitHub 查看同一版本原文

README.md · ba12c699b6c2 · 采集于 2026-11-13 14:04:34 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Quail CLI

quail-cli is a command-line interface for interacting with Quail, designed to simplify and automate operations such as user authentication, managing posts, and fetching user details.

Quail CLI interacts with the Quail API at https://api.quail.ink.

Install the latest release

macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/quailyquaily/quail-cli/master/scripts/install.sh | bash

Windows PowerShell:

irm https://raw.githubusercontent.com/quailyquaily/quail-cli/master/scripts/install.ps1 | iex

You can also check the latest release here, download the binary for your platform, extract it, and put it in your PATH.

Install manually

To manually install quail-cli, you can use the following command:

$ go install github.com/quailyquaily/quail-cli@latest

you need to have go installed to install quail-cli manually. Please refer to the official Go installation guide for more information.

Usage (command line)

After installation, you can start using quail-cli by calling the following command:

$ quail-cli [command]

Available Commands

  • help: Get help about any command.
  • init: Create a sample config file.
  • login: Authenticate with Quail using OAuth or an API key.
  • me: Retrieve current user information.
  • post: Create, update, delete, or retrieve posts.
  • reader: Read subscribed posts and comments.
  • comments: Manage comments on your lists.

Global Flags

  • --api-base string: Quail API base URL (default: https://api.quail.ink).
  • --auth-base string: Quail Auth base URL (default: https://quaily.com).
  • --config string: Path to the configuration file (default: $HOME/.config/quail-cli/config.yaml).
  • --json: Output JSON instead of human-readable text.
  • -h, --help: Display help information for the quail-cli.

Initialize Configuration

Create a sample config file:

$ quail-cli init

quail-cli init asks for an optional API key. Press Enter to leave it empty.

To pass the API key without a prompt:

$ quail-cli init --api-key QK-...

init does not overwrite an existing config file.

Authenticate with Quail

$ quail-cli login

This will initiate OAuth login to authenticate with Quail. Please follow the instructions to complete the authentication process.

  1. Visit the URL provided in the terminal.
  2. Authorize the application.
  3. Copy the code shown in the browser.
  4. Paste the code back into the terminal.

If a browser cannot be opened automatically, open the printed URL manually.

To use an API key instead of OAuth:

$ quail-cli login --api-key

You can also use QUAIL_API_KEY for scripts.

Retrieve Current User Information

$ quail-cli me

Get the details of the currently authenticated user.

Post Operations

Upsert a Post

$ quail-cli post upsert your_markdown_file.md -l your_list_slug

in which,

  • your_markdown_file.md is the path to the markdown file.
  • your_list_slug is the slug of the list where the post will be created or updated. For example, if the list URL is https://quaily.com/my_list, then your_list_slug is my_list.

quail-cli will read the frontmatter from the markdown file to create or update a post. If the post does not exist, it will be created. If it exists, it will be updated.

Here is an example of a markdown file:

---
title: "Here is the title"
slug: your-post-slug
datetime: 2024-09-30 18:42
summary: "This is a summary of the post."
tags: tag1, tag2, tag3
cover_image_url: "your-image-url.jpg"
---

> Any sufficiently advanced technology is indistinguishable from magic.
>
> -- Arthur C. Clarke

This is the body of the post.

    int main() {
        printf("Hello, World!");
        return 0;
    }

## Section Title

This is the last section of the post.

Publish/Unpublish/Deliver/Delete a Post

$ quail-cli post publish -l your_list_slug -p your_post_slug
$ quail-cli post unpublish -l your_list_slug -p your_post_slug
$ quail-cli post deliver -l your_list_slug -p your_post_slug
$ quail-cli post delete -l your_list_slug -p your_post_slug

Reader Operations

$ quail-cli reader subscriptions
$ quail-cli reader posts --limit 20 --offset 0
$ quail-cli reader read https://quaily.com/list-slug/post-slug
$ quail-cli reader comments --post 123
$ quail-cli reader comment --post 123 --content "Thanks for the post."

Comment Management

$ quail-cli comments latest --limit 50
$ quail-cli comments list --list your_list_slug --limit 20 --offset 0
$ quail-cli comments approve 123
$ quail-cli comments reject 123
$ quail-cli comments spam 123
$ quail-cli comments delete 123

Usage (MCP server)

[!WARNING] This feature is experimental.

MCP(Model Context Protocol) is a protocol for interacting with AI models (like Claude, GPT, etc.). quail-cli can be used as a MCP server.

Before that, you need to login to quail-cli by running the following command:

$ quail-cli login

SSE mode

Run the following command to start the MCP server in SSE mode.

$ quail-cli mcp --sse

The server will start a HTTP server and listen on port 8083. You can use any MCP client to connect to this server by providing the URL http://localhost:8083/sse.

Stdio mode

Before configuring the quail-cli as a MCP server in stdio mode, you need to install quail-cli. And then, find the path of the quail-cli binary and pass mcp as the argument to the quail-cli.

/your_install_path/quail-cli mcp

Interact with quail-cli via MCP client

Here is an example prompt:

what's the url of the 1th post of my first channel?

The LLM will call a series of tools from quail-cli to get the answer.

Supported tools

  • quaily_login: login to quaily.com.
  • quaily_search: search quaily.com for a given query.
  • quaily_get_my_channels: get all quaily channels of the current user.
  • quaily_get_channel_posts: get posts of a specific quaily channel.
  • quaily_get_post_content: get the content of a post.
  • quaily_get_post: get a post.
  • quaily_publish_post: publish a post.
  • quaily_unpublish_post: unpublish a post.
  • quaily_save_post: save a post.
  • quaily_get_url: get the url of a post or a channel.

Configuration

By default, quail-cli reads from $HOME/.config/quail-cli/config.yaml. Create a sample file with quail-cli init, or let quail-cli login create it during the first login.

You can specify a different configuration file by using the --config flag.

$ quail-cli --config ./config.yaml init

Configuration File Example

# quail-cli stores API key and OAuth tokens in app.
app:
  api_key: ""
  access_token: ""
  expiry: ""
  refresh_token: ""
  token_type: ""
  user:
    id: 1
    name: "your_name"
    bio: "your_bio"

post:
  # Map your Markdown frontmatter keys to Quaily post fields.
  # In this example, "featureImage" in frontmatter maps to "cover_image_url".
  frontmatter_mapping:
    cover_image_url: featureImage

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

License

This project is licensed under the GNU Affero General Public License v3.0.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Quail CLI MCP server mode from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/quail-cli)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops