refactor(mcp)!: rename @objectstack/plugin-mcp-server → @objectstack/mcp + ADR-0036 amendment#1627
Merged
Merged
Conversation
…mcp + ADR-0036 amendment Drops the legacy `plugin-` prefix and moves the outbound MCP-server package to the top level (`packages/mcp`), parallel to `@objectstack/rest` — both are "your app exposed over a protocol". Inbound MCP stays `@objectstack/connector-mcp`. - packages/plugins/plugin-mcp-server → packages/mcp; name → @objectstack/mcp; internal plugin id → com.objectstack.mcp; build/tsconfig relative paths fixed for the new depth. Exported API unchanged (MCPServerPlugin, MCPServerRuntime, registerObjectTools, McpDataBridge, …). - @objectstack/cli: dependency + dynamic-loader pkg id updated. - Inbound refs (runtime test, spec comment, changeset config, docs) updated. Pre-launch clean break — no compat shim (only cli depended on it internally). - ADR-0036 amendment (2026-06-07): records (A) the rename, (B) granularity = per-environment not per-app (one MCP server per env covers all apps; dynamic apps via live discovery; key-scope for narrowing), (C) distribution = skills + MCP (one generic portable Skill + live MCP, not hand-maintained vendor config snippets) — verified Agent Skills is now an open cross-platform standard. - Status updated: Phase 1a (#1624) + Phase 2 (#1626) shipped; Phase 2b next. Build + typecheck + tests green (mcp 36, runtime mcp 5); lockfile regenerated. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Jun 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Renames the outbound MCP-server package
@objectstack/plugin-mcp-server→@objectstack/mcpand records the related decisions in ADR-0036. This is PR① of the agreed sequence (rename + ADR, then Phase 2b surfacing).Why
plugin-is legacy naming. The package is the outbound twin of@objectstack/rest— "your app exposed over a protocol" — and the repo already names that kind of capability as a top-level, no-prefix package (packages/rest). Sorest(old surface) +mcp(new surface) sit as peers; inbound MCP (consuming external servers) stays@objectstack/connector-mcp.Changes
packages/plugins/plugin-mcp-server→packages/mcp; package name →@objectstack/mcp; internal plugin id →com.objectstack.mcp;build/tsconfigrelative paths fixed for the new depth. Exported API unchanged (MCPServerPlugin,MCPServerRuntime,registerObjectTools,McpDataBridge, …).@objectstack/cli: dependency + dynamic-loader pkg id updated.spec/ai/mcp.zod.tscomment,.changeset/config.jsonfixed-group, the feat(mcp): Streamable HTTP transport — apps as MCP servers (ADR-0036 Phase 2) #1626 changeset, README/docs.@objectstack/clidepended on it internally).ADR-0036 amendment (2026-06-07)
Adds an amendment block capturing three decisions that refine/supersede the original text:
@objectstack/mcp.list_objects/describe_object), new app → zero reinstall. Narrowing viasys_api_key.scopes, not separate servers.SKILL.md) is now an open cross-platform standard (Claude Code, OpenAI Codex, Gemini CLI, Copilot, Cursor, …). MCP = live governed access (the moat); a single generic ObjectStack Skill = the portable how-to layer on top. Status updated: Phase 1a (feat(runtime): harden hand-rolled API-key auth (ADR-0036 Phase 1a) #1624) + Phase 2 (feat(mcp): Streamable HTTP transport — apps as MCP servers (ADR-0036 Phase 2) #1626) shipped; Phase 2b next.Verification (local)
@objectstack/mcpbuild incl. DTS ✓;@objectstack/cli+@objectstack/runtimebuild ✓ (51 tasks).tsc --noEmitclean (mcp, cli).plugin-mcp-serverleft).🤖 Generated with Claude Code