tinker-mcp 1.0.0 → 1.0.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/dist/api.js CHANGED
@@ -5,10 +5,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.api = void 0;
7
7
  const axios_1 = __importDefault(require("axios"));
8
- const API_BASE_URL = process.env.RAILS_API_URL || 'http://localhost:3000/api/v1';
9
- const API_KEY = process.env.RAILS_API_KEY;
8
+ const API_BASE_URL = process.env.TINKER_API_URL || 'http://localhost:3000/api/v1';
9
+ const API_KEY = process.env.TINKER_API_KEY;
10
10
  if (!API_KEY) {
11
- console.error("Warning: RAILS_API_KEY not found in environment variables.");
11
+ console.error("Warning: TINKER_API_KEY not found in environment variables.");
12
12
  }
13
13
  exports.api = axios_1.default.create({
14
14
  baseURL: API_BASE_URL,
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  Object.defineProperty(exports, "__esModule", { value: true });
3
4
  const index_js_1 = require("@modelcontextprotocol/sdk/server/index.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tinker-mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "main": "dist/index.js",
5
5
  "bin": {
6
6
  "tinker-mcp": "./dist/index.js"
@@ -30,4 +30,4 @@
30
30
  "ts-node": "^10.9.2",
31
31
  "typescript": "^5.9.3"
32
32
  }
33
- }
33
+ }