Skip to content
Start here

Servers

resource cloudflare_zero_trust_access_ai_controls_mcp_server

required Expand Collapse
id: String

server id

auth_type: String
hostname: String
name: String
optional Expand Collapse
account_id?: String
auth_credentials?: String
description?: String
updated_prompts?: List[Attributes]
name: String
alias?: String
description?: String
enabled?: Bool
updated_tools?: List[Attributes]
name: String
alias?: String
description?: String
enabled?: Bool
computed Expand Collapse
created_at: Time
created_by: String
error: String
last_successful_sync: Time
last_synced: Time
modified_at: Time
modified_by: String
status: String
prompts: List[Map[JSON]]
tools: List[Map[JSON]]

cloudflare_zero_trust_access_ai_controls_mcp_server

resource "cloudflare_zero_trust_access_ai_controls_mcp_server" "example_zero_trust_access_ai_controls_mcp_server" {
  account_id = "a86a8f5c339544d7bdc89926de14fb8c"
  id = "my-mcp-server"
  auth_type = "unauthenticated"
  hostname = "https://example.com/mcp"
  name = "My MCP Server"
  auth_credentials = "auth_credentials"
  description = "This is one remote mcp server"
  updated_prompts = [{
    name = "name"
    alias = "my-custom-alias"
    description = "description"
    enabled = true
  }]
  updated_tools = [{
    name = "name"
    alias = "my-custom-alias"
    description = "description"
    enabled = true
  }]
}

data cloudflare_zero_trust_access_ai_controls_mcp_server

optional Expand Collapse
id?: String

server id

account_id?: String
filter?: Attributes
computed Expand Collapse
auth_type: String
created_at: Time
created_by: String
description: String
error: String
hostname: String
last_successful_sync: Time
last_synced: Time
modified_at: Time
modified_by: String
name: String
status: String
prompts: List[Map[JSON]]
tools: List[Map[JSON]]
updated_prompts: List[Attributes]
name: String
alias: String
description: String
enabled: Bool
updated_tools: List[Attributes]
name: String
alias: String
description: String
enabled: Bool

cloudflare_zero_trust_access_ai_controls_mcp_server

data "cloudflare_zero_trust_access_ai_controls_mcp_server" "example_zero_trust_access_ai_controls_mcp_server" {
  account_id = "a86a8f5c339544d7bdc89926de14fb8c"
  id = "my-mcp-server"
}

data cloudflare_zero_trust_access_ai_controls_mcp_servers

optional Expand Collapse
account_id?: String
max_items?: Int64

Max items to fetch, default: 1000

computed Expand Collapse
result: List[Attributes]

The items returned by the data source

id: String

server id

auth_type: String
hostname: String
name: String
prompts: List[Map[JSON]]
tools: List[Map[JSON]]
created_at: Time
created_by: String
description: String
error: String
last_successful_sync: Time
last_synced: Time
modified_at: Time
modified_by: String
status: String
updated_prompts: List[Attributes]
name: String
alias: String
description: String
enabled: Bool
updated_tools: List[Attributes]
name: String
alias: String
description: String
enabled: Bool

cloudflare_zero_trust_access_ai_controls_mcp_servers

data "cloudflare_zero_trust_access_ai_controls_mcp_servers" "example_zero_trust_access_ai_controls_mcp_servers" {
  account_id = "a86a8f5c339544d7bdc89926de14fb8c"
  search = "search"
}