@infrawise/mcp-server 0.1.1 → 0.1.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.
Files changed (2) hide show
  1. package/dist/auth.js +0 -4
  2. package/package.json +1 -1
package/dist/auth.js CHANGED
@@ -4,7 +4,6 @@ import os from "node:os";
4
4
  import path from "node:path";
5
5
  const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common";
6
6
  const ORGANIZATIONS_AUTHORITY = "https://login.microsoftonline.com/organizations";
7
- const MSA_TENANT_ID = "9188040d-6c67-4c5b-b112-36a304b66dad";
8
7
  const DEVICE_CODE_AUTH_TIMEOUT_MS = 120_000;
9
8
  const DEFAULT_API_CLIENT_ID = "06dc6d06-11f1-4543-bb2c-9c91b263df56";
10
9
  const DEFAULT_SCOPE = `api://${DEFAULT_API_CLIENT_ID}/delegated_access`;
@@ -145,9 +144,6 @@ function readTenantIdFromResult(result) {
145
144
  }
146
145
  function assertTenantCompatibility(result, settings) {
147
146
  const signedInTenantId = readTenantIdFromResult(result);
148
- if (signedInTenantId?.toLowerCase() === MSA_TENANT_ID) {
149
- throw new Error("Signed in with a personal Microsoft account. Sign in with your organization Azure account and run: npx @infrawise/mcp-server auth");
150
- }
151
147
  if (settings.tenantId && signedInTenantId && settings.tenantId.toLowerCase() !== signedInTenantId.toLowerCase()) {
152
148
  throw new Error(`Account/tenant mismatch detected. You requested tenant ${settings.tenantId}, but authenticated into tenant ${signedInTenantId}. Re-run with the correct tenant: npx @infrawise/mcp-server auth --tenant <tenantId>`);
153
149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infrawise/mcp-server",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Infrawise MCP server for Claude Code",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",