@contextstream/mcp-server 0.3.65 → 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 +6 -1
  2. package/package.json +1 -1
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"
@@ -12541,6 +12545,7 @@ function buildServerCard(baseUrl) {
12541
12545
  title: "ContextStream MCP Server",
12542
12546
  description: "ContextStream MCP server for code context, memory, search, and AI tools.",
12543
12547
  version: VERSION,
12548
+ homepage: "https://contextstream.io/docs/mcp",
12544
12549
  websiteUrl: "https://contextstream.io/docs/mcp",
12545
12550
  repository: {
12546
12551
  url: "https://github.com/contextstream/mcp-server",
@@ -12684,7 +12689,7 @@ async function runHttpGateway() {
12684
12689
  writeJson(res, 200, { status: "ok", version: VERSION });
12685
12690
  return;
12686
12691
  }
12687
- if (url.pathname === WELL_KNOWN_CONFIG_PATH) {
12692
+ if (WELL_KNOWN_CONFIG_PATHS.has(url.pathname)) {
12688
12693
  writeJson(res, 200, buildMcpConfigSchema(getBaseUrl(req)));
12689
12694
  return;
12690
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.65",
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",