feat: move MCP to /mcp and add teammate operations (#500)

* feat(operations): move MCP to /mcp and add search, comment, metadata, version, and upload operations

- Serve the MCP server at /mcp instead of /api/mcp
- Add search_assets, copy_assets, get_folder_instructions, list_comments,
  create_comment, resolve_comment, list_metadata_fields,
  update_asset_metadata, create_version_stack, list_versions, and
  remove_version on the agent, MCP, and CLI
- Add create_file and create_version (agent, MCP) with Creation Context
  metadata, and complete_upload (MCP) for presigned two-step uploads
- Replace the native agent create_file/create_version tools with
  Operation-backed ones
- Route the comment-complete, metadata, copy, version stack, and
  AGENTS.md read REST endpoints through their Operations

* docs(readme): add built-in MCP server and CLI to features list
This commit is contained in:
Yiling-J
2026-10-27 14:37:26 +08:00
committed by GitHub
parent 50fbd97953
commit b3cae4f2b0
81 changed files with 4111 additions and 1397 deletions
+22
View File
@@ -633,6 +633,28 @@
"agent_tool_move_assets_desc": "Allows the agent to move one or more assets to another folder in Shumai.",
"agent_tool_delete_asset_name": "Delete Asset",
"agent_tool_delete_asset_desc": "Allows the agent to delete a single file or folder in Shumai.",
"agent_tool_search_assets_name": "Search Assets",
"agent_tool_search_assets_desc": "Allows the agent to search for files by name, by meaning, or by metadata such as status.",
"agent_tool_copy_assets_name": "Copy Assets",
"agent_tool_copy_assets_desc": "Allows the agent to copy files or folders into another folder of the team.",
"agent_tool_get_folder_instructions_name": "Read Folder Instructions",
"agent_tool_get_folder_instructions_desc": "Allows the agent to read a folder's instructions for AI agents (AGENTS.md).",
"agent_tool_list_comments_name": "Read Comments",
"agent_tool_list_comments_desc": "Allows the agent to read the review comments and replies on a file.",
"agent_tool_create_comment_name": "Post Comment",
"agent_tool_create_comment_desc": "Allows the agent to comment on files and reply to comments on your behalf.",
"agent_tool_resolve_comment_name": "Resolve Comment",
"agent_tool_resolve_comment_desc": "Allows the agent to mark comments as resolved or reopen them.",
"agent_tool_list_metadata_fields_name": "List Metadata Fields",
"agent_tool_list_metadata_fields_desc": "Allows the agent to see a project's metadata fields and their choices.",
"agent_tool_update_asset_metadata_name": "Update Metadata",
"agent_tool_update_asset_metadata_desc": "Allows the agent to set metadata such as status, rating, or tags on files.",
"agent_tool_create_version_stack_name": "Create Version Stack",
"agent_tool_create_version_stack_desc": "Allows the agent to stack files in the same folder as versions of one asset.",
"agent_tool_list_versions_name": "List Versions",
"agent_tool_list_versions_desc": "Allows the agent to list the versions in a version stack.",
"agent_tool_remove_version_name": "Remove Version",
"agent_tool_remove_version_desc": "Allows the agent to take a version out of its stack, keeping the file.",
"enabled": "Enabled",
"disabled": "Disabled",
"no_skills_available": "No skills available.",