Template
ff156d3df8
Branding: the MokoGIT wordmark is caps-GIT. Corrects the display token from MokoGit to MokoGIT (case-sensitive; lowercase path form .mokogit untouched). Claude-Session: https://claude.ai/code/session_01DQEMmJPe61ya7HDfA6BHP8
1.8 KiB
1.8 KiB
CLAUDE.md
This file provides guidance to Claude Code when working with this repository.
Project Overview
Template-NPM -- Template repository for creating MokoCLI-compliant MCP API servers
| Field | Value |
|---|---|
| Platform | mcp-server |
| Language | TypeScript |
| Default branch | main |
| License | GPL-3.0-or-later |
| Wiki | Template-NPM Wiki |
| Standards | MokoCLI |
Common Commands
make build # Build the project
make lint # Run linters
make validate # Validate structure
make release # Full release pipeline
make minify # Minify CSS/JS assets
make clean # Clean build artifacts
npm install # Install dependencies
npm run build # Compile TypeScript
npm run dev # Development mode
Architecture
This is an MCP (Model Context Protocol) server. Key files:
src/index.ts-- server entry point and tool registrationsrc/config.ts-- configuration loadingsrc/tools/-- individual tool implementationsdist/-- compiled output (gitignored)
Rules
-
Workflow directory:
.mokogit/(not.gitea/or.github/) -
Never commit
.claude/,.mcp.json,TODO.md, or*.min.css/*.min.js -
Attribution: use
Authored-by: Moko Consultingin commits -
Branch strategy: develop on
dev, merge tomainfor release -
Minification: handled at build time (CI) and runtime (MokoMinifyHelper for Joomla templates)
-
Wiki: documentation lives in the MokoGIT wiki, not in
docs/files -
Standards: this repo follows MokoCLI