Yes, partially. Wolfram Engine should work for the kernel-only parts: running Wolfram Language code, symbolic/numeric computation, Solve, Integrate, Simplify, Import, Export, etc. I’d run it with MATHEMATICA_PROFILE=math so the notebook/frontend tools are hidden. The part that won’t work with Wolfram Engine alone is live notebook control like creating notebooks, screenshots, selected-cell evaluation, and interactive UI, which need the desktop Mathematica front end.
Ollama, only runs the local model, it doesn’t know how to call MCP tools by itself. You need an app in the middle that supports both Ollama and MCP, for example the Continue extension in VS Code/JetBrains, or any MCP host that can use Ollama/OpenAI-compatible local models.
One thing to note: MCP tool-calling needs a model that is reliably good at structured tool calls. Smaller local models, especially 7B/8B-class models, may produce malformed calls or skip tools entirely. So, use them with caution.