ERROR livekit.agents - Error in _list_mcp_tools_ta...
# ask-ai
b
ERROR livekit.agents - Error in _list_mcp_tools_task Traceback (most recent call last): File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/voice/agent_activity.py", line 415, in _list_mcp_tools_task return await mcp_server.list_tools() File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/llm/mcp.py", line 76, in list_tools lk_tools = [ File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/llm/mcp.py", line 77, in <listcomp> self._make_function_tool(tool.name, tool.description, tool.inputSchema, tool.meta) File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/pydantic/main.py", line 991, in getattr raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}') AttributeError: 'Tool' object has no attribute 'meta' {"pid": 64149, "job_id": "AJ_wijJWu6QHMQy"} 2025-09-01 175043,960 - ERROR livekit.agents - failed to list tools from MCP server MCPServerHTTP(url=https://apollo-3irns8zl6-composio.vercel.app/v3/mcp/15f03a6a-230d-44f9-8442-115013d59969/mcp?user_id=Admin, transport=streamable_http) Traceback (most recent call last): File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/utils/log.py", line 16, in async_fn_logs return await fn(*args, **kwargs) File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/voice/agent_activity.py", line 415, in _list_mcp_tools_task return await mcp_server.list_tools() File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/llm/mcp.py", line 76, in list_tools lk_tools = [ File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/livekit/agents/llm/mcp.py", line 77, in <listcomp> self._make_function_tool(tool.name, tool.description, tool.inputSchema, tool.meta) File "/Users/sandeep/projects/agntv1/lib/python3.10/site-packages/pydantic/main.py", line 991, in getattr raise AttributeError(f'{type(self).name!r} object has no attribute {item!r}') AttributeError: 'Tool' object has no attribute 'meta' {"pid": 64149, "job_id": "AJ_wijJWu6QHMQy"} 2025-09-01 175043,989 - DEBUG livekit.agents - using audio io:
RoomIO
->
AgentSession
->
TranscriptSynchronizer
->
RoomIO
Copy code
{
  "pid": 64149,
  "job_id": "AJ_wijJWu6QHMQy"
}
t
Thanks for reaching out, Sandeep. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you share a bit more about your setup and any recent changes you might have made? For instance, have there been updates to the MCP server, the 'Tool' object schema, or any related settings? That info would really help us figure out what's going on.
h
@brief-vase-33757 Hi Sandeep! Were you able to resolve this error? im getting the same error currently. Would be of super help if you can share what the problem was in your case!
t
Hi! It seems like you're encountering the same error as Sandeep Kaushik. The issue appears to be related to the MCP server and the 'Tool' object schema. Could you provide more details about your setup and any recent changes made, such as updates to the MCP server or modifications to the 'Tool' object schema? This information will help in diagnosing and resolving the issue.