You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@mcp-apps-kit/core

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcp-apps-kit/core - npm Package Compare versions

Comparing version
0.2.4
to
0.2.5
+1
-1
package.json
{
"name": "@mcp-apps-kit/core",
"version": "0.2.4",
"version": "0.2.5",
"description": "Server-side framework for building MCP applications",

@@ -5,0 +5,0 @@ "type": "module",

@@ -82,5 +82,16 @@ # @mcp-apps-kit/core

Tools can reference a UI resource by ID. Return UI-only payloads in `_meta`.
Tools can include a UI definition for displaying results. Use `defineUI` for type-safe UI definitions, then reference it from your tool. Return UI-only payloads in `_meta`.
```ts
import { createApp, defineTool, defineUI } from "@mcp-apps-kit/core";
import { z } from "zod";
// Define UI widget for displaying restaurant list
const restaurantListUI = defineUI({
name: "Restaurant List",
description: "Displays restaurant search results",
html: "./dist/widget.html",
prefersBorder: true,
});
const app = createApp({

@@ -90,3 +101,3 @@ name: "restaurant-finder",

tools: {
search_restaurants: {
search_restaurants: defineTool({
description: "Search for restaurants by location",

@@ -102,10 +113,5 @@ input: z.object({ location: z.string() }),

},
ui: "restaurant-list",
},
ui: restaurantListUI,
}),
},
ui: {
"restaurant-list": {
html: "./dist/widget.html",
},
},
});

@@ -112,0 +118,0 @@ ```

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display