Local MCP tool support for Ollama client (native or OpenAIChatClient compatible) #5303
Replies: 2 comments
-
|
I'm having the same problem... I have an agent based on nemotron-3-nano:4b via Ollama and sometimes, rather than invoking the tool, Agent Framework returns the tool invocation like:
Sometimes, the MCP call does get intercepted by AF and other times it doesn't. |
Beta Was this translation helpful? Give feedback.
-
|
So, MCPTools (the non-hosted ones), like MCPStdioTool are all just wrappers creating a set of |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to use the MCPStdioTool to integrate my mcp server with my agent using the Ollama client, however, the tool is not being used by the agent to give the response. Does this mean Ollama doesn't support MCPStdioTool? But according to the latest official documentation (https://learn.microsoft.com/en-us/agent-framework/agents/tools/?pivots=programming-language-python), the picture below shows that it is supported. If it is actually supported, how should I use it?
Beta Was this translation helpful? Give feedback.
All reactions