# Codename One Adds On-Device AI and Loopback MCP Support

DevFeed: [Codename One Adds On-Device AI and Loopback MCP Support](<https://devfeed.tech/articles/on-device-ai-and-mcp-on-every-port-19421.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/on-device-ai-mcp-loopback/>)

Author: Shai Almog

Published: 2026-08-02T00:00:00Z

Content type: release

Language: en

Sources: [CodeName One](<https://devfeed.tech/sources/codename-one.md>)

Topics: [On-device AI](<https://devfeed.tech/topics/on-device-ai.md>), [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [LiteRT](<https://devfeed.tech/topics/litert.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [supply-chain-security](<https://devfeed.tech/topics/supply-chain-security.md>)

Tags: [applications](<https://devfeed.tech/tags/applications.md>), [inference](<https://devfeed.tech/tags/inference.md>), [litert](<https://devfeed.tech/tags/litert.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [on-device-ai](<https://devfeed.tech/tags/on-device-ai.md>), [tensorflow-lite](<https://devfeed.tech/tags/tensorflow-lite.md>)

## AI overview

Codename One has added on-device vision, language, and LiteRT inference to its core, alongside a guarded loopback MCP transport for inspecting and operating applications. The article explains platform support, asynchronous OCR, model sessions, secure model downloads, and privacy limitations of local inference.

## Source excerpt

Codename One now exposes on-device vision, language, and LiteRT inference in the core, while a guarded loopback MCP transport lets an LLM inspect and drive real applications.