@suco/su-auggie-mcp 0.1.4 → 0.1.6

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,5 +1,9 @@
1
1
  # @suco/su-auggie-mcp
2
2
 
3
+ [![npm version](https://img.shields.io/npm/v/@suco/su-auggie-mcp.svg)](https://www.npmjs.com/package/@suco/su-auggie-mcp)
4
+ [![npm downloads](https://img.shields.io/npm/dm/@suco/su-auggie-mcp.svg)](https://www.npmjs.com/package/@suco/su-auggie-mcp)
5
+ [![Node.js](https://img.shields.io/node/v/@suco/su-auggie-mcp.svg)](https://nodejs.org)
6
+
3
7
  An MCP (Model Context Protocol) server by [Solutions Unity](https://solutionsunity.com) utilizing the [Augment Code SDK](https://www.npmjs.com/package/@augmentcode/auggie-sdk) to expose context engine capabilities.
4
8
 
5
9
  > ⚠️ **Experimental** — This package is a test implementation. Use at your own risk.
@@ -15,13 +19,15 @@ Add to your MCP client configuration:
15
19
  "mcpServers": {
16
20
  "auggie": {
17
21
  "command": "npx",
18
- "args": ["@suco/su-auggie-mcp", "--debug"],
22
+ "args": ["@suco/su-auggie-mcp@latest", "--debug"],
19
23
  "alwaysAllow": ["codebase", "index", "debug"]
20
24
  }
21
25
  }
22
26
  }
23
27
  ```
24
28
 
29
+ > **Note:** Using `@latest` ensures you always get the newest version. Without it, npx caches the package and won't pick up updates on restart.
30
+
25
31
  ### Options
26
32
 
27
33
  | Option | Description |
package/dist/index.js CHANGED
@@ -4,9 +4,12 @@
4
4
  * MCP server exposing Augment Code context engine capabilities
5
5
  */
6
6
  import { Command } from 'commander';
7
+ import { createRequire } from 'node:module';
7
8
  import { startServer } from './server.js';
8
9
  import { createLogger } from './logger.js';
9
10
  import { setDebugMode, setPersistenceEnabled } from './config.js';
11
+ const require = createRequire(import.meta.url);
12
+ const pkg = require('../package.json');
10
13
  const logger = createLogger('CLI');
11
14
  /** Parse workspace paths from CLI argument (supports comma-separated) */
12
15
  function parseWorkspacePaths(value, previous) {
@@ -19,7 +22,7 @@ async function main() {
19
22
  program
20
23
  .name('suco-auggie-mcp')
21
24
  .description('MCP server exposing Augment Code context engine capabilities')
22
- .version('0.1.0')
25
+ .version(pkg.version)
23
26
  .option('-w, --workspace <path>', 'Add workspace path (can be repeated or comma-separated)', parseWorkspacePaths, [])
24
27
  .option('--ignore-roots', 'Ignore MCP roots and CWD fallback, use only -w workspaces')
25
28
  .option('--debug', 'Enable debug mode (logging capability + debug tool)')
@@ -2,10 +2,13 @@
2
2
  * Debug tool - inspect internal server state (only available with --debug)
3
3
  */
4
4
  import { z } from 'zod';
5
+ import { createRequire } from 'node:module';
5
6
  import { workspaceManager } from '../workspace-manager.js';
6
7
  import { createLogger } from '../logger.js';
7
8
  import { INDEXING_CONFIG, WATCHER_CONFIG, PERSISTENCE_CONFIG, isPersistenceEnabled } from '../config.js';
8
9
  import { sendLogToClient, clientSupportsElicitation, elicitInput, getMcpServer, } from '../mcp-notifications.js';
10
+ const require = createRequire(import.meta.url);
11
+ const pkg = require('../../package.json');
9
12
  const logger = createLogger('DebugTool');
10
13
  /** Tool name */
11
14
  export const DEBUG_TOOL_NAME = 'debug';
@@ -99,6 +102,7 @@ export async function handleDebugTool(input) {
99
102
  }
100
103
  case 'config': {
101
104
  const config = {
105
+ version: pkg.version,
102
106
  indexing: INDEXING_CONFIG,
103
107
  watcher: WATCHER_CONFIG,
104
108
  persistence: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suco/su-auggie-mcp",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "MCP server exposing Augment Code context engine capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",