@worldapptechnologies/nulu-mcp-client 0.0.0-stage → 1.6.4
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/LICENSE +21 -0
- package/README.md +228 -2
- package/lib/index.js +835 -0
- package/lib/types/connection.d.ts +78 -0
- package/lib/types/index.d.ts +90 -0
- package/lib/types/server-context.d.ts +25 -0
- package/lib/types/tools.d.ts +102 -0
- package/lib/types/transport.d.ts +17 -0
- package/package.json +68 -3
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Connection supervisor: owns the MCP client/transport generations for one
|
|
3
|
+
* plugin instance, keeps the harness tool registry in sync with the live
|
|
4
|
+
* generation, and — when the connection drops — restarts the configured
|
|
5
|
+
* server with bounded exponential backoff.
|
|
6
|
+
*
|
|
7
|
+
* One outage shares one attempt budget (`maxAttempts` consecutive failed
|
|
8
|
+
* attempts, delays doubling from `initialDelayMs` up to `maxDelayMs`). A
|
|
9
|
+
* connection that stays up past the stability window closes the outage, so
|
|
10
|
+
* the next disconnect starts a fresh budget while a crash-looping server —
|
|
11
|
+
* even one whose connects briefly succeed — still exhausts the cap instead of
|
|
12
|
+
* restarting forever. Exhaustion unregisters the server's tools and stops;
|
|
13
|
+
* disposal (including HMR) is the only way back from that state.
|
|
14
|
+
*
|
|
15
|
+
* @module
|
|
16
|
+
*/
|
|
17
|
+
import type { Context } from '@worldapptechnologies/cordis';
|
|
18
|
+
import type { ServerContext } from './server-context.ts';
|
|
19
|
+
import type { Config } from './index.ts';
|
|
20
|
+
/** Automatic reconnect policy for one MCP server connection. */
|
|
21
|
+
export interface ReconnectConfig {
|
|
22
|
+
/** Reconnect automatically after a lost connection (default true). */
|
|
23
|
+
enabled?: boolean;
|
|
24
|
+
/** First reconnect delay in milliseconds; doubles per consecutive failed attempt (default 500). */
|
|
25
|
+
initialDelayMs?: number;
|
|
26
|
+
/** Backoff ceiling in milliseconds; also the uptime after which the attempt budget resets (default 30000). */
|
|
27
|
+
maxDelayMs?: number;
|
|
28
|
+
/** Consecutive failed attempts per outage before giving up for good (default 10). */
|
|
29
|
+
maxAttempts?: number;
|
|
30
|
+
}
|
|
31
|
+
/** Defaults shared by the Config schema and {@link resolveReconnectPolicy}. */
|
|
32
|
+
export declare const RECONNECT_DEFAULTS: Required<ReconnectConfig>;
|
|
33
|
+
/** Default UTF-8 byte limit for attributed server instructions. */
|
|
34
|
+
export declare const DEFAULT_MAX_INSTRUCTION_BYTES = 32768;
|
|
35
|
+
/** Fully resolved reconnect policy captured at plugin load. */
|
|
36
|
+
export type ResolvedReconnectPolicy = Readonly<Required<ReconnectConfig>>;
|
|
37
|
+
/**
|
|
38
|
+
* The one explicit resolve step from raw reconnect config to the policy the
|
|
39
|
+
* supervisor runs. Programmatic construction may bypass Schemastery
|
|
40
|
+
* normalization, so every default and bound is re-judged here — misconfiguration
|
|
41
|
+
* fails the plugin instance at load.
|
|
42
|
+
*
|
|
43
|
+
* @param config - Raw `reconnect` config; omission uses the defaults.
|
|
44
|
+
* @param path - Diagnostic prefix naming the config location in thrown messages.
|
|
45
|
+
* @returns The frozen resolved policy.
|
|
46
|
+
*/
|
|
47
|
+
export declare function resolveReconnectPolicy(config: ReconnectConfig | undefined, path: string): ResolvedReconnectPolicy;
|
|
48
|
+
/** Result from the initial connection attempt, for startup-await semantics. */
|
|
49
|
+
export interface ConnectionOutcome {
|
|
50
|
+
/** If the initial connection or tool sync failed, the error; otherwise absent. */
|
|
51
|
+
error?: unknown;
|
|
52
|
+
}
|
|
53
|
+
/** Handle for one plugin instance's supervised connection. */
|
|
54
|
+
export interface ConnectionHandle extends ServerContext {
|
|
55
|
+
/**
|
|
56
|
+
* Settles when the first connection attempt completes (success or failure).
|
|
57
|
+
* The supervisor enters its reconnect loop regardless; the caller decides
|
|
58
|
+
* whether a failed startup is fatal via `failOnStartupError`.
|
|
59
|
+
*/
|
|
60
|
+
ready: Promise<ConnectionOutcome>;
|
|
61
|
+
/**
|
|
62
|
+
* Stop reconnection, close the negotiating transport or live client, wait
|
|
63
|
+
* for the in-flight attempt and queued tool syncs to quiesce, then
|
|
64
|
+
* unregister every tool this server still owns.
|
|
65
|
+
*/
|
|
66
|
+
dispose(): Promise<void>;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Start the supervised connection for one MCP server and keep it alive per
|
|
70
|
+
* the reconnect policy.
|
|
71
|
+
*
|
|
72
|
+
* @param ctx - Cordis context providing the `tools` registry and logger.
|
|
73
|
+
* @param config - Resolved plugin config selecting the transport and server identity.
|
|
74
|
+
* @param policy - Resolved reconnect policy from {@link resolveReconnectPolicy}.
|
|
75
|
+
* @returns Handle with a `ready` promise for startup-await and a `dispose` for teardown.
|
|
76
|
+
*/
|
|
77
|
+
export declare function startConnection(ctx: Context, config: Config, policy: ResolvedReconnectPolicy): ConnectionHandle;
|
|
78
|
+
//# sourceMappingURL=connection.d.ts.map
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MCP client bridge plugin: connects to an external MCP server and registers
|
|
3
|
+
* its tools on `ctx.tools` under server-qualified public names
|
|
4
|
+
* (`mcp__<serverName>__<rawName>`). Each plugin instance connects to one MCP
|
|
5
|
+
* server; load multiple instances in `cordis.yml` for multiple servers.
|
|
6
|
+
*
|
|
7
|
+
* Namespace plugin (named exports, no default export). Lifecycle is
|
|
8
|
+
* effect-scoped: disposal disconnects from the server, unregisters all tools,
|
|
9
|
+
* and releases the `serverName` namespace reservation. HMR hot-swaps by
|
|
10
|
+
* disposing the old instance and creating a new one; identical `serverName`
|
|
11
|
+
* reproduces identical public tool names.
|
|
12
|
+
*
|
|
13
|
+
* @module @worldapptechnologies/nulu-mcp-client
|
|
14
|
+
*/
|
|
15
|
+
import type { Context } from '@worldapptechnologies/cordis';
|
|
16
|
+
import z from '@worldapptechnologies/schemastery';
|
|
17
|
+
import type { ReconnectConfig } from './connection.ts';
|
|
18
|
+
export { createMcpToolDefinition } from './tools.ts';
|
|
19
|
+
export type { McpResult, McpToolDefinitionOptions } from './tools.ts';
|
|
20
|
+
export type { ReconnectConfig, ResolvedReconnectPolicy } from './connection.ts';
|
|
21
|
+
/** Cordis plugin name used by loader diagnostics. */
|
|
22
|
+
export declare const name = "mcp-client";
|
|
23
|
+
/** Services required by this plugin. */
|
|
24
|
+
export declare const inject: string[];
|
|
25
|
+
/** Config for connecting to an MCP server via a spawned child process over stdio. */
|
|
26
|
+
export interface StdioConfig {
|
|
27
|
+
/** Selects child-process stdio transport. */
|
|
28
|
+
transport: 'stdio';
|
|
29
|
+
/**
|
|
30
|
+
* Stable local namespace for this server's model-facing tool names
|
|
31
|
+
* (`mcp__<serverName>__<rawName>`). Must match `[A-Za-z0-9_-]{1,32}` and be
|
|
32
|
+
* unique across live mcp-client instances.
|
|
33
|
+
*/
|
|
34
|
+
serverName: string;
|
|
35
|
+
/** Executable used to start the server. */
|
|
36
|
+
command: string;
|
|
37
|
+
/** Arguments passed directly, without shell interpolation. */
|
|
38
|
+
args: string[];
|
|
39
|
+
/** Extra env vars merged on top of scrubbed ambient env. */
|
|
40
|
+
env: Record<string, string>;
|
|
41
|
+
/** Working directory for the child process. */
|
|
42
|
+
cwd: string;
|
|
43
|
+
/** Timeout per tool call or resource request in milliseconds. */
|
|
44
|
+
toolCallTimeoutMs: number;
|
|
45
|
+
/** Fail plugin activation when the initial connection or tool synchronization fails. */
|
|
46
|
+
failOnStartupError: boolean;
|
|
47
|
+
/** Maximum UTF-8 bytes of attributed server instructions (default 32768). */
|
|
48
|
+
maxInstructionBytes?: number;
|
|
49
|
+
/** Automatic reconnect policy after a lost connection; omission uses the defaults. */
|
|
50
|
+
reconnect?: ReconnectConfig;
|
|
51
|
+
}
|
|
52
|
+
/** Config for connecting to an MCP server over Streamable HTTP (SSE). */
|
|
53
|
+
export interface StreamableHttpConfig {
|
|
54
|
+
/** Selects Streamable HTTP transport. */
|
|
55
|
+
transport: 'streamable-http';
|
|
56
|
+
/**
|
|
57
|
+
* Stable local namespace for this server's model-facing tool names
|
|
58
|
+
* (`mcp__<serverName>__<rawName>`). Must match `[A-Za-z0-9_-]{1,32}` and be
|
|
59
|
+
* unique across live mcp-client instances.
|
|
60
|
+
*/
|
|
61
|
+
serverName: string;
|
|
62
|
+
/** MCP endpoint URL. */
|
|
63
|
+
url: string;
|
|
64
|
+
/** Additional headers attached to MCP requests. */
|
|
65
|
+
headers: Record<string, string>;
|
|
66
|
+
/** Timeout per tool call or resource request in milliseconds. */
|
|
67
|
+
toolCallTimeoutMs: number;
|
|
68
|
+
/** Fail plugin activation when the initial connection or tool synchronization fails. */
|
|
69
|
+
failOnStartupError: boolean;
|
|
70
|
+
/** Maximum UTF-8 bytes of attributed server instructions (default 32768). */
|
|
71
|
+
maxInstructionBytes?: number;
|
|
72
|
+
/** Automatic reconnect policy after a lost connection; omission uses the defaults. */
|
|
73
|
+
reconnect?: ReconnectConfig;
|
|
74
|
+
}
|
|
75
|
+
/** Configuration for one stdio or Streamable HTTP MCP server. */
|
|
76
|
+
export type Config = StdioConfig | StreamableHttpConfig;
|
|
77
|
+
type StdioConfigInput = Omit<StdioConfig, 'args' | 'env' | 'cwd' | 'toolCallTimeoutMs' | 'failOnStartupError'> & Partial<Pick<StdioConfig, 'args' | 'env' | 'cwd' | 'toolCallTimeoutMs' | 'failOnStartupError'>>;
|
|
78
|
+
type StreamableHttpConfigInput = Omit<StreamableHttpConfig, 'headers' | 'toolCallTimeoutMs' | 'failOnStartupError'> & Partial<Pick<StreamableHttpConfig, 'headers' | 'toolCallTimeoutMs' | 'failOnStartupError'>>;
|
|
79
|
+
type ConfigInput = StdioConfigInput | StreamableHttpConfigInput;
|
|
80
|
+
export declare const Config: z<ConfigInput, Config>;
|
|
81
|
+
/**
|
|
82
|
+
* Connect one MCP server and publish its initial tool generation before activation.
|
|
83
|
+
* This entry remains explicitly `async`: Cordis treats a prototype-bearing
|
|
84
|
+
* ordinary function as a constructor, whose returned Promise is not startup work.
|
|
85
|
+
* @param ctx - plugin context carrying the tool registry.
|
|
86
|
+
* @param config - resolved transport and server namespace configuration.
|
|
87
|
+
* @returns startup readiness after connection and initial tool discovery settle.
|
|
88
|
+
*/
|
|
89
|
+
export declare function apply(ctx: Context, config: Config): Promise<void>;
|
|
90
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Publish connection-owned MCP resources and literal server instructions.
|
|
3
|
+
*
|
|
4
|
+
* @module @worldapptechnologies/nulu-mcp-client
|
|
5
|
+
*/
|
|
6
|
+
import type { Context } from '@worldapptechnologies/cordis';
|
|
7
|
+
import type { McpResourceProvider } from '@worldapptechnologies/nulu-mcp-resources';
|
|
8
|
+
/** Connection-owned values used by the resource and prompt consumers. */
|
|
9
|
+
export interface ServerContext {
|
|
10
|
+
/** Resource access through the current connection generation. */
|
|
11
|
+
resources: McpResourceProvider;
|
|
12
|
+
/**
|
|
13
|
+
* Read the last successfully connected server's attributed instructions.
|
|
14
|
+
* @returns literal prompt text, or an empty string when no server instructions are active.
|
|
15
|
+
*/
|
|
16
|
+
instructions(): string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Contribute server context to the services enabled by this composition.
|
|
20
|
+
* @param ctx - server plugin's registration scope and effect owner.
|
|
21
|
+
* @param server - configured server identity.
|
|
22
|
+
* @param connection - live resource operations and successful instruction snapshot.
|
|
23
|
+
*/
|
|
24
|
+
export declare function registerServerContext(ctx: Context, server: string, connection: ServerContext): void;
|
|
25
|
+
//# sourceMappingURL=server-context.d.ts.map
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool bridge: discovers MCP tools, registers them on the harness ToolRuntime
|
|
3
|
+
* under deterministic server-qualified public names, and handles re-sync when
|
|
4
|
+
* the server's tool list changes.
|
|
5
|
+
*
|
|
6
|
+
* Naming contract (see the mcp-client Agent Note "Naming invariants"): every MCP tool
|
|
7
|
+
* has the stable identity `(serverName, rawName)`; the model-facing public name
|
|
8
|
+
* is `mcp__<serverName>__<rawName>`, normalized to the Nulu function-name
|
|
9
|
+
* constraints. The raw name is only ever sent on the wire (`tools/call`); the
|
|
10
|
+
* public name is never parsed to recover it.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
13
|
+
*/
|
|
14
|
+
import { type Client } from '@modelcontextprotocol/client';
|
|
15
|
+
import type { Context } from '@worldapptechnologies/cordis';
|
|
16
|
+
import type { ToolDefinition, ToolExecution } from '@worldapptechnologies/nulu-tools';
|
|
17
|
+
import type { JsonValue } from '@worldapptechnologies/nulu-util-values';
|
|
18
|
+
/** Resolved options relevant to tool bridging. */
|
|
19
|
+
export interface ToolBridgeOptions {
|
|
20
|
+
/** Whether a registry conflict is contained or rejects this synchronization. */
|
|
21
|
+
registrationFailure: 'contain' | 'throw';
|
|
22
|
+
serverName: string;
|
|
23
|
+
toolCallTimeoutMs: number;
|
|
24
|
+
}
|
|
25
|
+
/** State for one sync generation: the current set of disposers keyed by public name. */
|
|
26
|
+
export type ToolDisposers = Map<string, () => void>;
|
|
27
|
+
/** Canonical MCP result exposed to PTC mode without discarding protocol blocks. */
|
|
28
|
+
export type McpResult<Structured extends JsonValue = JsonValue> = {
|
|
29
|
+
content: JsonValue[];
|
|
30
|
+
structuredContent?: Structured;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Derive the model-facing public name for one MCP tool.
|
|
34
|
+
*
|
|
35
|
+
* Deterministic pure function of `(serverName, rawName)`: the clean case is
|
|
36
|
+
* `mcp__<serverName>__<rawName>` verbatim. When character replacement or
|
|
37
|
+
* truncation to the Nulu function-name contract (64 chars,
|
|
38
|
+
* `[A-Za-z0-9_-]`) changes the name, a 12-hex-char SHA-256 hash of the
|
|
39
|
+
* identity is appended so distinct MCP identities never collapse into the
|
|
40
|
+
* same public name.
|
|
41
|
+
*
|
|
42
|
+
* @param serverName - Stable local namespace from plugin config.
|
|
43
|
+
* @param rawName - The MCP server's own tool name.
|
|
44
|
+
* @returns The globally unique, model-facing ToolRuntime name.
|
|
45
|
+
*/
|
|
46
|
+
export declare function publicToolName(serverName: string, rawName: string): string;
|
|
47
|
+
/**
|
|
48
|
+
* Sync the MCP server's tool list into the harness ToolRuntime.
|
|
49
|
+
*
|
|
50
|
+
* Two phases keep the swap safe:
|
|
51
|
+
*
|
|
52
|
+
* 1. Fetch: let the SDK aggregate `tools/list` and build the full next
|
|
53
|
+
* generation of `ToolDefinition`s under public names. Any failure here
|
|
54
|
+
* (network error or duplicate raw name) rejects
|
|
55
|
+
* and leaves the previous generation registered untouched.
|
|
56
|
+
* 2. Swap: dispose the previous generation, register the new one. A registry
|
|
57
|
+
* conflict here can only mean a foreign registration squats on this
|
|
58
|
+
* server's `mcp__<serverName>__` namespace — the partial generation is
|
|
59
|
+
* rolled back (zero tools from this server) and logged. Initial strict
|
|
60
|
+
* synchronization may propagate the conflict so its parent transaction
|
|
61
|
+
* rejects; ordinary clients and later re-syncs return an empty map.
|
|
62
|
+
*
|
|
63
|
+
* @param client - Connected MCP Client instance used to list and call tools.
|
|
64
|
+
* @param ctx - Cordis context providing the `tools` service for registration.
|
|
65
|
+
* @param opts - Bridge options: server namespace and per-call timeout.
|
|
66
|
+
* @param previous - Disposer map from the prior sync generation; disposed
|
|
67
|
+
* during the swap phase (only after the fetch phase succeeded).
|
|
68
|
+
* @returns A map of registered public tool names to their unregister
|
|
69
|
+
* disposers — the exact set of live registrations owned by this server.
|
|
70
|
+
*/
|
|
71
|
+
export declare function syncTools(client: Client, ctx: Context, opts: ToolBridgeOptions, previous: ToolDisposers): Promise<ToolDisposers>;
|
|
72
|
+
/** One upstream MCP tool and the callback that obtains its raw protocol result. */
|
|
73
|
+
export interface McpToolDefinitionOptions {
|
|
74
|
+
/** ToolRuntime name presented to the model. */
|
|
75
|
+
name: string;
|
|
76
|
+
/** Upstream name used in result diagnostics. */
|
|
77
|
+
rawName: string;
|
|
78
|
+
/** Upstream model-facing description. */
|
|
79
|
+
description: string;
|
|
80
|
+
/** Upstream JSON input schema. */
|
|
81
|
+
inputSchema: Record<string, unknown>;
|
|
82
|
+
/** Advertised structured output schema, when present. */
|
|
83
|
+
outputSchema?: unknown;
|
|
84
|
+
/** Whether the upstream tool requires the unsupported task execution extension. */
|
|
85
|
+
taskRequired?: boolean;
|
|
86
|
+
/**
|
|
87
|
+
* Obtain one raw MCP result from the provider.
|
|
88
|
+
* @param args - model arguments admitted by the ToolRuntime.
|
|
89
|
+
* @param execution - exact ToolRuntime invocation, including its Agent and cancellation.
|
|
90
|
+
* @returns the external result object, validated before content projection.
|
|
91
|
+
*/
|
|
92
|
+
call(args: Record<string, unknown>, execution: ToolExecution): Promise<unknown>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Adapt an upstream MCP tool to canonical values and durable image content.
|
|
96
|
+
* Registration, provider lifetime, deadlines, and transport belong to the caller.
|
|
97
|
+
* @param ctx - plugin context carrying optional attachment and model services.
|
|
98
|
+
* @param options - upstream tool fields and its raw-result callback.
|
|
99
|
+
* @returns the unregistered ToolRuntime definition.
|
|
100
|
+
*/
|
|
101
|
+
export declare function createMcpToolDefinition(ctx: Context, options: McpToolDefinitionOptions): ToolDefinition;
|
|
102
|
+
//# sourceMappingURL=tools.d.ts.map
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Transport factory: creates the appropriate MCP transport based on the
|
|
3
|
+
* plugin's resolved config. Stdio spawns a child process (with credential
|
|
4
|
+
* scrubbing); Streamable HTTP connects to a URL.
|
|
5
|
+
*
|
|
6
|
+
* @module
|
|
7
|
+
*/
|
|
8
|
+
import type { Transport } from '@modelcontextprotocol/client';
|
|
9
|
+
import type { Config } from './index.ts';
|
|
10
|
+
/**
|
|
11
|
+
* Create an MCP transport from the resolved plugin config.
|
|
12
|
+
*
|
|
13
|
+
* @param config - Resolved plugin config discriminated on `transport`.
|
|
14
|
+
* @returns A connected-ready MCP Transport (stdio or Streamable HTTP).
|
|
15
|
+
*/
|
|
16
|
+
export declare function createTransport(config: Config): Transport;
|
|
17
|
+
//# sourceMappingURL=transport.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,71 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worldapptechnologies/nulu-mcp-client",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "MCP client bridge: connects to MCP servers and registers their tools on ctx.tools",
|
|
4
|
+
"version": "1.6.4",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/worldapptechnologies/nulu-harness.git",
|
|
11
|
+
"directory": "packages/mcp/mcp-client"
|
|
12
|
+
},
|
|
13
|
+
"type": "module",
|
|
14
|
+
"main": "lib/index.js",
|
|
15
|
+
"types": "lib/types/index.d.ts",
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"types": "./lib/types/index.d.ts",
|
|
19
|
+
"default": "./lib/index.js"
|
|
20
|
+
},
|
|
21
|
+
"./src/*": "./src/*",
|
|
22
|
+
"./package.json": "./package.json"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"lib/index.js",
|
|
26
|
+
"lib/types/**/*.d.ts"
|
|
27
|
+
],
|
|
28
|
+
"license": "MIT",
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@worldapptechnologies/nulu-attachment": "^1.6.4",
|
|
31
|
+
"@worldapptechnologies/nulu-llm": "^1.6.4",
|
|
32
|
+
"@worldapptechnologies/nulu-scope": "^1.6.4",
|
|
33
|
+
"@worldapptechnologies/nulu-subprocess": "^1.6.4",
|
|
34
|
+
"@worldapptechnologies/nulu-timeout": "^1.6.4",
|
|
35
|
+
"@worldapptechnologies/nulu-tools": "^1.6.4",
|
|
36
|
+
"@worldapptechnologies/cordis": "^4.0.2",
|
|
37
|
+
"@worldapptechnologies/nulu-mcp-resources": "^1.6.4",
|
|
38
|
+
"@worldapptechnologies/nulu-system-prompt": "^1.6.4"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@modelcontextprotocol/client": "2.0.0",
|
|
42
|
+
"@worldapptechnologies/schemastery": "^3.18.2",
|
|
43
|
+
"@worldapptechnologies/nulu-util-values": "^1.6.4"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@modelcontextprotocol/server-everything": "^2026.7.4",
|
|
47
|
+
"@modelcontextprotocol/server-filesystem": "^2026.7.4",
|
|
48
|
+
"@modelcontextprotocol/server": "2.0.0",
|
|
49
|
+
"@modelcontextprotocol/node": "2.0.0",
|
|
50
|
+
"zod": "^4.4.3",
|
|
51
|
+
"@worldapptechnologies/nulu-attachment": "^1.6.4",
|
|
52
|
+
"@worldapptechnologies/nulu-attachment-local": "^1.6.4",
|
|
53
|
+
"@worldapptechnologies/nulu-llm": "^1.6.4",
|
|
54
|
+
"@worldapptechnologies/nulu-scope": "^1.6.4",
|
|
55
|
+
"@worldapptechnologies/nulu-subprocess": "^1.6.4",
|
|
56
|
+
"@worldapptechnologies/nulu-timeout": "^1.6.4",
|
|
57
|
+
"@worldapptechnologies/nulu-tools": "^1.6.4",
|
|
58
|
+
"@worldapptechnologies/cordis": "^4.0.2",
|
|
59
|
+
"@worldapptechnologies/nulu-http-proxy": "^1.6.4",
|
|
60
|
+
"@worldapptechnologies/nulu-mcp-resources": "^1.6.4",
|
|
61
|
+
"@worldapptechnologies/nulu-system-prompt": "^1.6.4"
|
|
62
|
+
},
|
|
63
|
+
"peerDependenciesMeta": {
|
|
64
|
+
"@worldapptechnologies/nulu-mcp-resources": {
|
|
65
|
+
"optional": true
|
|
66
|
+
},
|
|
67
|
+
"@worldapptechnologies/nulu-system-prompt": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
70
|
+
}
|
|
6
71
|
}
|