jmiller 5505a305cc
Universal: Auto Version Bump / Version Bump (push) Successful in 21s
Universal: Build & Release / Promote to RC (pull_request) Has been skipped
Universal: Build & Release / Build & Release Pipeline (pull_request) Has been skipped
Universal: Pre-Release / Build Pre-Release (${{ inputs.stability || github.ref_name }}) (push) Successful in 21s
Universal: Auto-Assign / Assign unassigned issues and PRs (pull_request_target) Successful in 3s
Universal: Changelog Validation / Validate CHANGELOG.md (pull_request) Has been skipped
Generic: Project CI / Lint & Validate (pull_request) Successful in 28s
MCP: Copilot Agent / Run Copilot Coding Agent (pull_request) Failing after 5s
Universal: PR Check / Branch Policy (pull_request) Successful in 3s
Universal: PR Check / Secret Scan (pull_request) Successful in 8s
Universal: PR Check / Validate PR (pull_request) Failing after 6s
Generic: Repo Health / Access control (pull_request) Successful in 2s
Generic: Repo Health / Site Health (pull_request) Has been skipped
MCP: Standards Compliance / Secret Scanning (pull_request) Successful in 6s
Universal: CodeQL Analysis / Analyze (actions) (pull_request) Failing after 1m7s
MCP: Standards Compliance / License Header Validation (pull_request) Successful in 6s
Universal: CodeQL Analysis / Analyze (javascript) (pull_request) Failing after 1m8s
MCP: Standards Compliance / Repository Structure Validation (pull_request) Failing after 6s
MCP: Standards Compliance / Coding Standards Check (pull_request) Failing after 7s
MCP: Standards Compliance / Workflow Configuration Check (pull_request) Failing after 6s
MCP: Standards Compliance / Documentation Quality Check (pull_request) Successful in 6s
MCP: Standards Compliance / README Completeness Check (pull_request) Failing after 5s
MCP: Standards Compliance / Git Repository Hygiene (pull_request) Successful in 7s
MCP: Standards Compliance / Line Length Check (pull_request) Failing after 7s
MCP: Standards Compliance / Script Integrity Validation (pull_request) Successful in 9s
MCP: Standards Compliance / File Naming Standards (pull_request) Successful in 6s
MCP: Standards Compliance / Insecure Code Pattern Detection (pull_request) Successful in 6s
MCP: Standards Compliance / Version Consistency Check (pull_request) Successful in 1m22s
MCP: Standards Compliance / Dead Code Detection (pull_request) Successful in 8s
MCP: Standards Compliance / File Size Limits (pull_request) Successful in 6s
MCP: Standards Compliance / Binary File Detection (pull_request) Successful in 7s
MCP: Standards Compliance / TODO/FIXME Tracking (pull_request) Successful in 5s
MCP: Standards Compliance / Code Complexity Analysis (pull_request) Successful in 1m25s
MCP: Standards Compliance / Code Duplication Detection (pull_request) Successful in 1m30s
MCP: Standards Compliance / Broken Link Detection (pull_request) Successful in 7s
MCP: Standards Compliance / API Documentation Coverage (pull_request) Successful in 6s
MCP: Standards Compliance / Accessibility Check (pull_request) Successful in 6s
MCP: Standards Compliance / Performance Metrics (pull_request) Successful in 6s
MCP: Standards Compliance / Unused Dependencies Check (pull_request) Successful in 1m22s
MCP: Standards Compliance / Dependency Vulnerability Scanning (pull_request) Successful in 1m26s
MCP: Standards Compliance / Terraform Configuration Validation (pull_request) Successful in 17s
MCP: Standards Compliance / Enterprise Readiness Check (pull_request) Successful in 1m13s
MCP: Standards Compliance / Repository Health Check (pull_request) Successful in 1m15s
Branch Cleanup / Delete merged branch (pull_request) Has been skipped
Universal: Workflow Sync Trigger / Sync workflows to live repos (pull_request) Has been skipped
RC Revert / Rename rc/ back to dev/ (pull_request) Has been skipped
Generic: Project CI / Tests (pull_request) Has been cancelled
Universal: CodeQL Analysis / Security Scan Summary (pull_request) Has been cancelled
Universal: PR Check / Build RC Package (pull_request) Has been cancelled
Universal: PR Check / Report Issues (pull_request) Has been cancelled
Generic: Repo Health / Scripts governance (pull_request) Has been cancelled
Generic: Repo Health / Repository health (pull_request) Has been cancelled
Generic: Repo Health / Report: Scripts Governance (pull_request) Has been cancelled
Generic: Repo Health / Report: Repository Health (pull_request) Has been cancelled
MCP: Standards Compliance / Compliance Summary (pull_request) Has been cancelled
ci(templates): AND Template- guard into remaining platform release/publish/sync workflows
2026-07-05 20:40:06 +00:00

Template-MCP

Language License Platform Wiki

Template repository for creating MokoStandards-compliant Model Context Protocol (MCP) API servers. Provides the scaffolding, configuration patterns, and architecture conventions used by all Moko Consulting MCP servers, enabling AI assistants like Claude to interact with REST APIs through a standardized tool interface.

Features

  • MCP server scaffolding -- pre-configured TypeScript project structure with entry point, tool registration, and stdio transport ready to go
  • Multi-connection support -- built-in config.json pattern for managing multiple named API connections with a default fallback; all tools accept an optional connection parameter
  • REST API bridge architecture -- standardized pattern for bridging any REST API as MCP tools, with typed request/response handling
  • TypeScript-first -- full TypeScript setup with tsconfig.json, strict mode, and ES module output
  • Build tooling -- Makefile with build, dev, clean, and lint targets; npm scripts for compilation and development
  • MokoStandards compliant -- follows all Moko Consulting governance conventions: file headers, commit messages, .gitattributes, .gitmessage, PR/issue templates
  • Example configuration -- config.example.json demonstrates the connection configuration schema
  • Documentation templates -- wiki pages for API reference, architecture overview, and installation pre-generated

Installation

  1. Create a new repository from this template (or clone directly):
    git clone https://git.mokoconsulting.tech/MokoConsulting/Template-MCP.git my-mcp-server
    cd my-mcp-server
    
  2. Install dependencies:
    npm install
    
  3. Copy and configure the connection file:
    cp config.example.json config.json
    # Edit config.json with your API credentials
    
  4. Build the project:
    npm run build
    
  5. Run the server:
    node build/index.js
    

Configuration

Path Purpose
src/ TypeScript source files (server entry, tool definitions, API client)
config.example.json Example multi-connection configuration schema
config.json Local connection configuration (gitignored)
package.json npm dependencies and scripts
tsconfig.json TypeScript compiler configuration
scripts/ Build and development utility scripts
docs/ Developer documentation
Makefile Build, dev, clean, and lint targets

Requirements

  • Node.js 20.0.0 or later
  • npm 9+
  • TypeScript 5+ (installed via npm)

Documentation

Full documentation is available on the Wiki, including:

  • API -- tool reference and connection parameter documentation
  • ARCHITECTURE -- MCP server design and REST API bridge pattern
  • INSTALLATION -- setup prerequisites and configuration guide

Contributing

See the wiki for development guidelines and contribution instructions.

License

This project is licensed under the GNU General Public License v3.0 or later -- see the LICENSE file.


Moko Consulting -- MokoStandards

Template CI Notes

Build/CI/release/version workflows are guarded to skip template repos (Template-*) and only run in repos created from them.

S
Description
Template repository for creating MokoStandards-compliant MCP API servers
Readme GPL-3.0
867 KiB
Languages
Markdown 67%
TypeScript 27.2%
Makefile 3%
JSON 2.8%