skills/mcp-servers/SKILL.md
Manages TrueFoundry MCP Gateway server registry entries. Covers listing, creating, updating, tool selection, access control, and client attachment for remote, official remote, virtual, hosted STDIO, and OpenAPI-backed MCP servers. Delete operations are manual dashboard-only.
npx skillsauth add truefoundry/tfy-gateway-skills truefoundry-mcp-serversInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Manage MCP servers in TrueFoundry AI Gateway.
Use this skill when the user wants to:
mcpServers JSON.Do not delete MCP servers or remove collaborators from the agent. Route those requests to the TrueFoundry dashboard.
</objective> <instructions>Load only the reference needed for the user's task:
| Task | Reference | |------|-----------| | Browser/UI operation, click paths, form fields, add-to-client modal | references/mcp-gateway-ui-flows.md | | YAML examples for auth modes, server types, virtual tool selection, OpenAPI, hosted STDIO | references/mcp-yaml-variations.md |
Treat the live dashboard Apply using YAML preview as the source of truth when it differs from examples.
tfy login is complete. If not, use truefoundry-onboard.TFY_BASE_URL/TFY_HOST.mcp-server-manager as the default role unless the user requests another role.user:<email>, team:<slug>, serviceaccount:<name>, or virtualaccount:<name>.tfy-secret://... references for shared credentials whenever possible.Before every final tfy apply, show:
Then ask for explicit confirmation. Run only dry-runs before confirmation.
Prefer the dashboard when the user is working in the UI. For API fallback:
TFY_API_SH=~/.claude/skills/truefoundry-mcp-servers/scripts/tfy-api.sh
$TFY_API_SH GET /api/svc/v1/mcp-servers
Present servers as:
MCP Servers
| Name | Type | Auth | ID | URL / Source |
Use this for an existing HTTP MCP endpoint.
Collect:
namedescriptionurlAuth rules:
auth_data.Use references/mcp-yaml-variations.md for concrete YAML shapes.
Use this for catalog servers such as GitHub, Linear, Sentry, Atlassian, Figma, Slack, Notion, Stripe, HuggingFace, or similar.
Flow:
Use this to expose selected tools from multiple existing MCP servers through one virtual MCP server.
Collect:
namedescriptionFlow:
servers[].enabled_tools for selected subsets.enabled_tools for a source only when exposing every tool from that source.mcp-server-manager unless requested otherwise.Use references/mcp-yaml-variations.md for virtual server YAML examples.
Use this when the user has a local-style MCP config and wants the gateway to host/expose it.
Collect JSON containing an mcpServers object with server command, args, and optional env.
Flow:
Use references/mcp-yaml-variations.md for the input shape.
Use this to expose OpenAPI operations as MCP tools.
Collect:
namedescriptionFor remote specs, confirm the URL is trusted before use. Prefer pasted/inline specs for sensitive private APIs.
Tool filtering is supported for normal remote/OpenAPI servers and virtual MCP servers.
For normal remote/OpenAPI servers:
Do not invent field names for normal-server tool filtering. If the API response does not expose the shape, use the dashboard edit screen or ask the user for the Apply using YAML output.
For virtual servers, use servers[].enabled_tools; omit it only when exposing every tool from that source.
Use update-by-manifest:
auth_data block.Use references/mcp-yaml-variations.md for auth examples.
Adding collaborators is allowed with confirmation. Removing collaborators is dashboard-only.
To list access:
$TFY_API_SH GET '/api/svc/v1/collaborators?resourceType=mcp-server&resourceId=RESOURCE_ID'
When changing access, show the before/after collaborator list and preserve unrelated server config.
The gateway UI can generate setup snippets for Cursor, VS Code, Claude Code, Python, TypeScript, Windsurf, and Codex.
Use the dashboard Add to Client modal or the generated snippet. Do not click, reveal, paste, or print API keys unless the user explicitly asks and understands the exposure.
Always run the dry-run first:
tfy apply -f mcp-server.yaml --dry-run --show-diff
Run the final apply only after explicit user confirmation:
tfy apply -f mcp-server.yaml
Do not call DELETE APIs or tfy delete flows. Tell the user:
To delete this MCP server, open the TrueFoundry dashboard, go to AI Gateway -> MCP Servers, select the server, and delete it from the UI.
</instructions>
<success_criteria>
tfy-secret://... references or explicit placeholders.tfy apply is gated by summary, YAML/diff, exact command, and explicit confirmation.</success_criteria>
data-ai
Manages TrueFoundry Skills Registry workflows. Covers creating, publishing, versioning, downloading, updating, and attaching reusable Agent Skills through UI or tfy apply.
tools
Integrates a codebase with TrueFoundry AI Gateway. Scans for all LLM calls, MCP configs, and credentials, diffs against existing gateway config, generates a migration plan, applies code changes, and verifies routing end-to-end. Invoked from within the customer's codebase.
tools
Registers MCP servers, manages secrets, and fetches TrueFoundry documentation. Covers remote/virtual/OpenAPI MCP servers, secret groups with key-value pairs, and platform docs.
testing
Platform access management for TrueFoundry. Covers connection status checks, workspace and cluster discovery, role and team management, secret groups, and personal access token lifecycle.