motionmcp 1.0.0 → 1.0.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.
Files changed (2) hide show
  1. package/package.json +4 -1
  2. package/src/index.js +3 -1
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "motionmcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "",
5
5
  "main": "index.js",
6
+ "bin": {
7
+ "motionmcp": "./src/index.js"
8
+ },
6
9
  "scripts": {
7
10
  "start": "node src/index.js",
8
11
  "dev": "node src/index.js",
package/src/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env node
2
+
1
3
  const express = require('express');
2
4
  const cors = require('cors');
3
5
  const winston = require('winston');
@@ -44,4 +46,4 @@ app.listen(PORT, () => {
44
46
  logger.info(`Motion MCP Server running on port ${PORT}`);
45
47
  });
46
48
 
47
- module.exports = app;
49
+ module.exports = app;