mcp-onboarding
Onboard a new MCP integration — collect config, handle auth, and sync skills without asking the user to run manual setup commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Onboard a new MCP integration — collect config, handle auth, and sync skills without asking the user to run manual setup commands.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Debug why a session/agent/daemon behaved incorrectly. Load when user mentions a session id (ses_/mvs_*), wants logs, root-cause analysis, or asks about stuck runs, retries, permissions, or recovery. Keywords: 排查, 调试, 卡住, 为什么, log, debug, inspect, retry, recovery.
Coordinate a Mavis multi-agent team plan. Use only when the user explicitly invokes /mavis-team or /team, or 100% unambiguously asks to use an agent team / multi-agent team. Do not infer team use from complexity, deep research, long-running work, parallelism, specialist value, or verification risk.
Nightly batch skill maintenance. Reads pending signals and proposals, plans which skills to create/refine via team engine. Managed by daemon's internal scheduler — not visible to agents or users. Do not load this skill manually -- it is designed for automated nightly runs.
Create one agent on disk. Load when you need to add a new role to the team — typically called by `mavis-team` (when planning analysis says no existing agent fits and the user has consented), by `init` (when bootstrapping `.harness/reins/`), or directly when the user says 'add an agent for X' / 'new an agent' / '加一个 agent' / '建一个 rein'. Two output paths: `~/.mavis/agents/<name>/` (default — cross-project helper) or `<repo>/.harness/reins/<name>/` (when caller specifies project target — coding project rein). Do NOT load to decide WHETHER to create (that lives in `mavis-team` router) or to create a skill (use `skill-creator`).
Coordinate a Mavis multi-agent team plan. Use only when the user explicitly unambiguously asks to use an agent team
Unified DOCX skill — create, template-apply, edit/fill, read, repair, and compare Word documents. Use for formal Word deliverables and DOCX diagnosis. Not for PDF/PPT or casual plain-text drafting.
| name | mcp-onboarding |
| description | Onboard a new MCP integration — collect config, handle auth, and sync skills without asking the user to run manual setup commands. |
| descriptions | {"zh-Hans":"接入新的 MCP 集成,收集配置、处理认证并同步 skills,无需用户手动执行设置命令。"} |
Use this skill when the user says things like:
Hide the raw setup sequence from the user.
The user should only:
The agent does the rest:
mavis mcp add <name> '<config>'Do not ask the user to run mavis mcp ... commands manually unless they explicitly insist.
This skill is the user-facing onboarding flow.
mcp-cli is the low-level management layer used by the agent behind the scenes.
Prefer presets when obvious:
| Service type | Default server id | Default config |
|---|---|---|
| Figma | figma | { "url": "https://mcp.figma.com/mcp" } |
| Generic HTTP OAuth MCP | sanitized service name | { "url": "<url>" } |
| Generic HTTP Bearer MCP | sanitized service name | { "url": "<url>", "auth": { "type": "bearer", "token": "<token>" } } |
| Local stdio + env token | sanitized service name | { "command": "<cmd>", "args": [...], "env": { "<KEY>": "<token>" } } |
Ask concise follow-up questions only for the fields you truly need:
server idurl or command + argsDo not dump raw JSON to the user unless they explicitly ask.
Use mavis mcp add to write the config. The daemon validates and stores it.
Examples:
mavis mcp add figma '{"url": "https://mcp.figma.com/mcp"}'
mavis mcp add acme-api '{"url": "https://api.example.com/mcp", "auth": {"type": "bearer", "token": "<token>"}}'
mavis mcp add gitlab-local '{"command": "npx", "args": ["-y", "@vendor/mcp-gitlab"], "env": {"GITLAB_TOKEN": "<token>", "GITLAB_URL": "https://gitlab.example.com"}}'
Examples: Figma, generic HTTP MCP servers that expose OAuth metadata.
mavis mcp auth login <server>
authUrl.请点击这里完成授权: [打开授权页](<authUrl>)
mavis mcp auth status <server>authenticated, immediately run mavis mcp syncThe user should not need to know the command sequence. They only click the auth link.
Reuse the same inline GenUI auth card pattern already used by the Figma and GitLab skills.
Output this tag when a single secret token is needed:
<genui-mcp-auth server-id="<server-id>" label="<human label>" placeholder="<token example>" help-url="<docs or settings url>" permissions="<required scopes or permissions>" />
If the service also needs a host field, include default-host="...".
Example:
<genui-mcp-auth server-id="gitlab-local" label="GitLab Personal Access Token" placeholder="glpat-xxxxxxxxxxxxxxxxxxxx" default-host="gitlab.example.com" help-url="https://gitlab.example.com/-/user_settings/personal_access_tokens" permissions="api, read_api, read_user, read_repository, write_repository" />
After the user submits, you will receive a message containing a tag like:
<genui-mcp-auth server-id="gitlab-local" status="submitted" host="gitlab.example.com" token="glpat-..." />
Extract the values and call mavis mcp add with the config.
genui-mcp-auth flow; do not invent a new frontend tag.host + tokenCurrent reusable GenUI support is only genui-mcp-auth.
If the integration needs extra non-secret fields:
genui-mcp-auth only for the secret tokenIf the integration needs multiple secrets, ask the user one concise follow-up at a time and prefer evolving the UI later rather than leaking secrets in plain text.
After auth is ready, always complete the rest yourself:
mavis mcp auth status <server>
mavis mcp sync
mavis mcp list
Expected success state:
authenticated or not_requiredactiveenabledSkills take effect in the next session — no daemon restart needed.
Then tell the user:
<service> 已接入完成,生成的 skill 为 mcp-<server-id>,下个 session 即可使用。
When the user says “接入 Figma”, use this default:
figmahttps://mcp.figma.com/mcpFlow:
mavis mcp add figma '{"url": "https://mcp.figma.com/mcp"}'mavis mcp auth login figmaauthUrlmavis mcp syncmcp-figma skill is readymcp.json or any config files.sync manually in the normal case.genui-mcp-auth is sufficient.Use a short completion message like:
已完成接入:<service>
- server: <server-id>
- auth: <status>
- skill: mcp-<server-id>
- state: ready