@atlisp/mcp 1.0.20 → 1.0.21
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/package.json +1 -1
- package/src/atlisp-mcp.js +2 -2
package/package.json
CHANGED
package/src/atlisp-mcp.js
CHANGED
|
@@ -247,7 +247,7 @@ async function initCadConnection() {
|
|
|
247
247
|
const connected = await cad.connect();
|
|
248
248
|
if (connected) {
|
|
249
249
|
log('Auto-connected to CAD: ' + cad.getPlatform() + ' ' + cad.getVersion());
|
|
250
|
-
console.
|
|
250
|
+
console.log('已自动连接到 CAD: ' + cad.getPlatform() + ' ' + cad.getVersion());
|
|
251
251
|
} else {
|
|
252
252
|
log('No CAD found on startup');
|
|
253
253
|
}
|
|
@@ -387,7 +387,7 @@ export async function startServer() {
|
|
|
387
387
|
const mcpServer = createMcpServer();
|
|
388
388
|
const transport = new StdioServerTransport();
|
|
389
389
|
await mcpServer.connect(transport);
|
|
390
|
-
console.
|
|
390
|
+
console.log(`${SERVER_NAME} 运行在 stdio 模式`);
|
|
391
391
|
} else {
|
|
392
392
|
const app = express();
|
|
393
393
|
|