Feature preview

Feature Introduction

Why should high-risk operations be turned off by default when connecting the content system to external AI clients?

When integrating AnQiCMS through the built-in MCP service with external AI clients like Claude and Cursor, integration does not mean giving up full site control. The tool interface converges according to the intent directory, uses token-based authentication to confirm the identity of the caller, and uses round-level operation approval to merge write operations into a single action that can be confirmed; backup, upgrade, multi-site and other full-site high-risk areas are turned off by default and need to be explicitly enabled, reducing the interface surface that can be mistakenly called.

AI Integration MCP

Feature Introduction

When connecting the content system to an external AI client, the most common mistake is to: since it is supposed to help with backend operations, it is convenient to open up all capabilities. AnQiCMS takes the opposite approach - the built-in MCP service can be accessed by external clients such as Claude, Cursor, but access does not mean giving up full site control. The reason high-risk operations are turned off by default is to draw a clear line between 'letting AI help' and 'not letting it make irreversible actions on your behalf.'

What can external clients directly call?

The MCP service does not flatten all backend features to the client, but converges them according to the intent directory: capabilities are categorized into different intent domains, and what the client can see and call is the part currently exposed in this directory. The direct benefit of this approach is that the interface surface that can be mistakenly called is reduced - operations not listed in the current exposure range cannot be touched by the client, and there is no possibility of 'the model suddenly triggering a dangerous function'.

The object of convergence is the ability side, not a single call. It determines what types of actions the client can see, and then the identity and judgment of measure come into play.

Token authentication manages identity

The first layer is identity. MCP service uses Bearer token for authentication, first confirming 'who is the caller and whether they are qualified to connect in.' This step only answers the identity question: if the token matches, it is an acknowledged client; if it does not match, it is directly rejected.

But it must be clear that the token cannot control whether this call is dangerous. A valid token can also issue a dangerous request, and passing identity does not mean that the action should be allowed. Therefore, it is not enough to have authorization, but also a review for the operation itself.

The level of turn-based approval controls the measure.

The second level is the measure, which is achieved by the turn-based operation approval. Its key design is to merge and confirm write operations: not every minor change is disturbed by a separate pop-up, but rather, in one turn, summarize this batch of write operations to be implemented into one reviewable and confirmable action, which is executed after human approval.

This mechanism prevents 'silent data modification'. Read operations have a low risk and can be done without alarming anyone; however, actions involving writing, modifying, or deleting are grouped into a single explicit confirmation. Therefore, external AI clients cannot write a series of changes one by one into the background without you seeing them—they must reveal what needs to be confirmed at the end of the round. Identity confirmation determines 'whether to connect', and round-level approval confirmation determines 'whether to actually do it this time.'

Why is the high-risk area turned off by default

Even with convergence, authorization, and approval, operations such as backup, upgrade, and multi-site that affect the entire site are still set to default off. The reason is that their blast radius is not on the same level as other operations: changing one article can be rolled back, but mistakenly triggering a full-site upgrade or multi-site switch affects the entire site or even multiple sites, and may not be able to be rolled back with one click.

Default off is a conservative but effective boundary: the ability is still there, but it can only be used explicitly. Usually, AI clients are connected to perform high-frequency operations such as content, SEO, and operation and maintenance queries. These high-risk domains are not used, so they are always turned off, and the range that can be accidentally touched naturally narrows. When there is indeed a need for full-site maintenance, it will be explicitly opened by humans, and can be收回 after use. High-risk operations are turned off by default, not for normal use, but for the risks that are not necessary.

Common questions

Ask: Does connecting an external AI client mean giving it all the permissions on the backend?\nAnswer: No. The capabilities converge according to the intent directory, high-risk areas are closed by default, and the scope that can be adjusted is determined by the exposed configuration.

Ask: If the token authentication passes, is the call safe?\nAnswer: Authentication only confirms identity, not whether the action is dangerous or not; write operations still need to go through round-level approval and merging to be implemented.

Ask: Why should backup, upgrade, and multi-site operations be turned off by default?\nAnswer: They are at the station level, have a significant impact, and are not easy to roll back with one click. Turning them off by default can reduce the risk of being misadjusted.

What should be done when these high-risk operations are needed? Answer: The ability is still there, explicitly enable the corresponding intent domain as needed, and then withdraw it after use, rather than leaving it open for a long time.

Related functions

Preview

When importing thousands of documents in bulk, should the AI automatically label and title the images at the same time?

When importing thousands of documents in bulk, it is not recommended to turn on AI automatic tags, title images, and AI TDK all at once. First, let the content model and fields stabilize, and then open AI capabilities one by one in the import process and check them, making it easy to locate problems and also leave room for rollback in the draft and recycling bin. This article explains where each of these AI capabilities is suitable to be turned on.

Preview

When you don't want the content within the site to be moved to a full page, where does the interception occur, at the crawling layer or the display layer?

Both layers are in effect, with different scopes. The crawling layer is expressed by the Robots file, determining whether the crawling parties willing to comply with the rules can obtain the addresses; the anti-crawling interference code of the display layer acts on the batch collection that has reached the page, making the content moved out of the page lose its direct usable form. Robots is a de facto standard rather than a means of access control, whether it is observed depends on the other party, therefore, the collection that has already entered relies on interference code processing.

Preview

The site needs to have multiple languages, how to choose between full-page translation and field-by-field translation?

The site has two paths for multilingual versions: full-page translation automatically generates the complete HTML in the target language for published pages, suitable for content with consistent structure and frequent updates; field-by-field maintenance involves setting language versions for each field in the content model, suitable for marketing pages and product pages that require manual oversight. This article combines multilingual site configuration, custom fields, and multi-site management to explain the judgment methods for mixed use of the two methods according to the nature of the pages.