@mkacki98/chestnut-mcp 0.1.3 → 0.1.5

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/config.js CHANGED
@@ -37,7 +37,7 @@ export function clearAccessToken() {
37
37
  }
38
38
  export function getChestnutUrl() {
39
39
  const config = loadConfig();
40
- return config.chestnutUrl || "https://chestnut.com"; // Replace with actual production URL
40
+ return config.chestnutUrl || "https://chestnut.so";
41
41
  }
42
42
  export function setChestnutUrl(url) {
43
43
  const config = loadConfig();
package/dist/oauth.js CHANGED
@@ -3,7 +3,7 @@ import { saveAccessToken, getChestnutUrl } from "./config.js";
3
3
  import readline from "readline";
4
4
  export async function initiateOAuth() {
5
5
  const chestnutUrl = getChestnutUrl();
6
- const authUrl = `${chestnutUrl}/api/claude-code/oauth/authorize`;
6
+ const authUrl = `${chestnutUrl}/integrations/claude_code/authorize`;
7
7
  console.log("\nOpening browser for authorization...");
8
8
  console.log(`If browser doesn't open, visit: ${authUrl}\n`);
9
9
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mkacki98/chestnut-mcp",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "MCP server for Chestnut learning platform integration",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",