Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.mcp-use.com/llms.txt

Use this file to discover all available pages before exploring further.

OpenAIMCPAdapter

from mcp_use.agents.adapters.openai import OpenAIMCPAdapter

Attributes
framework
str
required
String value

method init

Initialize a new OpenAI adapter.Parameters
disallowed_tools
list[str] | None
default:"None"
list of tool names that should not be available.
Signature
def __init__(disallowed_tools: list[str] | None = None):