@stone-js/mcp-dev 0.8.0 → 0.8.2

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 CHANGED
@@ -1,9 +1,16 @@
1
1
  # Stone.js · MCP dev server
2
2
 
3
- [![npm](https://img.shields.io/npm/v/@stone-js/mcp-dev)](https://www.npmjs.com/package/@stone-js/mcp-dev)
3
+ [![npm license](https://img.shields.io/npm/l/@stone-js/mcp-dev)](https://opensource.org/licenses/MIT)
4
+ [![npm version](https://img.shields.io/npm/v/@stone-js/mcp-dev)](https://www.npmjs.com/package/@stone-js/mcp-dev)
5
+ [![npm downloads](https://img.shields.io/npm/dm/@stone-js/mcp-dev)](https://www.npmjs.com/package/@stone-js/mcp-dev)
6
+ ![Maintenance](https://img.shields.io/maintenance/yes/2026)
4
7
  [![CI](https://github.com/stone-foundation/stone-js-framework/actions/workflows/ci.yml/badge.svg)](https://github.com/stone-foundation/stone-js-framework/actions/workflows/ci.yml)
5
- [![Quality Gate](https://sonarcloud.io/api/project_badges/measure?project=stone-foundation_stone-js-framework&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=stone-foundation_stone-js-framework)
6
- [![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
8
+ [![Release](https://github.com/stone-foundation/stone-js-framework/actions/workflows/release.yml/badge.svg)](https://github.com/stone-foundation/stone-js-framework/actions/workflows/release.yml)
9
+ [![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=stone-foundation_stone-js-framework&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=stone-foundation_stone-js-framework)
10
+ [![Coverage](https://sonarcloud.io/api/project_badges/measure?project=stone-foundation_stone-js-framework&metric=coverage)](https://sonarcloud.io/summary/new_code?id=stone-foundation_stone-js-framework)
11
+ [![Security Policy](https://img.shields.io/badge/Security-Policy-blue.svg)](https://github.com/stone-foundation/stone-js-framework/blob/main/SECURITY.md)
12
+ [![CodeQL](https://github.com/stone-foundation/stone-js-framework/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/stone-foundation/stone-js-framework/security/code-scanning)
13
+ [![Dependabot Status](https://img.shields.io/badge/Dependabot-enabled-brightgreen.svg)](https://github.com/stone-foundation/stone-js-framework/network/updates)
7
14
  [![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg)](https://conventionalcommits.org)
8
15
 
9
16
  > Serve Stone.js's knowledge to your coding agent. One command — `stone mcp` — starts an MCP server exposing the framework's concepts, modules and best-practices (plus your own tools), so the LLM masters the context while you master the domain.
@@ -51,7 +51,7 @@ export interface McpToolDef {
51
51
  name: string;
52
52
  description?: string;
53
53
  inputSchema?: Record<string, unknown>;
54
- handler: (args: Record<string, unknown>) => unknown | Promise<unknown>;
54
+ handler: (args: Record<string, unknown>) => unknown;
55
55
  }
56
56
  /**
57
57
  * Options for the GitHub report tools: open a bug/feature issue straight from the dev loop.
package/dist/index.js CHANGED
@@ -30,8 +30,8 @@ function mcpServerEntry(command = 'stone') {
30
30
  * @returns The merged config and whether it changed.
31
31
  */
32
32
  function mergeMcpJson(existing) {
33
- const config = { ...(existing ?? {}) };
34
- const servers = { ...(config.mcpServers ?? {}) };
33
+ const config = { ...existing };
34
+ const servers = { ...config.mcpServers };
35
35
  const changed = servers.stone === undefined;
36
36
  if (changed) {
37
37
  servers.stone = mcpServerEntry();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stone-js/mcp-dev",
3
- "version": "0.8.0",
3
+ "version": "0.8.2",
4
4
  "description": "Serve Stone.js's knowledge to your coding agent. A single `stone mcp` command starts an MCP server (stdio) exposing the framework's concepts, modules and best-practices plus your own tools, so the LLM masters the context while you master the domain.",
5
5
  "author": "Mr. Stone <evensstone@gmail.com>",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "node": ">=18.17.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@stone-js/core": "0.8.0"
50
+ "@stone-js/core": "0.8.2"
51
51
  },
52
52
  "dependencies": {
53
53
  "@modelcontextprotocol/sdk": "^1.29.0"