How Dolphin MCP works
mainDolphin MCP acts as a bridge between LLMs and MCP servers. The workflow is as follows:
- Configuration: The client loads
mcp_config.jsonand connects to all specified MCP servers. - Tool Discovery: It retrieves the list of available tools from every connected server.
- Querying: The user's query and the list of available tools are sent to the LLM (OpenAI, Anthropic, Ollama, or LMStudio).
- Tool Execution: If the LLM requests a tool call, the library routes the request to the correct MCP server, executes it, and returns the result to the LLM.
- Response: This loop continues until the LLM can provide a final conversational response based on the tool outputs.