@sentientui/mcp 0.5.0 → 0.5.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
@@ -1,5 +1,7 @@
1
1
  # @sentientui/mcp
2
2
 
3
+ [![smithery badge](https://smithery.ai/badge/carlos-sanchez/sentientUI)](https://smithery.ai/servers/carlos-sanchez/sentientUI)
4
+
3
5
  MCP server for [SentientUI](https://sentient-ui.com) — gives AI agents in Claude Code, Cursor, and Copilot direct access to your experiment data and management actions.
4
6
 
5
7
  ## Quick start
@@ -241,7 +241,7 @@ function registerComponentTools(server, client) {
241
241
  },
242
242
  async ({ projectId }) => {
243
243
  const id = encodeURIComponent(projectId);
244
- const components = await client.get(`/projects/${id}/components`);
244
+ const { components } = await client.get(`/projects/${id}/components`);
245
245
  const structuredContent = {
246
246
  components: components.map((c) => ({
247
247
  componentId: c.component_id,
package/dist/index.cjs CHANGED
@@ -249,7 +249,7 @@ function registerComponentTools(server, client) {
249
249
  },
250
250
  async ({ projectId }) => {
251
251
  const id = encodeURIComponent(projectId);
252
- const components = await client.get(`/projects/${id}/components`);
252
+ const { components } = await client.get(`/projects/${id}/components`);
253
253
  const structuredContent = {
254
254
  components: components.map((c) => ({
255
255
  componentId: c.component_id,
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  ApiClient,
4
4
  createMcpServer
5
- } from "./chunk-QH3RMHLM.js";
5
+ } from "./chunk-TU6A7NHN.js";
6
6
 
7
7
  // src/index.ts
8
8
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
package/dist/lib.cjs CHANGED
@@ -274,7 +274,7 @@ function registerComponentTools(server, client) {
274
274
  },
275
275
  async ({ projectId }) => {
276
276
  const id = encodeURIComponent(projectId);
277
- const components = await client.get(`/projects/${id}/components`);
277
+ const { components } = await client.get(`/projects/${id}/components`);
278
278
  const structuredContent = {
279
279
  components: components.map((c) => ({
280
280
  componentId: c.component_id,
package/dist/lib.js CHANGED
@@ -3,7 +3,7 @@ import {
3
3
  ApiClient,
4
4
  ApiError,
5
5
  createMcpServer
6
- } from "./chunk-QH3RMHLM.js";
6
+ } from "./chunk-TU6A7NHN.js";
7
7
  export {
8
8
  ApiClient,
9
9
  ApiError,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentientui/mcp",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "MCP server for SentientUI — exposes project data and actions to AI agents",
5
5
  "license": "MIT",
6
6
  "homepage": "https://sentient-ui.com",