@lucern/mcp 1.0.9 → 1.0.11

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
@@ -58,10 +58,10 @@ Auth behavior:
58
58
  gateway resolves the caller, tenant, workspace, and deployment through Master
59
59
  Control, then enforces Permit before executing generated surface calls.
60
60
 
61
- Canonical hosted endpoint:
61
+ Canonical Lucern-hosted endpoint:
62
62
 
63
63
  ```text
64
- https://your-lucern-host/api/platform/mcp
64
+ https://lucern-mcp-production.up.railway.app/mcp
65
65
  ```
66
66
 
67
67
  Example remote connector config:
@@ -70,7 +70,7 @@ Example remote connector config:
70
70
  {
71
71
  "mcpServers": {
72
72
  "lucern": {
73
- "url": "https://your-lucern-host/api/platform/mcp",
73
+ "url": "https://lucern-mcp-production.up.railway.app/mcp",
74
74
  "headers": {
75
75
  "Authorization": "Bearer lk_..."
76
76
  }
@@ -79,6 +79,13 @@ Example remote connector config:
79
79
  }
80
80
  ```
81
81
 
82
+ Production hosting is owned by the Lucern Railway project
83
+ `lucern-platform`, service `lucern-mcp`. The hosted server is still a Lucern
84
+ gateway client: set `LUCERN_BASE_URL` / `LUCERN_API_BASE_URL` to
85
+ `https://api.lucern.ai`, set `LUCERN_PUBLIC_URL` to the Railway origin above,
86
+ and pass the caller credential on each request through `Authorization: Bearer
87
+ <lk_/lsk_/luc_/stk_...>` or `x-lucern-key`.
88
+
82
89
  ## Surface distinction
83
90
 
84
91
  This package is the **external package MCP** surface (`packages/mcp`) intended for Claude Code/CoWork and SDK consumers.
package/dist/cli.js CHANGED
@@ -27037,6 +27037,15 @@ function createClientPlatformNamespaces(ctx) {
27037
27037
  bootstrap: {
27038
27038
  generateSessionHandoff: functionSurfaceClient.generateSessionHandoff
27039
27039
  },
27040
+ hybrid: {
27041
+ discover: functionSurfaceClient.hybridDiscover,
27042
+ hybridDiscover: functionSurfaceClient.hybridDiscover,
27043
+ resolveTopicSemantic: functionSurfaceClient.resolveTopicSemantic,
27044
+ expandGraphNeighborhood: functionSurfaceClient.expandGraphNeighborhood,
27045
+ findRelatedNodes: functionSurfaceClient.findRelatedNodes,
27046
+ analyzeGraphImpact: functionSurfaceClient.analyzeGraphImpact,
27047
+ detectGraphDrift: functionSurfaceClient.detectGraphDrift
27048
+ },
27040
27049
  embeddings: embeddingsClient,
27041
27050
  graphAnalysis: graphAnalysisClient,
27042
27051
  graphRecommendations: graphRecommendationsClient,
@@ -32477,7 +32486,7 @@ function createToolRegistryClient(config = {}) {
32477
32486
  }
32478
32487
 
32479
32488
  // ../sdk/src/version.ts
32480
- var LUCERN_SDK_VERSION = "1.0.9";
32489
+ var LUCERN_SDK_VERSION = "1.0.11";
32481
32490
 
32482
32491
  // ../sdk/src/workflowClient.ts
32483
32492
  function normalizeLensQuery(value) {
@@ -36216,16 +36225,13 @@ function createEvidenceHandlers(context) {
36216
36225
  }
36217
36226
 
36218
36227
  // src/handlers/functionSurface.ts
36219
- function camelCaseToolName(name) {
36220
- return name.replace(/_([a-z])/g, (_, value) => value.toUpperCase());
36221
- }
36222
36228
  function createFunctionSurfaceHandlers(context) {
36223
36229
  const functionSurface = createFunctionSurfaceClient(context.sdkConfig);
36224
36230
  return Object.fromEntries(
36225
36231
  FUNCTION_SURFACE_CONTRACTS.map((contract) => [
36226
36232
  contract.mcp.toolName,
36227
36233
  contractToHandler(contract.mcp, async (params) => {
36228
- const methodName = camelCaseToolName(contract.name);
36234
+ const methodName = contract.sdk.method;
36229
36235
  const method = functionSurface[methodName];
36230
36236
  if (typeof method !== "function") {
36231
36237
  throw new Error(
@@ -37912,7 +37918,7 @@ function createLucernStandaloneMcpServer(options) {
37912
37918
  });
37913
37919
  const server = new McpServer({
37914
37920
  name: "lucern-mcp",
37915
- version: "1.0.9"
37921
+ version: "1.0.11"
37916
37922
  });
37917
37923
  registerTools(server, runtime);
37918
37924
  const resources = registerResources(server, runtime, observationStore);