@sentientui/mcp 0.25.0 → 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/AGENTS.md +12 -0
- package/README.md +12 -0
- package/dist/{chunk-U54H74Y7.js → chunk-RRJAIZNT.js} +1258 -475
- package/dist/index.cjs +1265 -476
- package/dist/index.js +8 -2
- package/dist/lib.cjs +1272 -475
- package/dist/lib.d.cts +4 -0
- package/dist/lib.d.ts +4 -0
- package/dist/lib.js +15 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ApiClient,
|
|
4
4
|
createMcpServer
|
|
5
|
-
} from "./chunk-
|
|
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({
|
|
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);
|