Template
docs(rename): Template-MCP -> Template-NPM across wiki
Repo renamed to Template-NPM (npm platform). Updates repo identity references and links in all wiki pages. MCP protocol references (Model Context Protocol / MCP server) are retained. Claude-Session: https://claude.ai/code/session_01DQEMmJPe61ya7HDfA6BHP8
+1
-1
@@ -55,7 +55,7 @@ List all configured connections. No parameters.
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Revision | Date | Author | Description |
|
||||
|---|---|---|---|
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ Multi-instance support is a core use case -- managing staging, production, and d
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Revision | Date | Author | Description |
|
||||
|---|---|---|---|
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
# Template-MCP
|
||||
# Template-NPM
|
||||
|
||||
Template repository for creating MokoCLI-compliant Model Context Protocol (MCP) API servers. Provides scaffolding, configuration patterns, and architecture conventions for bridging AI assistants with REST APIs through a standardized tool interface.
|
||||
|
||||
@@ -6,7 +6,7 @@ Template repository for creating MokoCLI-compliant Model Context Protocol (MCP)
|
||||
|---|---|
|
||||
| **Language** | TypeScript |
|
||||
| **License** | GPL-3.0-or-later |
|
||||
| **Platform** | [MokoGitea](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) |
|
||||
| **Platform** | [MokoGitea](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) |
|
||||
|
||||
---
|
||||
|
||||
@@ -52,7 +52,7 @@ Template repository for creating MokoCLI-compliant Model Context Protocol (MCP)
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Revision | Date | Author | Description |
|
||||
|---|---|---|---|
|
||||
|
||||
+1
-1
@@ -94,7 +94,7 @@ Run `npm run setup` to create the config file.
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) . [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Revision | Date | Author | Description |
|
||||
|---|---|---|---|
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
# Changelog Template
|
||||
|
||||
Copy this template into new MCP server repos created from Template-MCP. Place it at the root as `CHANGELOG.md`.
|
||||
Copy this template into new MCP server repos created from Template-NPM. Place it at the root as `CHANGELOG.md`.
|
||||
|
||||
---
|
||||
|
||||
@@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- Initial MCP server setup from Template-MCP
|
||||
- Initial MCP server setup from Template-NPM
|
||||
- `api_request` raw API tool
|
||||
- `list_connections` connection management tool
|
||||
|
||||
@@ -56,7 +56,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+4
-4
@@ -2,7 +2,7 @@
|
||||
|
||||
# Configuration
|
||||
|
||||
Configuration file reference for MCP servers built from the Template-MCP template.
|
||||
Configuration file reference for MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -130,7 +130,7 @@ Register the MCP server in `.mcp.json` (project) or `~/.claude.json` (global):
|
||||
|
||||
| Field | Detail |
|
||||
|---|---|
|
||||
| `type` | Always `"stdio"` for Template-MCP servers |
|
||||
| `type` | Always `"stdio"` for Template-NPM servers |
|
||||
| `command` | `"node"` |
|
||||
| `args` | Absolute path to the compiled `dist/index.js` |
|
||||
|
||||
@@ -159,7 +159,7 @@ node -e "console.log(JSON.parse(require('fs').readFileSync(process.env.HOME + '/
|
||||
|
||||
### List Connections
|
||||
|
||||
Use the `list_connections` tool (built into every Template-MCP server) to verify the loaded connections.
|
||||
Use the `list_connections` tool (built into every Template-NPM server) to verify the loaded connections.
|
||||
|
||||
---
|
||||
|
||||
@@ -172,7 +172,7 @@ Use the `list_connections` tool (built into every Template-MCP server) to verify
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# Contributing Guidelines
|
||||
|
||||
How to contribute to MCP servers built from the Template-MCP template.
|
||||
How to contribute to MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -179,7 +179,7 @@ Add new tools in `src/index.ts`. If a tool needs complex logic, extract helper f
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# Deployment
|
||||
|
||||
How to distribute and register MCP servers built from the Template-MCP template.
|
||||
How to distribute and register MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -165,7 +165,7 @@ MCP server repos follow this naming convention:
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+3
-3
@@ -2,7 +2,7 @@
|
||||
|
||||
# Development Guide
|
||||
|
||||
Best practices and guidelines for developing MCP servers built from the Template-MCP template.
|
||||
Best practices and guidelines for developing MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -19,7 +19,7 @@ Best practices and guidelines for developing MCP servers built from the Template
|
||||
|
||||
### 1. Create a Repo from the Template
|
||||
|
||||
On MokoGitea, click **Use this template** on the [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) page.
|
||||
On MokoGitea, click **Use this template** on the [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) page.
|
||||
|
||||
Name your repo following the convention:
|
||||
- `mcp-moko{service}` for service-specific servers (e.g., `mcp-mokosuite`, `mcp-mokocrm`)
|
||||
@@ -276,7 +276,7 @@ return formatResponse(result);
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Revision | Date | Author | Description |
|
||||
|---|---|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# FAQ
|
||||
|
||||
Frequently asked questions about MCP servers built from the Template-MCP template.
|
||||
Frequently asked questions about MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -132,7 +132,7 @@ echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | node dist/in
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# Security
|
||||
|
||||
Security standards for MCP servers built from the Template-MCP template.
|
||||
Security standards for MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -198,7 +198,7 @@ Before releasing an MCP server:
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# Testing
|
||||
|
||||
Testing procedures for MCP servers built from the Template-MCP template.
|
||||
Testing procedures for MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -153,7 +153,7 @@ Before merging to `main`:
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
+2
-2
@@ -2,7 +2,7 @@
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
Common issues when developing and deploying MCP servers built from the Template-MCP template.
|
||||
Common issues when developing and deploying MCP servers built from the Template-NPM template.
|
||||
|
||||
---
|
||||
|
||||
@@ -331,7 +331,7 @@ cat ~/.<project>.json | jq '.connections | keys'
|
||||
|
||||
---
|
||||
|
||||
*Repo: [Template-MCP](https://git.mokoconsulting.tech/MokoConsulting/Template-MCP) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
*Repo: [Template-NPM](https://git.mokoconsulting.tech/MokoConsulting/Template-NPM) · [MokoCLI](https://git.mokoconsulting.tech/MokoConsulting/.mokogitea/wiki)*
|
||||
|
||||
| Field | Value |
|
||||
|---|---|
|
||||
|
||||
@@ -46,7 +46,7 @@ Template workflow for publishing MCP servers to npmjs.org and the MokoGitea npm
|
||||
|
||||
## Setup for New MCP Repos
|
||||
|
||||
1. Create repo from Template-MCP
|
||||
1. Create repo from Template-NPM
|
||||
2. Add `NPM_TOKEN` secret (org-level or repo-level)
|
||||
3. Set `name` in `package.json` to `@mokoconsulting/{server-name}`
|
||||
4. Push to main -- workflow auto-publishes
|
||||
|
||||
Reference in New Issue
Block a user