Skip to content

feat(plasmic-mcp): expose global context providers via inspect.list-global-contexts#199

Merged
field123 merged 1 commit into
masterfrom
feat/mcp-global-contexts
Mar 27, 2026
Merged

feat(plasmic-mcp): expose global context providers via inspect.list-global-contexts#199
field123 merged 1 commit into
masterfrom
feat/mcp-global-contexts

Conversation

@field123
Copy link
Copy Markdown
Collaborator

@field123 field123 commented Mar 27, 2026

Summary

Add inspect.list-global-contexts action that reads site.globalContexts — the same data source Studio's Settings panel uses. For each global context TplComponent, returns:

  • Component name and UUID
  • Source package (import path)
  • Configured prop values (extracted from vsettings[0].args)

Also adds globalContextCount and context name list to project.get-meta.

Closes the last remaining MCP gap (27 from the gap tracker). This session resolved all 27 tracked gaps.

Test plan

  • 2296 tests pass
  • Build succeeds, type check passes
  • To manually verify: load a project with installed context packages (e.g., EP commerce), call inspect.list-global-contexts

…lobal-contexts

Add inspect.list-global-contexts action that reads site.globalContexts
(matching Studio's LeftProjectSettingsPanel read pattern). For each
TplComponent in the array, returns component name, UUID, source package,
and configured prop values extracted from vsettings[0].args.

Also adds globalContextCount and globalContexts summary to project.get-meta.

Closes the last remaining MCP gap (#27).
@field123 field123 merged commit a57d6bb into master Mar 27, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant