@contextstream/mcp-server 0.3.64 → 0.3.66

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -3
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -12446,6 +12446,10 @@ var REQUIRE_AUTH = (process.env.MCP_HTTP_REQUIRE_AUTH || "true").toLowerCase() !
12446
12446
  var ENABLE_JSON_RESPONSE = (process.env.MCP_HTTP_JSON_RESPONSE || "false").toLowerCase() === "true";
12447
12447
  var ENABLE_PROMPTS = (process.env.CONTEXTSTREAM_ENABLE_PROMPTS || "true").toLowerCase() !== "false";
12448
12448
  var WELL_KNOWN_CONFIG_PATH = "/.well-known/mcp-config";
12449
+ var WELL_KNOWN_CONFIG_PATHS = /* @__PURE__ */ new Set([
12450
+ WELL_KNOWN_CONFIG_PATH,
12451
+ "/.well-known/mcp-config.json"
12452
+ ]);
12449
12453
  var WELL_KNOWN_CARD_PATHS = /* @__PURE__ */ new Set([
12450
12454
  "/.well-known/mcp.json",
12451
12455
  "/.well-known/mcp-server.json"
@@ -12515,7 +12519,7 @@ function buildMcpConfigSchema(baseUrl) {
12515
12519
  apiKey: {
12516
12520
  type: "string",
12517
12521
  title: "API Key or JWT",
12518
- description: "ContextStream API key or JWT used for authentication."
12522
+ description: "Optional ContextStream API key or JWT (required for authenticated tool calls)."
12519
12523
  },
12520
12524
  workspaceId: {
12521
12525
  type: "string",
@@ -12530,7 +12534,6 @@ function buildMcpConfigSchema(baseUrl) {
12530
12534
  format: "uuid"
12531
12535
  }
12532
12536
  },
12533
- required: ["apiKey"],
12534
12537
  additionalProperties: false
12535
12538
  };
12536
12539
  }
@@ -12542,6 +12545,7 @@ function buildServerCard(baseUrl) {
12542
12545
  title: "ContextStream MCP Server",
12543
12546
  description: "ContextStream MCP server for code context, memory, search, and AI tools.",
12544
12547
  version: VERSION,
12548
+ homepage: "https://contextstream.io/docs/mcp",
12545
12549
  websiteUrl: "https://contextstream.io/docs/mcp",
12546
12550
  repository: {
12547
12551
  url: "https://github.com/contextstream/mcp-server",
@@ -12552,6 +12556,11 @@ function buildServerCard(baseUrl) {
12552
12556
  src: "https://contextstream.io/favicon.svg",
12553
12557
  mimeType: "image/svg+xml",
12554
12558
  sizes: ["any"]
12559
+ },
12560
+ {
12561
+ src: "https://contextstream.io/logo.png",
12562
+ mimeType: "image/png",
12563
+ sizes: ["512x512"]
12555
12564
  }
12556
12565
  ],
12557
12566
  remotes: [
@@ -12680,7 +12689,7 @@ async function runHttpGateway() {
12680
12689
  writeJson(res, 200, { status: "ok", version: VERSION });
12681
12690
  return;
12682
12691
  }
12683
- if (url.pathname === WELL_KNOWN_CONFIG_PATH) {
12692
+ if (WELL_KNOWN_CONFIG_PATHS.has(url.pathname)) {
12684
12693
  writeJson(res, 200, buildMcpConfigSchema(getBaseUrl(req)));
12685
12694
  return;
12686
12695
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contextstream/mcp-server",
3
3
  "mcpName": "io.github.contextstreamio/mcp-server",
4
- "version": "0.3.64",
4
+ "version": "0.3.66",
5
5
  "description": "MCP server exposing ContextStream public API - code context, memory, search, and AI tools for developers",
6
6
  "type": "module",
7
7
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "type": "git",
48
48
  "url": "git+https://github.com/contextstream/mcp-server.git"
49
49
  },
50
- "homepage": "https://github.com/contextstream/mcp-server#readme",
50
+ "homepage": "https://contextstream.io/docs/mcp",
51
51
  "bugs": {
52
52
  "url": "https://github.com/contextstream/mcp-server/issues"
53
53
  },