Manage Mcp Access 标志

Manage Mcp Access

组织
speakeasy-api
manage-mcp-access

Create or select a narrow custom AICP MCP access role, assign it to an explicitly selected member, and verify local desired state while separating unverified provider synchronization.

概览

发布者speakeasy-api
代码仓库gram
技能名称manage-mcp-access
星标数
269
复刻数
33
附带文件
仅含指令
许可协议AGPL-3.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

    由 speakeasy-api 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Manage Mcp Access AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/speakeasy-api/gram/tree/main/server/internal/plugins/platform_mcp_skills/manage-mcp-access
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/speakeasy-api/gram.git /tmp/gram
mkdir -p .claude/skills
cp -r /tmp/gram/server/internal/plugins/platform_mcp_skills/manage-mcp-access .claude/skills/manage-mcp-access
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Manage Mcp Access,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Manage Mcp Access。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Manage Mcp Access 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Manage MCP access

Use this workflow only through the authenticated Speakeasy AI Control Plane (AICP) Platform MCP. It mirrors the guarded dashboard workflow for giving one explicitly selected organization member access to one explicitly selected configured MCP through a custom role. Installing the package grants no organization or project access.

Safety rules

  • Never infer the project, MCP, custom role, member, or access rules from prior context. Present the eligible choices and require the user to select each target explicitly.
  • Show members only by the masked identities returned by list_access_members. Never reconstruct, request, or reveal an unmasked identity.
  • Do not expose raw identifiers or opaque references merely to distinguish choices. Present product names and masked identities; retain tool-returned selectors internally and use them only with the exact choice they represent.
  • Assign only a role whose returned type is custom and whose fresh get_mcp_access coverage reports assignment_eligible: true. Eligibility means the entire role contains only exact mcp:connect selectors for the selected project and MCP; non-MCP, broad, other-project, other-MCP, or unknown grants are not eligible.
  • Assigning a role includes all of its grants, not just the user's intended subset. Require explicit confirmation of ALL selected MCP grants by presenting EVERY assignment_rules entry from fresh get_mcp_access coverage. Each entry has all_tools and may have tool or disposition: all_tools: true means unrestricted tool access, including future tools, not merely the current catalogue. Explain each named tool and disposition rule, including future tools matching that disposition. Do not rely on allowed_known_tools to establish the full scope. Missing or incomplete assignment_rules is a stop condition, even when eligibility is true. Do not mutate or narrow a shared existing role to make it assignable; offer to create a dedicated narrow role instead.
  • Stop when member results are suppressed, ambiguous, expired, or do not contain the selected masked identity. Ask the user for a different identity query rather than guessing.
  • Stop if incomplete tool catalogue or unevaluated evidence prevents confirmation of exact scope. Never treat missing tools, tools_truncated: true, or unevaluated_grants: true as proof of narrow access.
  • Local role and membership reads describe local desired state only. Never claim provider synchronization has converged or that the member has effective provider access based on local reads, mutation success, or receipt replay.
  • If any read reports that the capability is unavailable, stop without claiming a change.

Workflow

  1. Call list_projects with limit: 100. This tool supports only limit (capped at 100), not cursor or search. If truncated: true, stop and hand off project selection to the AICP dashboard; do not invent pagination or treat the partial list as complete. Otherwise present eligible project names and ask the user to choose one exact project. Keep its returned selector internal.
  2. Call find_mcp for only that project with limit: 100. For an unfiltered list, follow next_cursor using cursor with the same project and no query until the list is complete. Cursor pagination is supported only for unfiltered results: never combine query and cursor. If a search result is truncated, narrow the query or switch to project-scoped unfiltered pagination. Stop if a complete, unambiguous choice cannot be established. Present configured MCP names and ask the user to choose one exact MCP. Keep its returned selector internal.
  3. Call get_mcp_access for the selected project and MCP. Explain its authorization mode, known tool catalogue, and current local role coverage. If it is not managed by role-based access, stop; this workflow must not imply that assigning a role will take effect. Check catalogue completeness and unevaluated evidence before proposing any mutation; if exact scope cannot be confirmed, stop and use the dashboard rather than guessing.
  4. Call list_access_roles. Present role names, types, privacy-safe member counts, and relevant MCP access summaries. Ask the user to choose an eligible existing custom role or explicitly choose to create a new custom role.
  5. Resolve the custom role without silently broadening it:
    • For a new role, collect its name, optional description, and exact MCP access rules from the selected MCP's current enumerable tools or supported disposition classes. Explain the full scope, including any disposition-based access to future tools. Show all proposed grants and ask for explicit confirmation, then call create_mcp_access_role for the exact project and rules.
    • For an existing custom role, compare its complete coverage from get_mcp_access with the user's requested outcome and require assignment_eligible: true. If it grants a broader outcome, is ineligible, or exact scope cannot be confirmed, do not assign it or call update_mcp_access_role to narrow or repurpose it. Offer to create a dedicated narrow role with a separately confirmed scope. Otherwise make no role mutation and explicitly confirm all grants, not merely the intended subset.
    • Use fresh tool-returned opaque references and any required freshness or retry fields only as agent-operational inputs. Do not describe those mechanics as part of the user-facing outcome.
  6. After role creation, call both list_access_roles and get_mcp_access again. Continue only if the selected custom role exists, reports assignment_eligible: true, and the re-read shows exactly all confirmed grants for the selected MCP. If the state conflicts or is incomplete, stop and report that no member assignment will be attempted.
  7. Ask the user for an identity search of at least three characters, then call list_access_members without a role filter. Present only the returned masked identities and current role names. Require the user to choose one exact masked member; do not accept an unmasked identity or select on their behalf.
  8. Immediately before assignment, refresh list_access_roles, get_mcp_access, and list_access_members for the exact prior choices. Keep the original identity query without a role filter so the privacy cohort is unchanged. Confirm internally that the project, MCP, custom role, all grants, assignment_eligible: true, and masked member still match. If a selector expired or the choices changed, present the safe names and masked identities again and ask the user to reselect. Stop on suppressed results or incomplete scope evidence.
  9. Summarize the proposed local desired state using only the project name, MCP name, custom role name, masked member identity, and ALL selected MCP grants. Present EVERY assignment_rules entry in product language for final confirmation, distinguishing unrestricted future-tool access from the known catalogue list. Explain that existing member roles are preserved and provider synchronization remains unverified. Ask for one final explicit confirmation of that complete assignment, not just the user's intended subset.
  10. After confirmation, call assign_mcp_access_role using only the exact refreshed custom-role and member choices, the explicit project, selected mcp_id, and confirmed: true. Pass the selected role's version from the immediately preceding get_mcp_access response as expected_role_version, and the selected member's version from the immediately preceding list_access_members response as expected_version. Supply a stable idempotency_key for retries of that exact request. Keep these fields internal. A version conflict requires fresh role and member reads, explicit reselection, and renewed confirmation before submitting a new request. Do not retry with another member, role, MCP, or project after a refusal or conflict.
  11. The mutation response's snapshot_scope: assignment_commit identifies a historical snapshot of committed local desired state, including on receipt replay. Never reuse its member version for a new write. Verify current local state rather than treating that snapshot as final proof:
    • Call list_access_roles again and confirm the selected role's current local state.
    • Call get_mcp_access again and confirm the role remains eligible and still has exactly all confirmed grants for the selected MCP.
    • Call list_access_members again with the original identity query without a role filter. Preserve the original privacy cohort; do not filter by the newly assigned role. Confirm the selected masked member is listed with that role when privacy-safe enumeration is available.
    • If member enumeration is suppressed or any evidence is stale, incomplete, or inconsistent, report local verification as incomplete. Never bypass suppression by changing filters or infer membership from counts.
  12. Report the selected project, MCP, custom role, masked member, and confirmed grants as committed local desired state only when supported by the evidence. Clearly separate the historical commit from current local verification and pending or unverified provider synchronization. These tools do not verify provider convergence or effective provider access; do not claim either from their local results.

Project, MCP, custom-role, masked-member, complete-grant, and final assignment choices all remain explicit conversation checkpoints. All selectors and mutation-control fields remain agent-operational.

常见问题

Manage Mcp Access AI 技能有什么作用?

Create or select a narrow custom AICP MCP access role, assign it to an explicitly selected member, and verify local desired state while separating unverified provider synchronization.

为什么在 TypingMind 中使用 Manage Mcp Access?

因为您只需安装一次,就能搭配任何模型使用。Manage Mcp Access 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Manage Mcp Access?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/speakeasy-api/gram/tree/main/server/internal/plugins/platform_mcp_skills/manage-mcp-access。TypingMind 会读取其中的 SKILL.md,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Manage Mcp Access?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Manage Mcp Access 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Manage Mcp Access 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Manage Mcp Access AI 技能免费吗?

是的。speakeasy-api 已在 GitHub 上根据 AGPL-3.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇