@viewert/mcp 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.
package/README.md CHANGED
@@ -65,7 +65,7 @@ The Viewert tools will appear automatically.
65
65
  | Variable | Required | Default |
66
66
  |----------|----------|---------|
67
67
  | `VIEWERT_API_KEY` | ✅ Yes | — |
68
- | `VIEWERT_API_URL` | No | `https://viewert.com/api` |
68
+ | `VIEWERT_API_URL` | No | `https://www.viewert.com/api` |
69
69
 
70
70
  ---
71
71
 
package/dist/index.d.ts CHANGED
@@ -9,6 +9,6 @@
9
9
  * VIEWERT_API_KEY — your vwt_... API key from viewert.com/settings
10
10
  *
11
11
  * Optional env vars:
12
- * VIEWERT_API_URL — defaults to https://viewert.com/api
12
+ * VIEWERT_API_URL — defaults to https://www.viewert.com/api
13
13
  */
14
14
  export {};
package/dist/index.js CHANGED
@@ -9,13 +9,13 @@
9
9
  * VIEWERT_API_KEY — your vwt_... API key from viewert.com/settings
10
10
  *
11
11
  * Optional env vars:
12
- * VIEWERT_API_URL — defaults to https://viewert.com/api
12
+ * VIEWERT_API_URL — defaults to https://www.viewert.com/api
13
13
  */
14
14
  import { McpServer, ResourceTemplate } from '@modelcontextprotocol/sdk/server/mcp.js';
15
15
  import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';
16
16
  import { z } from 'zod';
17
17
  const API_KEY = process.env.VIEWERT_API_KEY;
18
- const API_BASE = (process.env.VIEWERT_API_URL ?? 'https://viewert.com/api').replace(/\/$/, '');
18
+ const API_BASE = (process.env.VIEWERT_API_URL ?? 'https://www.viewert.com/api').replace(/\/$/, '');
19
19
  if (!API_KEY) {
20
20
  process.stderr.write('[viewert-mcp] ERROR: VIEWERT_API_KEY is not set.\n' +
21
21
  'Generate a key at https://viewert.com/settings and add it to your MCP config.\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewert/mcp",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "MCP server for Viewert Librams — expose AI-enabled Vellums as context to any MCP-compatible AI client",
5
5
  "keywords": ["mcp", "viewert", "libram", "ai-context", "model-context-protocol"],
6
6
  "license": "MIT",
package/src/index.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  * VIEWERT_API_KEY — your vwt_... API key from viewert.com/settings
10
10
  *
11
11
  * Optional env vars:
12
- * VIEWERT_API_URL — defaults to https://viewert.com/api
12
+ * VIEWERT_API_URL — defaults to https://www.viewert.com/api
13
13
  */
14
14
 
15
15
  import { McpServer, ResourceTemplate } from '@modelcontextprotocol/sdk/server/mcp.js'
@@ -17,7 +17,7 @@ import { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js'
17
17
  import { z } from 'zod'
18
18
 
19
19
  const API_KEY = process.env.VIEWERT_API_KEY
20
- const API_BASE = (process.env.VIEWERT_API_URL ?? 'https://viewert.com/api').replace(/\/$/, '')
20
+ const API_BASE = (process.env.VIEWERT_API_URL ?? 'https://www.viewert.com/api').replace(/\/$/, '')
21
21
 
22
22
  if (!API_KEY) {
23
23
  process.stderr.write(