Heads up: Ollama itself does NOT have native MCP client support, it’s an LLM runtime, not an MCP host.
LM Studio (mcp.json)
LM Studio supports both transport patterns. Try the direct HTTP form first (works in LM Studio 0.3.x+):
{
“mcpServers”: {
“royal-mcp”: {
“url”: “https://YOUR_SITE.com/wp-json/royal-mcp/v1/mcp”,
“headers”: {
“X-Royal-MCP-API-Key”: “YOUR_API_KEY_HERE”
}
}
}
}
If that fails (older LM Studio, or “stdio only” build), use the mcp-remote bridge form (this is what works for sure on every MCP client because it tunnels stdio β HTTP for you):
{
“mcpServers”: {
“royal-mcp”: {
“command”: “npx”,
“args”: [
“-y”,
“mcp-remote”,
“https://YOUR_SITE.com/wp-json/royal-mcp/v1/mcp”,
“–header”,
“X-Royal-MCP-API-Key:YOUR_API_KEY_HERE”
]
}
}
}
Where to put the file:
- macOS: ~/.lmstudio/mcp.json
- Windows: %USERPROFILE%.lmstudio\mcp.json
- Linux: ~/.lmstudio/mcp.json After saving: restart LM Studio (or use the “Reload MCP servers” button in newer versions). Royal MCP’s tools should appear in the model’s available-tools list.
Added this to our support documentation as well, with what to do with Ollama so you can bookmark https://royalplugins.com/support/royal-mcp/#ai-ide-compat
Isn’t this just great! so, let me thank you again. First option works like a charm, just mind the ” when pasting but LM recognizes directly, also saw the latest update with theme support etc, should limit the token usage on Claude i believe. Ollama, yes you are right also, still investigating if i can use LM studio with Ollama engine (to offload to cloud ollama to run big models), is basically what i meant.
Many thanks, love your support and what you’re doing. kick back to you, maybe take a peek at https://mcpservers.org/ see some other wordpress mcp servers/clients there (most support less) that might provide new insights or additional possibilities or you want to register it there to get more users and a backlink π
Keep up the good work! Cheers!
Thanks for all your feedback and support, ya we are waiting to hear back from several mcp server listing sites on how to handle docker file in a WP plugin like this, so its in motion.