edition-mcp-server 0.3.1 → 0.3.2

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 +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -172,7 +172,7 @@ async function apiPost(path, body) {
172
172
  // ── MCP Server ──────────────────────────────────────
173
173
  const server = new mcp_js_1.McpServer({
174
174
  name: "edition",
175
- version: "0.3.0",
175
+ version: "0.3.2",
176
176
  }, {
177
177
  instructions: PROGRESSIVE
178
178
  ? "EDITION is a Japan Knowledge Gateway for AI agents. Use japan_discover to explore 14 knowledge domains, japan_search for cross-domain queries, and japan_execute for specific domain operations. This server uses Progressive Discovery — only load domain details when needed."
@@ -321,7 +321,7 @@ else {
321
321
  return { content: [{ type: "text", text }] };
322
322
  });
323
323
  // ── Tool: memory_context ────────────────────────────
324
- server.tool("memory_context", "現在のセッション状態(有効な事実・合意事項のサマリー)を取得します。エージェントのプロンプトに注入して文脈を維持するために使います。", {
324
+ server.tool("memory_context", "現在のセッション状態(有効な事実・合意事項のサマリー)を取得します。エージェントのプロンプトに注入して文脈を維持するために使います。新しい会話セッション開始時や、長い会話の途中で文脈を再確認したい場合に呼び出してください。個別のファクトを一覧で見たい場合はmemory_factsを使ってください。", {
325
325
  session_id: zod_1.z.string().optional().describe("セッションID(省略で全体)"),
326
326
  }, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async ({ session_id }) => {
327
327
  const params = session_id ? `?session_id=${encodeURIComponent(session_id)}` : "";
@@ -404,7 +404,7 @@ else {
404
404
  return { content: [{ type: "text", text }] };
405
405
  });
406
406
  // ── Tool: regulation_industries ──────────────────────
407
- server.tool("regulation_industries", "日本の規制データベースに登録されている業種の一覧を取得します。", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async () => {
407
+ server.tool("regulation_industries", "日本の規制データベースに登録されている業種の一覧を取得します。対応業種を確認したい場合や、regulation_checkに渡すindustryパラメータの値を調べたい場合に使ってください。特定の規制内容を知りたい場合はregulation_checkを使ってください。", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async () => {
408
408
  const result = await apiGet("/api/v1/regulation/industries");
409
409
  let text = `🗾 対応業種一覧 (${result.count}業種):\n\n`;
410
410
  for (const ind of result.industries) {
@@ -416,7 +416,7 @@ else {
416
416
  return { content: [{ type: "text", text }] };
417
417
  });
418
418
  // ── Tool: regulation_tourist ────────────────────────
419
- server.tool("regulation_tourist", "訪日旅行者向けの規制・マナー情報のカテゴリ一覧を取得します。ビザ、免税、交通、宿泊、医療、マナーの6カテゴリ。", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async () => {
419
+ server.tool("regulation_tourist", "訪日旅行者向けの規制・マナー情報のカテゴリ一覧を取得します。ビザ、免税、交通、宿泊、医療、マナーの6カテゴリ。どのカテゴリがあるか一覧で確認したい場合に使ってください。特定のカテゴリの詳細を知りたい場合はregulation_check(entity_type='tourist')を使ってください。", {}, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async () => {
420
420
  const result = await apiGet("/api/v1/regulation/tourist");
421
421
  let text = `🗾 訪日旅行者向け規制カテゴリ (${result.count}件):\n\n`;
422
422
  for (const cat of result.categories) {
@@ -688,7 +688,7 @@ else {
688
688
  return { content: [{ type: "text", text }] };
689
689
  });
690
690
  // ── Tool: search ────────────────────────────────────
691
- server.tool("search", "EDITION全14ドメインを横断検索します。1回のリクエストで規制・プロトコル・カレンダー・地域・組織・進出手続き・旅行・エンタメ・日常生活・日本語・食文化・災害安全の全12ドメインを同時検索。", {
691
+ server.tool("search", "EDITION全14ドメインを横断検索します。1回のリクエストで規制・プロトコル・カレンダー・地域・組織・進出手続き・旅行・エンタメ・日常生活・日本語・食文化・災害安全・メモリの全14ドメインを同時検索します。日本に関する幅広い質問で、どのドメインに該当するかわからない場合にまずこのツールを使ってください。特定ドメインの詳細が必要な場合は、各ドメイン専用の_checkまたは_searchツールを使ってください。", {
692
692
  query: zod_1.z.string().describe("検索クエリ(例: '大阪で飲食店を開業', '地震の避難方法', '敬語の使い方')"),
693
693
  }, { readOnlyHint: true, destructiveHint: false, idempotentHint: true }, async ({ query }) => {
694
694
  const result = await apiPost("/api/v1/search", { query });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "edition-mcp-server",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "mcpName": "io.github.hiroshic9-png/japan-business-operations",
5
5
  "description": "EDITION — Japan Knowledge Gateway for AI agents. 14 knowledge domains, 6 Skills Packs, 31 MCP tools, Progressive Discovery support. Verified ground truth: regulations, procedures, protocols, calendar, regional, organization, foreign entry, travel, entertainment, daily life, language, food culture, disaster safety, and persistent memory.",
6
6
  "main": "dist/index.js",