Skip to main content
You can manage models, MCP servers, users, teams, secrets, and policies on TrueFoundry through natural language. There are two ways to do it:

Ask AI (recommended)

The agent built into the TrueFoundry dashboard. No setup — open it and start typing.

Claude, Cursor & other tools

Connect TrueFoundry to Claude, Cursor, Codex, or any other tool you already use, through the TrueFoundry MCP server.
Both run on the same MCP server and skills. Actions run as the authenticated user and follow the same RBAC as the dashboard and CLI.

Which one should you use?

We recommend Ask AI in the product for most workflows. It runs the same tools as the MCP server, plus capabilities that aren’t available when you connect from an external tool:

Higher accuracy, lower cost

Skills, MCP servers are constantly kept up-to-date and includes additional context like TrueFoundry docs. The agent is tuned to use fewer tokens, lower cost and provide better insights.

Charts and visualizations

Ask AI renders charts and visualizations inline, so usage, cost, and observability answers come back as graphs instead of raw text.

Built-in approval flows

Ask AI recognizes write actions, shows you a diff of what will change, and asks for approval before applying it. Connecting from another tool gives you the raw tools without this safety layer.
Connect Claude, Cursor, or another tool when you want TrueFoundry operations inside the editor or assistant you already use, or need to combine them with other MCP servers in a single session.

Ask AI

Ask AI is available on TrueFoundry SaaS. On-prem support is coming soon.
1

Open Ask AI

Find Ask AI in the left sidebar under Shared.
TrueFoundry dashboard sidebar with Ask AI highlighted under the Shared section.
2

Describe what you want

Type a request in natural language. The agent picks the right tools and skills and executes them.
Ask AI chat interface showing a list of capabilities including model setup, policies, access management, and observability.
3

Review and approve

For write operations, Ask AI shows a diff of what will change and asks for confirmation before applying.
Ask AI showing a Changes Diff with original and updated manifest versions, and an Approve or Deny prompt for the tool call.
Example prompts
  • Add my OpenAI API key as a provider account and give access to my team
  • Create a virtual model that load-balances between Groq and Cerebras
  • Rate limit the interns team to 100 requests per minute
  • Show me the top 5 teams by token usage in the last 7 days
  • Connect the Linear MCP server from the catalogue

Connect Claude, Cursor, or other tools

TrueFoundry provides an MCP server and a set of skills that you can plug into Claude, Cursor, Codex, or any tool that speaks MCP. The MCP server exposes platform operations as tools the agent can call; skills give it tested, step-by-step procedures for common workflows.
The MCP server is available starting v0.155.
Connecting the MCP server directly gives you the raw tools without the diff previews, approval flows, or inline visualizations available in Ask AI.

MCP server

Point your tool at the TrueFoundry MCP server:
  • Server URL: https://<CONTROL_PLANE_URL>/mcp
  • Transport: Streamable HTTP
  • Auth: OAuth or a TrueFoundry API key
The server supports OAuth, so in tools like Claude and Cursor you can sign in directly when you add the server — no API key required. For tools or scripts that don’t support OAuth, create an API key from Settings > API Keys and send it as a Bearer token instead. All actions run as the authenticated user and follow the same RBAC as the dashboard and CLI.

Connect your tool

Replace <CONTROL_PLANE_URL> with your control plane host. The examples below use OAuth; add the Authorization header only if you’re using an API key.
Add the server with the CLI, then run /mcp inside Claude Code to sign in via OAuth:
claude mcp add --transport http truefoundry https://<CONTROL_PLANE_URL>/mcp
To use an API key instead of OAuth, pass it as a header:
claude mcp add --transport http truefoundry https://<CONTROL_PLANE_URL>/mcp \
  --header "Authorization: Bearer <TFY_API_KEY>"
Then ask Claude in natural language, for example: “Using TrueFoundry, list the provider accounts I can access.”

Available tools

Every tool carries an MCP annotation: readOnlyHint: true tools only read data and are safe to call without confirmation, while destructiveHint: true tools create, update, or delete a resource and should be confirmed by a human.
CategoryToolRead / WriteDescription
Resource managementapply_manifestWriteApply a manifest to create or update a resource.
Resource managementdelete_manifestWriteDelete a resource identified by the provided manifest.
Resource managementvalidate_manifestReadValidate a manifest object against the schema for the given type.
Resource managementget_manifest_json_schemaReadGet the JSON schema for the specified manifest type.
AI Gatewaygenerate_multi_lang_code_snippetsReadGenerate code snippets for calling an AI Gateway model.
AI Gatewaygateway_execute_sqlReadQuery AI Gateway observability data using SQL.
AI Gatewayget_gateway_configReadGet the AI Gateway configuration for a given type.
AI Gatewayget_budget_usageReadGet the current budget usage for every budget rule configured in the tenant.
AI Gatewaylist_data_routing_destinationsReadList data routing destination names for the current tenant.
AI Gatewaylist_mcp_serversReadList MCP servers for the current tenant.
AI Gatewayget_mcp_serverReadGet a single MCP server by its ID.
AI Gatewaydelete_mcp_serverWritePermanently delete an MCP server by ID.
AI Gatewaylist_mcp_server_toolsReadList the tools available on a given MCP server.
AI Gatewaylist_mcp_catalogueReadReturns the TFY-managed MCP server catalogue and the MCP integrations catalogue.
AI Gatewayget_mcp_server_oauth_configReadGet the OAuth authorization server configuration for an MCP server URL.
Provider accountslist_providersReadList all provider types along with their supported integrations, models, and model types.
Provider accountslist_provider_accountsReadList provider accounts the caller can read.
Provider accountsget_provider_accountReadGet a single provider account by its ID.
Secretslist_secretsReadList secrets the caller has access to.
Secretsdelete_secretWriteDelete a secret and all its versions permanently.
Secretslist_secret_groupsReadList secret groups along with associated secrets. Secret values are not included.
Secretsget_secret_groupReadGet a secret group by ID.
Secretslist_secret_active_deploymentsReadGet active deployments associated with the given secret IDs.
Secretsget_secret_deploymentsReadList active deployments that reference a specific secret.
Identity and user managementget_meReadReturns the identity and role information of the currently authenticated user or service account.
Identity and user managementlist_usersReadList users in the current tenant.
Identity and user managementget_userReadGet a single user by their ID.
Identity and user managementdelete_userWritePermanently delete a user by ID.
Identity and user managementcheck_user_registrationReadCheck whether a user with the given email is registered in the current tenant.
Teamslist_teams_for_userReadList teams accessible to the current user.
Teamsget_teamReadGet a single team by its ID.
Teamslist_team_membersReadList users who are members of a team.
Teamslist_team_managersReadList users who hold the team-manager role on a team.
Teamsget_team_permissionsReadGet all role bindings associated with a team.
Teamsdelete_teamWritePermanently delete a team.
Roles and access controllist_rolesReadList roles for the current tenant.
Roles and access controldelete_roleWritePermanently delete a role.
Roles and access controlget_actions_for_resource_typeReadGet all permission actions available for a given resource type.
Virtual accounts and tokenslist_virtual_accountsReadList virtual accounts accessible to the current user.
Virtual accounts and tokensget_virtual_accountReadGet a single virtual account by its ID.
Virtual accounts and tokenscheck_virtual_account_existsReadCheck whether a virtual account with the given name exists.
Virtual accounts and tokensdelete_virtual_accountWritePermanently delete a virtual account.
Virtual accounts and tokenslist_personal_access_tokensReadList personal access tokens created by the current user.
Virtual accounts and tokenscreate_personal_access_tokenWriteCreate a new personal access token for the current user.
Virtual accounts and tokenscheck_personal_access_token_existsReadCheck whether a personal access token with the given name exists.
Virtual accounts and tokensdelete_personal_access_tokenWritePermanently delete a personal access token.
Platform configurationlist_settingsReadList all settings configured for the tenant.

Skills

Skills give the agent tested, step-by-step procedures for TrueFoundry operations — the right field values, ordering, edge cases, and validations. They follow the open Agent Skills standard and work in any tool that supports skills, including Cursor, Claude Code, Codex, and TrueFoundry’s Agent Harness.
SkillWhat it helps you do
GatewaySet up models, provider accounts, virtual models with routing and failover
Integrate GatewayScan your codebase and migrate to AI Gateway
ObservabilityQuery usage, token consumption, cost breakdowns, error analysis
MCP serversRegister from catalogue, configure auth, manage lifecycle
PlatformWorkspaces, secrets, access control, tokens, CLI setup
AgentsBuild and manage agents in the Agent Registry
Skills RegistryPublish and share reusable skills
PromptsManage prompts in the Prompt Registry

truefoundry/tfy-gateway-skills

Browse the source and see exactly what each skill does.