Skip to content
ContractSpec
Start here

Package manual · apps

·Integrations and provider selection

app.alpic-mcp

MCP server exposing ALPIC application lifecycle and platform integration operations.

appsappv5.0.4stableservernode
@lssm-tech/app.alpic-mcp
bun add @lssm-tech/app.alpic-mcp
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Website: https://contractspec.io

MCP (Model Context Protocol) server for Alpic. Exposes ContractSpec documentation and tooling to AI agents via the MCP standard.

What It Does

  • Uses @lssm-tech/bundle.alpic for Alpic business logic.
  • Uses @lssm-tech/lib.logger for structured logging.
  • Built with tsdown; runs as a Node.js server.
  • Related ContractSpec packages include @lssm-tech/bundle.alpic, @lssm-tech/lib.logger, @lssm-tech/tool.tsdown, @lssm-tech/tool.typescript.

Running Locally

From packages/apps/alpic-mcp:

  • bun run dev
  • bun run start
  • bun run build

Usage

bash
bun run dev

Architecture

  • Uses @lssm-tech/bundle.alpic for Alpic business logic.
  • Uses @lssm-tech/lib.logger for structured logging.
  • Built with tsdown; runs as a Node.js server.
  • src/index.ts is the root public barrel and package entrypoint.
  • src/server.ts is the main server bootstrap entrypoint.

Public Entry Points

  • Export . resolves through ./dist/index.mjs.
  • Export ./server resolves through ./dist/server.mjs.
  • Export ./* resolves through ./*.

Local Commands

  • bun run dev — tsdown --watch
  • bun run start — node dist/server.js
  • bun run build — tsdown && mkdir -p dist && cp -R assets dist/assets
  • bun run lint — bun run lint:fix
  • bun run lint:check — biome check .
  • bun run lint:fix — biome check --write --unsafe --only=nursery/useSortedClasses . && biome check --write .
  • bun run publish:pkg — bun publish --tolerate-republish --ignore-scripts --verbose
  • bun run publish:pkg:canary — bun publish:pkg --tag canary
  • bun run clean — rm -rf dist

Recent Updates

  • Replace eslint+prettier by biomejs to optimize speed.

Notes

  • MCP protocol compliance is critical — do not break tool/resource schemas.
  • Keep server startup fast; defer heavy initialization.

Relationships

THIS PACKAGEapp.alpic-mcp4 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

3 declarations

Declared capabilities

This manifest does not declare a capability catalogue. Use the guide, import map and source to assess the package.

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • cleanrm -rf dist
  • lintbun run lint:fix
  • lint:fixnode ../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../scripts/biome.cjs check --write .
  • lint:checknode ../../../scripts/biome.cjs check .
  • buildbun ../../../scripts/tsdown.mjs && mkdir -p dist && cp -R assets dist/assets
  • devbun ../../../scripts/tsdown.mjs --watch
  • startnode dist/server.js
  • testbun test