@fragments-sdk/mcp 0.2.3 → 0.4.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.d.ts DELETED
@@ -1,26 +0,0 @@
1
- import { Server } from '@modelcontextprotocol/sdk/server/index.js';
2
- import { Theme } from '@fragments/core';
3
-
4
- /**
5
- * MCP Server configuration
6
- */
7
- interface McpServerConfig {
8
- /** Project root directory */
9
- projectRoot: string;
10
- /** Viewer base URL */
11
- viewerUrl?: string;
12
- /** Default theme for verification */
13
- theme?: Theme;
14
- /** Diff threshold percentage */
15
- threshold?: number;
16
- }
17
- /**
18
- * Create and configure the MCP server
19
- */
20
- declare function createMcpServer(config: McpServerConfig): Server;
21
- /**
22
- * Start the MCP server with stdio transport
23
- */
24
- declare function startMcpServer(config: McpServerConfig): Promise<void>;
25
-
26
- export { type McpServerConfig, createMcpServer, startMcpServer };
package/dist/index.js DELETED
@@ -1,11 +0,0 @@
1
- import { createRequire } from 'module'; const require = createRequire(import.meta.url);
2
- import {
3
- createMcpServer,
4
- startMcpServer
5
- } from "./chunk-OQOBENAX.js";
6
- import "./chunk-7OMNY6JX.js";
7
- export {
8
- createMcpServer,
9
- startMcpServer
10
- };
11
- //# sourceMappingURL=index.js.map
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}