# Your Codename One App Can Be an MCP Server

DevFeed: [Your Codename One App Can Be an MCP Server](<https://devfeed.tech/articles/your-codename-one-app-can-be-an-mcp-server-19260.md>)

Original publisher: [Read original article](<https://www.codenameone.com/blog/codename-one-mcp-server/>)

Author: Shai Almog

Published: 2026-07-21T00:00:00Z

Content type: article

Language: en

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

Topics: [MCP Server](<https://devfeed.tech/topics/mcp-server.md>), [Model Context Protocol (MCP)](<https://devfeed.tech/topics/model-context-protocol-mcp.md>), [ui](<https://devfeed.tech/topics/ui.md>), [Accessibility](<https://devfeed.tech/topics/accessibility.md>), [App](<https://devfeed.tech/topics/app.md>)

Tags: [accessibility](<https://devfeed.tech/tags/accessibility.md>), [agents](<https://devfeed.tech/tags/agents.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [json](<https://devfeed.tech/tags/json.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [process](<https://devfeed.tech/tags/process.md>), [rpc](<https://devfeed.tech/tags/rpc.md>), [standard](<https://devfeed.tech/tags/standard.md>), [ui](<https://devfeed.tech/tags/ui.md>)

## AI overview

The article explains how a running Codename One simulator or JavaSE desktop tool can expose its semantic UI and application tools through a local Model Context Protocol server. MCP hosts can inspect forms, interact with labeled fields and buttons, and invoke domain tools while actions run on the event dispatch thread and return fresh state snapshots.

## Source excerpt

A running Codename One simulator or JavaSE tool can expose its semantic UI and application tools to coding agents over MCP.