Interface: OpenAIMcpServerConfig
@providerprotocol/ai / openai / OpenAIMcpServerConfig
Interface: OpenAIMcpServerConfig
Section titled “Interface: OpenAIMcpServerConfig”Defined in: src/providers/openai/types.ts:1274
MCP (Model Context Protocol) server configuration
Properties
Section titled “Properties”allowed_resources?
Section titled “allowed_resources?”
optionalallowed_resources:string[]
Defined in: src/providers/openai/types.ts:1287
Allowed resources
headers?
Section titled “headers?”
optionalheaders:Record<string,string>
Defined in: src/providers/openai/types.ts:1285
Headers to send with requests
optionalname:string
Defined in: src/providers/openai/types.ts:1278
Server name for identification
require_approval?
Section titled “require_approval?”
optionalrequire_approval:"always"| {tools:string[];type:"except"; } |"never"
Defined in: src/providers/openai/types.ts:1289
Require approval for tool calls
tool_configuration?
Section titled “tool_configuration?”
optionaltool_configuration:object
Defined in: src/providers/openai/types.ts:1280
Tool configuration for the server
allowed_tools?
Section titled “allowed_tools?”
optionalallowed_tools:string[] | {type:"all"; }
Allowed tools from this server
url:
string
Defined in: src/providers/openai/types.ts:1276
Server URL