Skip to content

@W-22137880 add protect mcp skill - #23

Merged
Ferticidio merged 8 commits into
masterfrom
chores/W-22137880-AddMcpsSkills
Apr 22, 2026
Merged

@W-22137880 add protect mcp skill#23
Ferticidio merged 8 commits into
masterfrom
chores/W-22137880-AddMcpsSkills

Conversation

@Ferticidio

Copy link
Copy Markdown
Contributor

Summary

  • New skill: protect-mcp-server-with-policies — 9-step JTBD skill for protecting MCP servers with policies on a self-managed Flex Gateway. Supports three execution paths: full setup (publish to Exchange + deploy + apply policy), from Exchange asset (search + deploy + apply policy), and apply-policy-only (list existing instances + apply policy).
  • API spec updates:
    • Added mcp to the types enum in Exchange Experience getAssetsSearch operation
    • Added undocumented family query parameter (api, agentic, llm) to API Manager listOrganizationsEnvironmentsApis — used with family=agentic in the MCP skill to filter for MCP server instances
  • Bug fix: Removed duplicate environmentId YAML key in protect-api-with-policies Step 5 that caused ruamel.yaml DuplicateKeyError, silently dropping the YAML block and rendering the deploy step as prose-only without the interactive panel
  • Portal improvements for prose-only skills:
    • Hide auth panel controls (right section + modal) on prose-only skill pages while keeping the header bar visible
    • Hide "0 steps" badge on homepage cards and sidebar entries for prose-only skills
    • Fix double scroll issue in portal CSS

New 9-step JTBD skill for protecting MCP servers with policies on Flex
Gateway. Searches Exchange with types=mcp (no org filter) and includes
a list-instances step for the apply-policy-only path.

Also fixes a duplicate environmentId key in the deploy step YAML block
of both skills, which caused ruamel.yaml to silently drop the block
and render the step as prose-only without the interactive panel.
Simplified 4-step skill for applying a policy to an existing MCP server
instance in API Manager. Assumes the user is already authenticated.
Steps: list environments, list instances, browse policy templates, apply.
Add undocumented `family` enum parameter (api, agentic, llm) to the
listOrganizationsEnvironmentsApis operation in the API Manager spec.

Use `family=agentic` as a hardcoded filter in protect-mcp-server Step 7
to list only MCP server instances instead of all API instances.
Wrap auth-panel-right and auth modal in prose_only conditional so
prose-only skills (like Anypoint Platform Operations) show the header
bar with logo and title but not the authentication controls.

Add prose-only skill fixture and 6 smoke tests verifying the header
bar is present, auth panel right is absent, no auth modal, no
interactive mode toggle, and Guide badge is shown.
Prose-only skills (0 steps) no longer show "0 steps" on homepage
cards or API detail page sidebar. The badge is simply omitted.
@Ferticidio
Ferticidio requested a review from a team as a code owner April 22, 2026 19:35
@Ferticidio
Ferticidio merged commit 03dcb3e into master Apr 22, 2026
9 checks passed
@Ferticidio
Ferticidio deleted the chores/W-22137880-AddMcpsSkills branch May 7, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants