Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[mcp] Plugin MCP package data key derives from the entry id, so installations do not get their own key

Closed Beginner friendly
#490 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
80/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
backend

Research direction

Open apps/nanocore/src/catalog/resource-catalog.ts around lines 1238-1240 where mcpDataKey is defined; also inspect importWorkspacePlugin to see how installation id is omitted. Modify key derivation to include Workspace and installation id when present, keeping entry-id key for standalone. Done when imported members share an installation-scoped key and independent installs get fresh keys, per spec clause.

Written by the indexing model from the issue text.

Description

bug doc-audit

Found by the independent documentation audit (agent-supply group, base b648f86).

Spec clause. MCP Catalog Management, Portable declarations: "A Core-assigned packageDataKey is scoped to the Workspace and original installation id, or to the standalone MCP entry id when no installation exists. MCP members imported as one installation receive the same key; an independent installation or cross-Workspace copy receives a fresh key."

Observed. apps/nanocore/src/catalog/resource-catalog.ts:1238-1240@b648f86 (mcpDataKey) returns mcp_<entryId> (or server_mcp_<entryId>). importWorkspacePlugin passes no installation id to MCP creation, so the members of one installation do not share an installation key, and an independent installation of the same entry id reuses the same data directory.

Required. An installation-scoped key for imported members and a fresh key for an independent installation.

Adjudication. The code differs from a current accepted specification. Mutable process data of two installations can mix.

Repair direction. Derive the key from the Workspace and the original installation id when one exists, and keep the entry-id key for standalone entries.

Severity hint. Ordinary.

Dominant language
TypeScript
Stars
0
Forks
1
Avg merge
3h 54m
Merged PRs (30d)
5

Getting set up

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.

More from lingkaix/openkit

All issues in lingkaix/openkit

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.