MCP admin half: clients, instructions, prompts and agent writes (A-37)

オープン
#3,425 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
csharp

調査の方向性

Read docs/planning/admin-technical-spec.md, sections 5.4 and 10.7, then inspect the MCP plugin routes and the A-51 admin stub. Check the generated MCP settings page and the OpenAPI document while mapping the acceptance criteria to the component, API, and end-to-end tests. Done means the client, instructions, prompts, and agent writes workflows meet the listed acceptance criteria and the records match the OpenAPI document.

索引モデルが issue の本文から書いたものです。

説明

area:admin type:feature

Problem

Rows 9.13, 9.10, 9.11 and 3.17 ask that an administrator approves the MCP clients that agents connect through, gives them a role, writes the instructions and prompts agents get, and sees what agents wrote. The MCP plugin has the routes, and its admin half is the stub of A-51.

Proposal

The half FluentCMS.Plugins.Mcp.Admin (5.4):

  • /mcp/clients, for mcp.manage for the instance: the clients with status, role and last activity; approve with a role, reject, revoke; register a client and change an approved client's role (#3102). What a registration answers once is shown with the copy button of A-33. The page says that service accounts come from configuration and are neither listed nor changed here.
  • A self-registered client that no administrator approved is removed by the server's cleanup once it has stayed unused for the time the settings give, so an action on a client that is gone answers FCMS1603: the page says so and reads the list again. There is no removal of many at once until #3397.
  • A link "agent writes": the activity of GET /activity?origin=mcp, read in pages.
  • /mcp/instructions, for mcp.manage in the site: the guidelines of the site and the instructions per content type.
  • /mcp/prompts, for the same: the stored prompts, with create, change and delete.
  • The settings of mcp are the generated page of A-34, on the defaults of the instance, which is where the plugin reads its registration policy from.
  • The half's records are checked against the OpenAPI document.

Acceptance

  • An administrator approves a client that registered itself, gives it a role, changes the role and revokes it
  • A client is registered from the admin, and what the answer holds once is shown once
  • An action on a client the cleanup removed says that it is gone and the list is read again
  • The guidelines of a site and the instructions of one type are written, changed and removed, and a prompt is stored and changed
  • The agent writes of the site are listed
  • A caller who holds mcp.manage in a site only sees the instructions and the prompts and no clients page
  • Component tests cover the pages; the API tests check the records against the OpenAPI document; an end-to-end case approves a client and writes an instruction

Design: docs/planning/admin-technical-spec.md, sections 5.4 and 10.7 (A-37). Rows 9.13, 9.10, 9.11, 3.17. Needs A-51, A-33 for what is shown once and A-34 for the settings page; #3102 and #3104 are merged. Size: M.

主要言語
C#
スター
567
フォーク
107
平均マージ
1時間 19分
マージ済み PR(30日)
353

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fluentcms/FluentCMS のほかの issue

fluentcms/FluentCMS の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。