@gitstar-ai/mcp 0.2.0 → 0.2.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/dist/auth.js +5 -1
  2. package/package.json +1 -1
package/dist/auth.js CHANGED
@@ -14,7 +14,11 @@ function ensureDir() {
14
14
  export function getApiUrl() {
15
15
  try {
16
16
  const config = JSON.parse(readFileSync(CONFIG_FILE, 'utf-8'));
17
- return config.api_url || DEFAULT_API_URL;
17
+ const url = config.api_url || DEFAULT_API_URL;
18
+ if (url.includes('localhost') || url.includes('127.0.0.1')) {
19
+ console.warn(`Warning: Using local dev URL (${url}). Delete ~/.gitstar/config.json to use production.`);
20
+ }
21
+ return url;
18
22
  }
19
23
  catch {
20
24
  return DEFAULT_API_URL;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitstar-ai/mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "type": "module",
5
5
  "description": "Gitstar MCP server — interact with GitHub through Gitstar from Claude, Cursor, and other AI tools",
6
6
  "bin": {