@taiga-ai/mcp-server 0.6.0-dev.394 → 0.6.0-rc.393

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/index.js CHANGED
@@ -189,7 +189,7 @@ var TaigaClient = class {
189
189
  //#region src/config.ts
190
190
  const envSchema = z.object({
191
191
  TAIGA_API_KEY: z.string().min(1),
192
- TAIGA_API_URL: z.string().default("https://api.eu.tai.ga")
192
+ TAIGA_API_URL: z.string().default("https://api.taiga.app")
193
193
  });
194
194
  /** Null when TAIGA_API_KEY is missing or empty: it is the one setting with no default. */
195
195
  function readConfig() {
@@ -817,7 +817,7 @@ async function main() {
817
817
  const config = readConfig();
818
818
  if (!config) {
819
819
  console.error("Error: TAIGA_API_KEY environment variable is required.");
820
- console.error("Create one at https://eu.tai.ga under Settings > Account > API keys.");
820
+ console.error("Create an API key at https://app.taiga.app/settings/api-keys");
821
821
  process.exit(1);
822
822
  }
823
823
  const client = new TaigaClient({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.6.0-dev.394",
3
+ "version": "0.6.0-rc.393",
4
4
  "description": "MCP server for Taiga -- gives AI assistants access to documents and products",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -17,7 +17,7 @@ describe('readConfig', () => {
17
17
  it('defaults the API URL', () => {
18
18
  vi.stubEnv('TAIGA_API_KEY', 'taiga_sk_live_test');
19
19
  vi.stubEnv('TAIGA_API_URL', undefined);
20
- expect(readConfig()).toEqual({ apiKey: 'taiga_sk_live_test', apiUrl: 'https://api.eu.tai.ga' });
20
+ expect(readConfig()).toEqual({ apiKey: 'taiga_sk_live_test', apiUrl: 'https://api.taiga.app' });
21
21
  vi.stubEnv('TAIGA_API_URL', 'http://localhost:3001');
22
22
  expect(readConfig()?.apiUrl).toBe('http://localhost:3001');
23
23
  });
package/src/config.ts CHANGED
@@ -5,10 +5,7 @@ import { z } from 'zod';
5
5
  * at startup.
6
6
  */
7
7
 
8
- // The production API behind the custom domain in infra/dns.tf. The old
9
- // default, api.taiga.app, never resolved, so every install that followed the
10
- // README without TAIGA_API_URL failed on its first call.
11
- const DEFAULT_API_URL = 'https://api.eu.tai.ga';
8
+ const DEFAULT_API_URL = 'https://api.taiga.app';
12
9
 
13
10
  const envSchema = z.object({
14
11
  TAIGA_API_KEY: z.string().min(1),
package/src/index.ts CHANGED
@@ -11,7 +11,7 @@ async function main() {
11
11
  const config = readConfig();
12
12
  if (!config) {
13
13
  console.error('Error: TAIGA_API_KEY environment variable is required.');
14
- console.error('Create one at https://eu.tai.ga under Settings > Account > API keys.');
14
+ console.error('Create an API key at https://app.taiga.app/settings/api-keys');
15
15
  process.exit(1);
16
16
  }
17
17