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

Đang mở
#3,425 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
api, authentication, backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
567
Fork
107
Merge trung bình
1 giờ 19 phút
Pull request đã merge (30 ngày)
353

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fluentcms/FluentCMS

Tất cả issue của fluentcms/FluentCMS

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.