mcp-new 1.2.0 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/dist/cli.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -256,6 +256,20 @@ mcp-new test-project --preset database -t -y
|
|
|
256
256
|
|
|
257
257
|
---
|
|
258
258
|
|
|
259
|
+
## 📚 Full Documentation
|
|
260
|
+
|
|
261
|
+
For detailed documentation, see the [docs](./docs) folder:
|
|
262
|
+
|
|
263
|
+
| Document | Description |
|
|
264
|
+
|----------|-------------|
|
|
265
|
+
| [Getting Started](./docs/getting-started.md) | Installation and first steps |
|
|
266
|
+
| [CLI Reference](./docs/cli-reference.md) | Complete command reference |
|
|
267
|
+
| [Presets](./docs/presets.md) | Pre-configured templates |
|
|
268
|
+
| [Templates](./docs/templates.md) | Language-specific guides |
|
|
269
|
+
| [OpenAPI Integration](./docs/openapi.md) | Generate from specs |
|
|
270
|
+
| [AI Generation](./docs/ai-generation.md) | Create with Claude |
|
|
271
|
+
| [Contributing](./docs/contributing.md) | How to contribute |
|
|
272
|
+
|
|
259
273
|
## 🔗 Resources
|
|
260
274
|
|
|
261
275
|
- [MCP Specification](https://spec.modelcontextprotocol.io/)
|
package/dist/cli.js
CHANGED
|
@@ -56,7 +56,7 @@ ${chalk.bold("Learn More:")}
|
|
|
56
56
|
Documentation: ${chalk.underline("https://github.com/d1maash/mcp-new")}
|
|
57
57
|
MCP Spec: ${chalk.underline("https://spec.modelcontextprotocol.io")}
|
|
58
58
|
`;
|
|
59
|
-
program.name("mcp-new").description("CLI tool for generating MCP (Model Context Protocol) servers").version("1.2.
|
|
59
|
+
program.name("mcp-new").description("CLI tool for generating MCP (Model Context Protocol) servers").version("1.2.1").addHelpText("beforeAll", logo).addHelpText("after", examples);
|
|
60
60
|
program.argument("[project-name]", "Name of the project to create").option("-t, --typescript", "Use TypeScript template").option("-p, --python", "Use Python template").option("-g, --go", "Use Go template").option("-r, --rust", "Use Rust template").option("--skip-install", "Skip dependency installation").option("--from-openapi <path>", "Generate from OpenAPI/Swagger specification").option("--from-prompt", "Generate tools using AI from text description").option("--preset <name>", "Use a preset template (database, rest-api, filesystem)").option("-y, --yes", "Skip prompts and use defaults").action(createCommand);
|
|
61
61
|
program.command("init").description("Initialize MCP server in the current directory").option("-t, --typescript", "Use TypeScript template").option("-p, --python", "Use Python template").option("-g, --go", "Use Go template").option("-r, --rust", "Use Rust template").option("--skip-install", "Skip dependency installation").option("-f, --force", "Initialize even if directory contains files").addHelpText("after", `
|
|
62
62
|
${chalk.bold("Examples:")}
|