mcpcat
Version:
Analytics tool for MCP (Model Context Protocol) servers - tracks tool usage patterns and provides insights
31 lines (26 loc) • 1.14 kB
Markdown
# MCPcat TypeScript SDK - Development Commands
## Build & Development
- `pnpm build` - Build the project using tsup
- `pnpm dev` - Build in watch mode for development
- `pnpm test` - Run all tests with Vitest
- `pnpm test:compatibility` - Run MCP version compatibility tests
- `pnpm lint` - Run ESLint on source files
- `pnpm typecheck` - Type check with TypeScript (no emit)
## NPM Publishing
- `pnpm run prepublishOnly` - Run all checks before publishing (build, test, lint, typecheck)
- `npm pack --dry-run` - Preview what will be included in the published package
- `npm publish --tag beta` - Publish a beta release
- `npm publish` - Publish a stable release
## Git Commands
- `git status` - Check current changes
- `git diff` - View changes
- `git add .` - Stage all changes
- `git commit -m "message"` - Commit changes
- `git push` - Push to remote
## Installation
- `pnpm install` - Install dependencies
- `pnpm add <package>` - Add a new dependency
- `pnpm remove <package>` - Remove a dependency
## Testing Specific Files
- `pnpm test <file>` - Run tests for a specific file
- `pnpm test --watch` - Run tests in watch mode