@ticketnation/stellar-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.
package/README.md CHANGED
@@ -20,6 +20,11 @@ hosted Stellar OS service.
20
20
  Store the personal key in the client's secret environment. Never put it in a
21
21
  prompt, repository, browser URL, or shared configuration file.
22
22
 
23
+ The key list shows only a masked identifier after creation. That
24
+ `stl_mcp_...` display value cannot authenticate. Create a new key and copy the
25
+ complete one-time value from the reveal panel into the client's secret
26
+ environment.
27
+
23
28
  ```json
24
29
  {
25
30
  "mcpServers": {
@@ -2,6 +2,7 @@
2
2
 
3
3
  const STELLAR_MCP_URL = "https://app.stellarseatsticket.com/api/mcp";
4
4
  const apiKey = process.env.STELLAR_MCP_API_KEY?.trim();
5
+ const MCP_KEY_PATTERN = /^stl_mcp_[a-zA-Z0-9]{12}_[a-zA-Z0-9_-]{32,}$/;
5
6
 
6
7
  if (!apiKey) {
7
8
  process.stderr.write(
@@ -10,8 +11,10 @@ if (!apiKey) {
10
11
  process.exit(1);
11
12
  }
12
13
 
13
- if (!apiKey.startsWith("stl_mcp_")) {
14
- process.stderr.write("STELLAR_MCP_API_KEY has an invalid format.\n");
14
+ if (!MCP_KEY_PATTERN.test(apiKey)) {
15
+ process.stderr.write(
16
+ "STELLAR_MCP_API_KEY must be the complete one-time key, not the masked stl_mcp_... value shown in the key list. Create a new MCP key and copy it when Stellar reveals it.\n",
17
+ );
15
18
  process.exit(1);
16
19
  }
17
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ticketnation/stellar-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Official stdio bridge for the Ticket Nation Stellar OS MCP server.",
5
5
  "type": "module",
6
6
  "private": false,