McPicker iOS

Developer tools

McPicker is a customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready.

Your AI app calls the McPicker iOS MCP server, which does the developer tools work and sends the result back to the chat.

About McPicker iOS

McPicker iOS is a community MCP server from kmcgill88, filed in our directory under developer tools. McPicker is a customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready.

At a glance

Publisher
kmcgill88 (community)
Runs
See the README for setup
Written in
Swift
License
MIT
GitHub stars
213

How to set up McPicker iOS

  1. Follow the install steps in the McPicker iOS README; it is written in Swift, so have that toolchain ready.
  2. Check the McPicker iOS README for keys or settings; the registry lists none that McPicker iOS requires.
  3. Add McPicker iOS to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the McPicker iOS tools to confirm the connection.
  5. Run one read-only task with McPicker iOS first, and keep your app asking before each tool call until the results look right.

McPicker iOS compared with similar servers

  • Lnwjud by engasnm111 has fewer GitHub stars than McPicker iOS (212 against 213); both are community servers, and both run locally.
  • Ontopoc by Longado has more GitHub stars than McPicker iOS (214 against 213); both are community servers, and both run locally.
  • Mini Harness by phuryn has fewer GitHub stars than McPicker iOS (212 against 213); both are community servers, and Mini Harness runs as a remote server and McPicker iOS runs on your own machine.

Before you connect McPicker iOS

  • Give McPicker iOS its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each McPicker iOS tool call until you trust what it does with them.
  • Treat text that McPicker iOS fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for McPicker iOS on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for McPicker iOS

How marketing and sales teams put McPicker iOS to work, by company size. Pick the size closest to yours and start McPicker iOS on one use case.

Small business

  • A small business with a developer can use McPicker iOS to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask McPicker iOS to explain and fix a marketing site issue without context switching between tools.
  • McPicker iOS runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use McPicker iOS to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect McPicker iOS to keep scripts and automations documented and versioned as they change.
  • Start McPicker iOS on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out McPicker iOS with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on McPicker iOS so web and marketing engineering share one reviewed way of working with AI.
  • McPicker iOS is a community server, so have security review the code and pin a version before McPicker iOS touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

McPicker iOS README

From kmcgill88/McPicker-iOS on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

McPicker

About

McPicker is a UIPickerView drop-in solution with animations that is rotation ready. The more string arrays you pass, the more picker components you'll get. You can set custom label or use the defaults. McPicker can be presented as a Popover on iPhone or iPad using showAsPopover, as an inputView using McTextField or use the default slide up and down style show.

showAsPopover can be used to display from a UIView or UIBarButtonItem. showAsPopover will always be presented as a Popover, even when used on an iPhone.

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Short Syntax
  • Normal - (Slide up from bottom)
McPicker.show(data: [["Kevin", "Lauren", "Kibby", "Stella"]]) {  [weak self] (selections: [Int : String]) -> Void in
    if let name = selections[0] {
        self?.label.text = name
    }
}
  • As Popover
let data: [[String]] = [["Kevin", "Lauren", "Kibby", "Stella"]]
McPicker.showAsPopover(data: data, fromViewController: self, barButtonItem: sender) { [weak self] (selections: [Int : String]) -> Void in
    if let name = selections[0] {
        self?.label.text = name
    }
}
  • As an inputView via McTextField
@IBOutlet weak var mcTextField: McTextField!
override func viewDidLoad() {
    let data: [[String]] = [["Kevin", "Lauren", "Kibby", "Stella"]]
    let mcInputView = McPicker(data: data)
    mcInputView.backgroundColor = .gray
    mcInputView.backgroundColorAlpha = 0.25
    mcTextField.inputViewMcPicker = mcInputView

    mcTextField.doneHandler = { [weak mcTextField] (selections) in
        mcTextField?.text = selections[0]!
    }
    mcTextField.selectionChangedHandler = { [weak mcTextField] (selections, componentThatChanged) in
        mcTextField?.text = selections[componentThatChanged]!
    }
    mcTextField.cancelHandler = { [weak mcTextField] in
        mcTextField?.text = "Cancelled."
    }
    mcTextField.textFieldWillBeginEditingHandler = { [weak mcTextField] (selections) in
        if mcTextField?.text == "" {
            // Selections always default to the first value per component
            mcTextField?.text = selections[0]
        }
    }
}
Customization
let data: [[String]] = [
    ["Sir", "Mr", "Mrs", "Miss"],
    ["Kevin", "Lauren", "Kibby", "Stella"]
]
let mcPicker = McPicker(data: data)

let customLabel = UILabel()
customLabel.textAlignment = .center
customLabel.textColor = .white
customLabel.font = UIFont(name:"American Typewriter", size: 30)!
mcPicker.label = customLabel // Set your custom label

let fixedSpace = McPickerBarButtonItem.fixedSpace(width: 20.0)
let flexibleSpace = McPickerBarButtonItem.flexibleSpace()
let fireButton = McPickerBarButtonItem.done(mcPicker: mcPicker, title: "Fire!!!") // Set custom Text
let cancelButton = McPickerBarButtonItem.cancel(mcPicker: mcPicker, barButtonSystemItem: .cancel) // or system items
// Set custom toolbar items
mcPicker.setToolbarItems(items: [fixedSpace, cancelButton, flexibleSpace, fireButton, fixedSpace])

mcPicker.toolbarItemsFont = UIFont(name:"American Typewriter", size: 17)!
mcPicker.toolbarButtonsColor = .white
mcPicker.toolbarBarTintColor = .darkGray
mcPicker.backgroundColor = .gray
mcPicker.backgroundColorAlpha = 0.50
mcPicker.pickerBackgroundColor = .gray
mcPicker.pickerSelectRowsForComponents = [
    0: [3: true],
    1: [2: true] // [Component: [Row: isAnimated]
]

if let barButton = sender as? UIBarButtonItem {
    // Show as Popover
    //
    mcPicker.showAsPopover(fromViewController: self, barButtonItem: barButton) { [weak self] (selections: [Int : String]) -> Void in
        if let prefix = selections[0], let name = selections[1] {
            self?.label.text = "\(prefix) \(name)"
        }
    }
} else {
    // Show Normal
    //
    mcPicker.show(doneHandler: { [weak self] (selections: [Int : String]) -> Void in
        if let prefix = selections[0], let name = selections[1] {
            self?.label.text = "\(prefix) \(name)"
        }
    }, cancelHandler: {
        print("Canceled Styled Picker")
    }, selectionChangedHandler: { (selections: [Int:String], componentThatChanged: Int) -> Void  in
        let newSelection = selections[componentThatChanged] ?? "Failed to get new selection!"
        print("Component \(componentThatChanged) changed value to \(newSelection)")
    })
}
The selections

McPicker's doneHandler passes back selections: [Int : String] as an argument. This is as simple as [<Component Index>: <String of Selection>] from the data you've passed in.

Requirements

  • iOS 8+
  • Swift 5.2
  • Xcode 12

Note: Starting in 0.5.1 McPicker uses the Swift 4 Compiler. Ensure the correct compiler is set in your project.. If you'd like to use Swift 3 use version <=0.5.0.

Installation

McPicker is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "McPicker"
Xcode 12+ - Swift 5.2 Support
pod 'McPicker', '~> 3.0.0'
Swift 4.2 Support

For Swift 4.2 support, please use version 2.0.0.

pod 'McPicker', '~> 2.0.0'

Author

Kevin McGill, kevin@mcgilldevtech.com

License

McPicker is available under the MIT license. See the LICENSE file for more info.

Questions about McPicker iOS

What is the McPicker iOS MCP server?

McPicker is a customizable, closure driven UIPickerView drop-in solution with animations that is rotation ready. McPicker iOS is maintained by kmcgill88 on GitHub at kmcgill88/McPicker-iOS, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the McPicker iOS MCP server?

McPicker iOS doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (kmcgill88/McPicker-iOS). Like most servers, McPicker iOS ends with a command or URL you paste into your AI app's MCP config.

Does McPicker iOS need an API key?

The registry lists no required keys for McPicker iOS. Check the McPicker iOS README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is McPicker iOS an official MCP server?

No. McPicker iOS is a community server maintained by kmcgill88. Community servers can be excellent; read the code and the open issues before you give McPicker iOS access to company data.

What license is McPicker iOS under?

McPicker iOS is released under the MIT license, according to its GitHub repository. The license covers the code of McPicker iOS; the service it connects to has its own terms.