You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect the MCP server using OpenAI AgentKit and I can't manage to make it work.
I did manage to get the list of tools but when it tries to call one of the tools it always
The mcp inspector connects without issues.
DEBUG:openai.agents:LLM responded
DEBUG:openai.agents:Resetting current trace
/home/guy/snap/code/209/.local/share/virtualenvs/AgentKit-fPZy2NKL/lib/python3.13/site-packages/pydantic/main.py:463: UserWarning: Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected `str` - serialized value may not be as expected [input_value={'type': 'mcp_protocol_er...': 'Session terminated'}, input_type=dict])
return self.__pydantic_serializer__.to_python(
{'output_text': 'I tried to fetch the list of databases but the connection session was terminated. \n\nWould you like me to retry? If so, I’ll reconnect and list them.'}
DEBUG:openai.agents:Shutting down trace provider
DEBUG:openai.agents:Shutting down trace processor <agents.tracing.processors.BatchTraceProcessor object at 0x73d0f5785fd0>
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to connect the MCP server using OpenAI AgentKit and I can't manage to make it work.
I did manage to get the list of tools but when it tries to call one of the tools it always
The mcp inspector connects without issues.
Beta Was this translation helpful? Give feedback.
All reactions