@sentientui/mcp 0.25.1 → 0.26.0

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
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ApiClient,
4
4
  createMcpServer
5
- } from "./chunk-QF2U745P.js";
5
+ } from "./chunk-RRJAIZNT.js";
6
6
 
7
7
  // src/index.ts
8
8
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -92,7 +92,13 @@ async function main() {
92
92
  apiKey = await resolveDemoToken();
93
93
  refreshApiKey = refreshDemoToken;
94
94
  }
95
- const client = new ApiClient({ apiKey, baseUrl: process.env.SENTIENTUI_API_URL, refreshApiKey });
95
+ const client = new ApiClient({
96
+ apiKey,
97
+ baseUrl: process.env.SENTIENTUI_API_URL,
98
+ refreshApiKey,
99
+ // Names this client in the project's agent activity log.
100
+ agentClient: "stdio MCP"
101
+ });
96
102
  const server = createMcpServer(client);
97
103
  const transport = new StdioServerTransport();
98
104
  await server.connect(transport);