modelcontextprotocol / modelcontextprotocol/ext-apps

View state persistence

Open
#417 2 comments 8 reactions 1 assignee View on GitHub

@idosal is already working on this.

Since Jan 31, 2026.

enhancement protocol
Dominant language
TypeScript
Stars
2.9k
Forks
387
Avg merge
3h 21m
Merged PRs (30d)
6

Description

Views may need to persist private state locally.

Currently, the protocol doesn't provide a native mechanism for it. Many apps opt for browser API patterns (e.g., localStorage). This solution is brittle because it assumes these APIs are available and consistent across environments, even though their availability depends on unspecified runtime constraints (e.g., user agent, origin management).

MCP Apps should either document the runtime constraints or define a reliable API.

Related to #213

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.