Skip to content

chore(mcp): add local MCP build helper script#275

Open
defin85 wants to merge 1 commit intozilliztech:masterfrom
defin85:feature/mcp-build-local-script
Open

chore(mcp): add local MCP build helper script#275
defin85 wants to merge 1 commit intozilliztech:masterfrom
defin85:feature/mcp-build-local-script

Conversation

@defin85
Copy link

@defin85 defin85 commented Feb 20, 2026

Supersedes #273 to align with branch naming convention in CONTRIBUTING.md (feature/...).

Summary

Adds a local helper script to bootstrap and build MCP in one command.

Changes

  • Added scripts/build-local-mcp.sh.
  • Loads Node via nvm (default Node 22, configurable via NODE_VERSION).
  • Ensures pnpm is available.
  • Runs pnpm install --ignore-scripts to avoid interactive approve-build warnings in local bootstrap.
  • Builds @zilliz/claude-context-core and @zilliz/claude-context-mcp.
  • Verifies output entrypoint exists at packages/mcp/dist/index.js.
  • Script is shellcheck-clean.

Validation

  • shellcheck scripts/build-local-mcp.sh
  • bash scripts/build-local-mcp.sh
  • pnpm build

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