ml-explore / ml-explore/mlx-swift-examples

Suggestion: MCP example

Open
#243 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
2.7k
Forks
426
PR merge metrics
No merged PRs in 30d

Description

Is it possible to provide an example with MLX working with an MCP server that runs locally. There are several Swift implementations of MCP out there (seemingly lacking actual working examples, which is what is so good about this repository) but it would be great to have an end to end example with MLX. Eg a native iOS app incorporating MLX and MCP server connection to google maps API. The user could enter a prompt in natural language that queries the Google maps API and the results are returned to the user in natural language. The user could say "how do I get to x and how long does it take" and the app provides an answer. If any such examples already exist I'd be happy to hear about them.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests; start by reviewing the existing MLX Swift examples and the proposed native iOS, local MCP server, and Google Maps API flow. Done would be an end-to-end example where a natural-language prompt queries the maps API and returns a natural-language answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
machine-learning, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.