sepia-mcp 0.9.1 → 0.9.3

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 +109 -30
  2. package/package.json +5 -3
package/dist/index.js CHANGED
@@ -611,7 +611,8 @@ STANDING RULES — THE THING YOU CANNOT SEARCH FOR. Some memories are standing r
611
611
  the user wants you to behave, everywhere, always. They are exactly the rules you do not yet
612
612
  know you need — you cannot keyword-search for a rule whose existence you have not guessed.
613
613
  So they are loaded unconditionally, once per session, BEFORE any work starts.
614
- - core = every memory tagged "always", plus every instruction/preference at importance >= 0.9
614
+ - core = every memory tagged "always" and ONLY that (importance ranks rules within the
615
+ briefing; it never admits or removes one — tagging "always" is the single switch)
615
616
  - read them with manage_memory action=briefing (one call, no keywords)
616
617
  - briefing returns CORE by DEFAULT. The tail (situational and project-scoped rules) is opt-in
617
618
  via detail="all". Core is a handful of rules and stays small; the tail grows without bound,
@@ -638,6 +639,7 @@ FIRST — once per session, before your first substantive action (NOT keyword-dr
638
639
  THEN — before you answer (every turn except trivial chitchat):
639
640
  1. Call "search" with 2-5 keywords from the user's current message + task (e.g. query="auth rate limiting"). If sparse, also call "traverse_graph" from the top entity.
640
641
  Search is best-effort: rows matching MORE of your words rank first, so it never returns 0 just because one word is absent. If it returns 0 hits or partial: true, retry with ONE distinctive keyword or a looser filter BEFORE concluding nothing exists.
642
+ DIAGNOSTIC: identical results for different q values = the filter was NOT applied — wrong tool, or a parameter the schema lacks. Check the schema and the response's filters_applied/ignored_args before theorizing about ranking or tokenization. Ranked keyword search lives ONLY in the search tool.
641
643
  2. Weave hits into your answer ("From your memory: ..."). If nothing, say so — never fabricate.
642
644
 
643
645
  AFTER you answer (every turn where you learned something):
@@ -716,9 +718,10 @@ var IMPORTANCE_MAX = 1;
716
718
  var DEFAULT_IMPORTANCE = 0.5;
717
719
  var MAX_ENTITY_LINKS = 3;
718
720
  var SEARCH_LIMIT_MAX = 25;
721
+ var SEARCH_LIMIT_DEFAULT = 10;
719
722
  var QUERY_LIMIT_MAX = 50;
720
723
  var TRAVERSE_DEPTH_MAX = 3;
721
- var SEARCH_ENGINES = ["coverage", "bm25"];
724
+ var SEARCH_ENGINES = ["coverage", "bm25", "opensearch"];
722
725
  var BRIEFING_DETAILS = ["core", "all"];
723
726
  var BRIEFING_DETAIL_DEFAULT = "core";
724
727
  var BRIEFING_ITEM_CHARS = 400;
@@ -819,20 +822,20 @@ var ConversationInput = v.object({
819
822
  namespace: v.optional(v.string(), DEFAULT_NAMESPACE),
820
823
  tags: v.optional(tagsSchema, [])
821
824
  });
822
- var SearchInput = v.object({
825
+ var SearchInput = v.looseObject({
823
826
  q: v.pipe(v.string(), v.maxLength(200), v.description("Search query (required; empty returns recent items). Multi-word = best-effort: rows matching MORE of your words rank first, so a result set is never emptied by one absent word. Verbatim phrases rank highest. Check `partial` in the result (+ each hit's `matched_terms`) before concluding nothing exists.")),
824
827
  namespace: v.optional(v.pipe(v.string(), v.description("Restrict to a namespace"))),
825
828
  type: v.optional(v.pipe(v.string(), v.maxLength(64), v.description("Memory type (fact/observation/preference/instruction) OR entity type (person/project/tool/concept/repo)"))),
826
829
  tags: v.optional(v.pipe(tagsSchema, v.description("Match memories/entities carrying ALL of these tags"))),
827
- limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(SEARCH_LIMIT_MAX), v.description("Max results (default 10, max 25)")), 10),
830
+ limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(SEARCH_LIMIT_MAX), v.description("Max results (default 10, max 25)")), SEARCH_LIMIT_DEFAULT),
828
831
  min_terms: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(50), v.description("Drop hits covering fewer than this many query terms (precision dial; absent = best-effort recall). Too high returns 0 with `terms` present — that is the filter, not a missing memory."))),
829
- engine: v.optional(v.pipe(v.picklist([...SEARCH_ENGINES]), v.description('Ranking engine: "coverage" (substring, coverage-first) or "bm25" (tokenised, BM25-ranked). Omit to use the server default.')))
832
+ engine: v.optional(v.pipe(v.picklist([...SEARCH_ENGINES]), v.description('Ranking engine: "coverage" (substring, coverage-first), "bm25" (tokenised, BM25-ranked), or "opensearch" (external cluster; falls back to coverage when unavailable or empty). Omit to use the server default.')))
830
833
  });
831
- var TraverseInput = v.object({
834
+ var TraverseInput = v.looseObject({
832
835
  start_id: v.pipe(uuidSchema, v.description("Entity UUID to start the BFS walk from")),
833
836
  depth: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(TRAVERSE_DEPTH_MAX), v.description("Walk depth (default 1, max 3)")), 1)
834
837
  });
835
- var NamespaceToolInput = v.object({
838
+ var NamespaceToolInput = v.looseObject({
836
839
  action: v.pipe(v.union([
837
840
  v.literal("create"),
838
841
  v.literal("list"),
@@ -843,7 +846,7 @@ var NamespaceToolInput = v.object({
843
846
  id: v.optional(v.pipe(uuidSchema, v.description("Namespace UUID (or use name)"))),
844
847
  description: v.optional(v.pipe(v.string(), v.description("Optional description")), "")
845
848
  });
846
- var EntityToolInput = v.object({
849
+ var EntityToolInput = v.looseObject({
847
850
  action: v.pipe(v.union([
848
851
  v.literal("create"),
849
852
  v.literal("get"),
@@ -858,6 +861,8 @@ var EntityToolInput = v.object({
858
861
  update: v.optional(v.pipe(EntityUpdateInput, v.description("Any subset of name/type/summary/importance/metadata/tags"))),
859
862
  query: v.optional(v.pipe(v.string(), v.description("find: name to match (exact or substring)"))),
860
863
  type: v.optional(v.pipe(v.string(), v.description("find: optional type filter"))),
864
+ limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(1e4), v.description("find: max results (default 20, max 10000)")), 20),
865
+ offset: v.optional(v.pipe(v.number(), v.minValue(0), v.description("find: rows to skip (pagination)")), 0),
861
866
  where: v.optional(v.pipe(v.object({
862
867
  type: v.optional(v.string()),
863
868
  namespace: v.optional(v.string()),
@@ -865,14 +870,16 @@ var EntityToolInput = v.object({
865
870
  }), v.description("batch_update: filters — at least one of type/namespace/query required"))),
866
871
  batch_limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(500), v.description("batch_update: max rows to touch (default 100, max 500)")), 100)
867
872
  });
868
- var RelationToolInput = v.object({
873
+ var RelationToolInput = v.looseObject({
869
874
  action: v.pipe(v.union([v.literal("create"), v.literal("delete"), v.literal("list")]), v.description("create (relation) | delete (id) | list (by entity_id or namespace)")),
870
875
  relation: v.optional(v.pipe(RelationInput, v.description("Relation to create: {source_id, target_id, relation_type, weight?} — updates weight if the same relation exists"))),
871
876
  id: v.optional(v.pipe(uuidSchema, v.description("Relation UUID"))),
872
877
  entity_id: v.optional(v.pipe(uuidSchema, v.description("list: filter by entity (in + out)"))),
873
- namespace: v.optional(v.pipe(v.string(), v.description("list: filter by namespace")))
878
+ namespace: v.optional(v.pipe(v.string(), v.description("list: filter by namespace"))),
879
+ limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(1e4), v.description("list: max rows (default 200, max 10000)")), 200),
880
+ offset: v.optional(v.pipe(v.number(), v.minValue(0), v.description("list: rows to skip (pagination)")), 0)
874
881
  });
875
- var MemoryToolInput = v.object({
882
+ var MemoryToolInput = v.looseObject({
876
883
  action: v.pipe(v.union([
877
884
  v.literal("create"),
878
885
  v.literal("get"),
@@ -882,7 +889,7 @@ var MemoryToolInput = v.object({
882
889
  v.literal("briefing"),
883
890
  v.literal("batch_update"),
884
891
  v.literal("ingest")
885
- ]), v.description("briefing (call ONCE at the start of a session — takes no other args) | create (memory) | get (id) | update (id + update) | delete (id) | query (filters) | batch_update (where + update — updates ALL matching, returns count) | ingest (conversation — handoff digest)")),
892
+ ]), v.description("briefing (call ONCE at the start of a session — takes no other args) | create (memory) | get (id) | update (id + update) | delete (id) | query (filters: type|namespace|importance_min|archived|tags|q|offset|limit — `q` is a keyword filter; for ranked search use the `search` tool) | batch_update (where + update — updates ALL matching, returns count) | ingest (conversation — handoff digest)")),
886
893
  id: v.optional(v.pipe(uuidSchema, v.description("Memory UUID"))),
887
894
  memory: v.optional(v.pipe(MemoryInput, v.description("Memory to create: {content, type? fact|observation|preference|instruction, importance? 0-1, namespace?, entity_ids? [0-3], metadata?, tags?} — source auto-set to client name"))),
888
895
  update: v.optional(v.pipe(MemoryUpdateInput, v.description("Any subset of content/type/importance/metadata/archived/tags — entity_ids REPLACES the link set, tags REPLACES the tag set"))),
@@ -892,6 +899,8 @@ var MemoryToolInput = v.object({
892
899
  importance_min: v.optional(v.pipe(importanceSchema, v.description("query: minimum importance (0-1)"))),
893
900
  archived: v.optional(v.pipe(v.boolean(), v.description("query: include archived (default false)")), false),
894
901
  tags: v.optional(v.pipe(tagsSchema, v.description("query: match memories carrying ALL of these tags"))),
902
+ q: v.optional(v.pipe(v.string(), v.maxLength(500), v.description('query: keyword filter — matches content, all terms, any order (e.g. q="aiven opensearch"). Empty/omitted = no keyword filtering. For ranked full-text search across memories AND entities, use the `search` tool instead.'))),
903
+ offset: v.optional(v.pipe(v.number(), v.minValue(0), v.description("query: rows to skip after filtering (pagination)"))),
895
904
  limit: v.optional(v.pipe(v.number(), v.minValue(1), v.maxValue(QUERY_LIMIT_MAX), v.description("query: max results (default 20, max 50)")), 20),
896
905
  detail: v.optional(v.pipe(v.picklist([...BRIEFING_DETAILS]), v.description('briefing: "core" (default) = the never-dropped standing rules; "all" = also return the tail of situational rules (max_chars applies only then). On a ~1M-token context window, request "all" on the first session-start call.')), BRIEFING_DETAIL_DEFAULT),
897
906
  max_chars: v.optional(v.pipe(v.number(), v.minValue(1000), v.maxValue(BRIEFING_CHARS_MAX), v.description(`briefing (detail="all" only): total character budget (default ${BRIEFING_CHARS_DEFAULT}, max ${BRIEFING_CHARS_MAX} — the physical maximum a briefing can return: FETCH_MAX rows x ITEM_CHARS). If truncated: true, raise it or fetch the ids.`)), BRIEFING_CHARS_DEFAULT),
@@ -906,9 +915,35 @@ var MemoryToolInput = v.object({
906
915
  });
907
916
  var SearchToolInput = SearchInput;
908
917
  var TraverseToolInput = TraverseInput;
909
- var PruneMemoriesToolInput = v.object({
918
+ var PruneMemoriesToolInput = v.looseObject({
910
919
  confirm: v.pipe(v.literal(true), v.description("Must be true. Acknowledges that this archives stale memories and permanently deletes rows archived more than 30 days ago. Set it only after the user explicitly asked for the sweep."))
911
920
  });
921
+ // ../shared/src/filter-sets.ts
922
+ var MEMORY_QUERY_FILTERS = [
923
+ "type",
924
+ "namespace",
925
+ "importance_min",
926
+ "archived",
927
+ "tags",
928
+ "q",
929
+ "offset",
930
+ "limit"
931
+ ];
932
+ function echoQueryFilters(args, declared, entries) {
933
+ const declaredSet = new Set(declared);
934
+ const filters_applied = {};
935
+ for (const key of declared)
936
+ filters_applied[key] = args[key] ?? null;
937
+ const ignored = Object.keys(args).filter((k) => {
938
+ if (k === "action" || declaredSet.has(k))
939
+ return false;
940
+ const entry = entries?.[k];
941
+ if (entry && "default" in entry && args[k] === entry.default)
942
+ return false;
943
+ return true;
944
+ }).map((k) => entries && (k in entries) ? `${k} (not valid for this action — ignored)` : `${k} (unknown parameter — never applied)`);
945
+ return { filters_applied, ignored };
946
+ }
912
947
  // ../../node_modules/.bun/drizzle-orm@0.45.2+af38a8ac26d8f59c/node_modules/drizzle-orm/entity.js
913
948
  var entityKind = Symbol.for("drizzle:entityKind");
914
949
  var hasOwnEntityKind = Symbol.for("drizzle:hasOwnEntityKind");
@@ -3745,7 +3780,8 @@ var telemetryEvents = pgTable("telemetry_events", {
3745
3780
  latencyMs: integer("latency_ms"),
3746
3781
  resultChars: integer("result_chars"),
3747
3782
  queryText: text("query_text"),
3748
- hitIds: uuid2("hit_ids").array()
3783
+ hitIds: uuid2("hit_ids").array(),
3784
+ options: jsonb().$type()
3749
3785
  }, (table) => [
3750
3786
  index("idx_telemetry_events_owner").using("btree", table.ownerId.asc().nullsLast().op("uuid_ops")),
3751
3787
  index("idx_telemetry_events_session").using("btree", table.sessionHash.asc().nullsLast().op("text_ops")),
@@ -8660,6 +8696,8 @@ buffer/index.js:
8660
8696
  */
8661
8697
  // ../shared/src/db/lib/telemetry.ts
8662
8698
  var tierCache = new Map;
8699
+ var PURGE_INTERVAL_MS = 15 * 60000;
8700
+ var lastPurgeAt = new Map;
8663
8701
  // src/client.ts
8664
8702
  class SepiaApiError extends Error {
8665
8703
  status;
@@ -8735,6 +8773,8 @@ class SepiaClient {
8735
8773
  qs.set("type", params.type);
8736
8774
  if (params.limit !== undefined)
8737
8775
  qs.set("limit", String(params.limit));
8776
+ if (params.offset !== undefined)
8777
+ qs.set("offset", String(params.offset));
8738
8778
  const suffix = qs.size ? `?${qs.toString()}` : "";
8739
8779
  return this.request("GET", `/api/entities${suffix}`);
8740
8780
  }
@@ -8772,6 +8812,12 @@ class SepiaClient {
8772
8812
  qs.set("archived", String(params.archived));
8773
8813
  if (params.tags !== undefined && params.tags.length)
8774
8814
  qs.set("tags", params.tags.join(","));
8815
+ if (params.q !== undefined && params.q !== "")
8816
+ qs.set("q", params.q);
8817
+ if (params.offset !== undefined)
8818
+ qs.set("offset", String(params.offset));
8819
+ if (params.limit !== undefined)
8820
+ qs.set("limit", String(params.limit));
8775
8821
  if (params.limit !== undefined)
8776
8822
  qs.set("limit", String(params.limit));
8777
8823
  const suffix = qs.size ? `?${qs.toString()}` : "";
@@ -8822,6 +8868,10 @@ class SepiaClient {
8822
8868
  qs.set("entity_id", params.entity_id);
8823
8869
  if (params.namespace !== undefined)
8824
8870
  qs.set("namespace", params.namespace);
8871
+ if (params.limit !== undefined)
8872
+ qs.set("limit", String(params.limit));
8873
+ if (params.offset !== undefined)
8874
+ qs.set("offset", String(params.offset));
8825
8875
  const suffix = qs.size ? `?${qs.toString()}` : "";
8826
8876
  return this.request("GET", `/api/relations${suffix}`);
8827
8877
  }
@@ -8837,6 +8887,8 @@ class SepiaClient {
8837
8887
  qs.set("namespace", params.namespace);
8838
8888
  if (params.type !== undefined)
8839
8889
  qs.set("type", params.type);
8890
+ if (params.engine !== undefined)
8891
+ qs.set("engine", params.engine);
8840
8892
  if (params.tags !== undefined && params.tags.length)
8841
8893
  qs.set("tags", params.tags.join(","));
8842
8894
  if (params.limit !== undefined)
@@ -8865,10 +8917,21 @@ var SEPIA_ICON = {
8865
8917
  mimeType: "image/svg+xml",
8866
8918
  sizes: ["any"]
8867
8919
  };
8868
- function safe(handler) {
8920
+ function safe(schema, handler) {
8921
+ const declared = new Set(Object.keys(schema.entries));
8869
8922
  return async (args) => {
8870
8923
  try {
8871
- return tool.text(JSON.stringify(await handler(args), null, 2));
8924
+ const value = await handler(args);
8925
+ const sent = args && typeof args === "object" ? Object.keys(args) : [];
8926
+ const ignored = sent.filter((k) => !declared.has(k));
8927
+ if (ignored.length > 0 && value !== null && typeof value === "object" && !Array.isArray(value)) {
8928
+ return tool.text(JSON.stringify({
8929
+ ...value,
8930
+ ignored_args: ignored,
8931
+ hint: `Unknown argument(s) ignored: ${ignored.join(", ")}. They are not in this tool's input schema and did NOT apply — match arguments to the schema before retrying.`
8932
+ }, null, 2));
8933
+ }
8934
+ return tool.text(JSON.stringify(value, null, 2));
8872
8935
  } catch (error) {
8873
8936
  if (error instanceof McpError)
8874
8937
  throw error;
@@ -8889,7 +8952,7 @@ function registerNamespaceTools(server, client) {
8889
8952
  description: "Create, list, get, or delete namespaces — isolated memory containers.",
8890
8953
  icons: [SEPIA_ICON],
8891
8954
  schema: NamespaceToolInput
8892
- }, safe(async (args) => {
8955
+ }, safe(NamespaceToolInput, async (args) => {
8893
8956
  switch (args.action) {
8894
8957
  case "create": {
8895
8958
  if (!args.name)
@@ -8934,7 +8997,7 @@ function registerEntityTools(server, client) {
8934
8997
  description: "Create, get, update, delete, find, or batch-update entities — knowledge graph nodes (people, projects, tools, concepts, repos).",
8935
8998
  icons: [SEPIA_ICON],
8936
8999
  schema: EntityToolInput
8937
- }, safe(async (args) => {
9000
+ }, safe(EntityToolInput, async (args) => {
8938
9001
  switch (args.action) {
8939
9002
  case "create": {
8940
9003
  if (!args.entity)
@@ -8974,7 +9037,9 @@ function registerEntityTools(server, client) {
8974
9037
  const { count, entities } = await client.findEntities({
8975
9038
  namespace: args.namespace,
8976
9039
  q: args.query,
8977
- type: args.type
9040
+ type: args.type,
9041
+ limit: args.limit,
9042
+ offset: args.offset
8978
9043
  });
8979
9044
  return { action: "find", count, entities };
8980
9045
  }
@@ -9000,7 +9065,7 @@ function registerRelationTools(server, client) {
9000
9065
  description: "Create, delete, or list relations — directed, weighted edges between entities.",
9001
9066
  icons: [SEPIA_ICON],
9002
9067
  schema: RelationToolInput
9003
- }, safe(async (args) => {
9068
+ }, safe(RelationToolInput, async (args) => {
9004
9069
  switch (args.action) {
9005
9070
  case "create": {
9006
9071
  if (!args.relation)
@@ -9023,7 +9088,9 @@ function registerRelationTools(server, client) {
9023
9088
  action: "list",
9024
9089
  relations: (await client.listRelations({
9025
9090
  entity_id: args.entity_id,
9026
- namespace: args.namespace
9091
+ namespace: args.namespace,
9092
+ limit: args.limit,
9093
+ offset: args.offset
9027
9094
  })).relations
9028
9095
  };
9029
9096
  }
@@ -9038,7 +9105,7 @@ function registerMemoryTools(server, client) {
9038
9105
  description: "Create, get, update, delete, query, batch-update, or ingest memories — knowledge fragments with importance scoring, plus conversation handoff digests.",
9039
9106
  icons: [SEPIA_ICON],
9040
9107
  schema: MemoryToolInput
9041
- }, safe(async (args) => {
9108
+ }, safe(MemoryToolInput, async (args) => {
9042
9109
  switch (args.action) {
9043
9110
  case "create": {
9044
9111
  if (!args.memory)
@@ -9081,9 +9148,18 @@ function registerMemoryTools(server, client) {
9081
9148
  importance_min: args.importance_min,
9082
9149
  archived: args.archived,
9083
9150
  tags: args.tags,
9151
+ q: args.q,
9152
+ offset: args.offset,
9084
9153
  limit: args.limit
9085
9154
  });
9086
- return { action: "query", count, memories };
9155
+ const { filters_applied, ignored } = echoQueryFilters(args, MEMORY_QUERY_FILTERS, MemoryToolInput.entries);
9156
+ return {
9157
+ action: "query",
9158
+ count,
9159
+ filters_applied,
9160
+ ...ignored.length ? { ignored } : {},
9161
+ memories
9162
+ };
9087
9163
  }
9088
9164
  case "briefing": {
9089
9165
  return {
@@ -9127,14 +9203,15 @@ function registerSearchTools(server, client) {
9127
9203
  icons: [SEPIA_ICON],
9128
9204
  schema: SearchToolInput,
9129
9205
  annotations: { readOnlyHint: true }
9130
- }, safe(async (args) => {
9206
+ }, safe(SearchToolInput, async (args) => {
9131
9207
  const { count, results, terms, best_matched_terms, partial } = await client.search({
9132
9208
  q: args.q,
9133
9209
  namespace: args.namespace,
9134
9210
  type: args.type,
9135
9211
  tags: args.tags,
9136
9212
  limit: args.limit,
9137
- min_terms: args.min_terms
9213
+ min_terms: args.min_terms,
9214
+ engine: args.engine
9138
9215
  });
9139
9216
  return { count, terms, best_matched_terms, partial, hits: results };
9140
9217
  }));
@@ -9149,7 +9226,7 @@ function registerTraverseTools(server, client) {
9149
9226
  icons: [SEPIA_ICON],
9150
9227
  schema: TraverseToolInput,
9151
9228
  annotations: { readOnlyHint: true }
9152
- }, safe(async (args) => {
9229
+ }, safe(TraverseToolInput, async (args) => {
9153
9230
  const graph = await client.traverseGraph(args.start_id, args.depth);
9154
9231
  return {
9155
9232
  start_id: args.start_id,
@@ -9167,22 +9244,24 @@ function registerPruneMemoriesTools(server, client) {
9167
9244
  icons: [SEPIA_ICON],
9168
9245
  schema: PruneMemoriesToolInput,
9169
9246
  annotations: { destructiveHint: true }
9170
- }, safe(async () => {
9247
+ }, safe(PruneMemoriesToolInput, async () => {
9171
9248
  return (await client.pruneMemories()).result;
9172
9249
  }));
9173
9250
  }
9174
9251
  // package.json
9175
9252
  var package_default = {
9176
9253
  name: "sepia-mcp",
9177
- version: "0.9.1",
9254
+ version: "0.9.3",
9178
9255
  description: "Self-contained MCP server for Sepia — a personal knowledge-graph memory server. Talks to the Sepia REST API (SEPIA_URL + SEPIA_API_KEY); stdio or HTTP transport.",
9179
9256
  type: "module",
9180
9257
  repository: {
9181
9258
  type: "git",
9182
- url: "https://github.com/Michael-Obele/sepia",
9259
+ url: "git+https://github.com/Michael-Obele/sepia.git",
9183
9260
  directory: "packages/sepia-mcp"
9184
9261
  },
9185
- bin: "./dist/index.js",
9262
+ bin: {
9263
+ "sepia-mcp": "./dist/index.js"
9264
+ },
9186
9265
  exports: {
9187
9266
  ".": "./dist/index.js"
9188
9267
  },
package/package.json CHANGED
@@ -1,14 +1,16 @@
1
1
  {
2
2
  "name": "sepia-mcp",
3
- "version": "0.9.1",
3
+ "version": "0.9.3",
4
4
  "description": "Self-contained MCP server for Sepia — a personal knowledge-graph memory server. Talks to the Sepia REST API (SEPIA_URL + SEPIA_API_KEY); stdio or HTTP transport.",
5
5
  "type": "module",
6
6
  "repository": {
7
7
  "type": "git",
8
- "url": "https://github.com/Michael-Obele/sepia",
8
+ "url": "git+https://github.com/Michael-Obele/sepia.git",
9
9
  "directory": "packages/sepia-mcp"
10
10
  },
11
- "bin": "./dist/index.js",
11
+ "bin": {
12
+ "sepia-mcp": "./dist/index.js"
13
+ },
12
14
  "exports": {
13
15
  ".": "./dist/index.js"
14
16
  },