-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Description
🚀 Describe the new functionality needed
OpenAI Responses API Spec for MCP Tools has a field authorization which can pass an authentication token to an MCP server. This is a critical piece of security infrastructure, and needs to be implemented in llama stack. It's defined as follows in openai_python:
class Mcp(BaseModel):
authorization: Optional[str] = None
"""
An OAuth access token that can be used with a remote MCP server, either with a
custom MCP server URL or a service connector. Your application must handle the
OAuth authorization flow and provide the token here.
"""Please add it to the MCP tool object in llama stack responses API.
💡 Why is this needed? What if we don't build it?
This simplifies passing auth tokens through responses API.
Other thoughts
No response