genjo-mcp-server 1.0.12 → 1.0.14
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/index.js +55 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -30591,6 +30591,49 @@ server.tool(
|
|
|
30591
30591
|
}
|
|
30592
30592
|
}
|
|
30593
30593
|
);
|
|
30594
|
+
server.prompt(
|
|
30595
|
+
"analyze-ai-news",
|
|
30596
|
+
{
|
|
30597
|
+
lang: external_exports3.enum(["ja", "en"]).optional().describe("Language for the analysis (default: ja)")
|
|
30598
|
+
},
|
|
30599
|
+
({ lang = "ja" }) => ({
|
|
30600
|
+
messages: [
|
|
30601
|
+
{
|
|
30602
|
+
role: "user",
|
|
30603
|
+
content: {
|
|
30604
|
+
type: "text",
|
|
30605
|
+
text: lang === "ja" ? "\u6700\u8FD1\u306EAI\u30CB\u30E5\u30FC\u30B9\u306E\u30C8\u30EC\u30F3\u30C9\u3092\u5206\u6790\u3057\u3001\u7279\u306B\u6CE8\u76EE\u3059\u3079\u304D\u6280\u8853\u7684\u306A\u9032\u5C55\u3068\u5E02\u5834\u3078\u306E\u5F71\u97FF\u3092\u307E\u3068\u3081\u3066\u304F\u3060\u3055\u3044\u3002" : "Analyze recent AI news trends, focusing on key technical advancements and market impacts."
|
|
30606
|
+
}
|
|
30607
|
+
}
|
|
30608
|
+
]
|
|
30609
|
+
})
|
|
30610
|
+
);
|
|
30611
|
+
server.prompt(
|
|
30612
|
+
"fact-check-news",
|
|
30613
|
+
{
|
|
30614
|
+
topic: external_exports3.string().describe("The news topic to fact check"),
|
|
30615
|
+
lang: external_exports3.enum(["ja", "en"]).optional().describe("Language for the report (default: ja)")
|
|
30616
|
+
},
|
|
30617
|
+
({ topic, lang = "ja" }) => ({
|
|
30618
|
+
messages: [
|
|
30619
|
+
{
|
|
30620
|
+
role: "user",
|
|
30621
|
+
content: {
|
|
30622
|
+
type: "text",
|
|
30623
|
+
text: lang === "ja" ? `\u4EE5\u4E0B\u306E\u30C8\u30D4\u30C3\u30AF\u306B\u95A2\u3059\u308B\u30CB\u30E5\u30FC\u30B9\u306E\u30D5\u30A1\u30AF\u30C8\u30C1\u30A7\u30C3\u30AF\u3092\u884C\u3063\u3066\u304F\u3060\u3055\u3044\u3002
|
|
30624
|
+
|
|
30625
|
+
\u30C8\u30D4\u30C3\u30AF: ${topic}
|
|
30626
|
+
|
|
30627
|
+
\u4FE1\u983C\u3067\u304D\u308B\u60C5\u5831\u6E90\u306B\u57FA\u3065\u304D\u3001\u4E8B\u5B9F\u95A2\u4FC2\u306E\u78BA\u8A8D\u3068\u3001\u8A87\u5F35\u3084\u8AA4\u89E3\u304C\u542B\u307E\u308C\u3066\u3044\u306A\u3044\u304B\u691C\u8A3C\u3057\u3066\u304F\u3060\u3055\u3044\u3002` : `Please conduct a fact check on the following news topic.
|
|
30628
|
+
|
|
30629
|
+
Topic: ${topic}
|
|
30630
|
+
|
|
30631
|
+
Verify the facts based on reliable sources and check for any exaggerations or misunderstandings.`
|
|
30632
|
+
}
|
|
30633
|
+
}
|
|
30634
|
+
]
|
|
30635
|
+
})
|
|
30636
|
+
);
|
|
30594
30637
|
async function install() {
|
|
30595
30638
|
console.log("\x1B[36m%s\x1B[0m", "\u{1F916} Genjo MCP Server Installer");
|
|
30596
30639
|
console.log("--------------------------------");
|
|
@@ -30697,6 +30740,14 @@ description: Expert AI News Agent for Asian markets. Use this skill when the use
|
|
|
30697
30740
|
fs.mkdirSync(claudeSkillDir, { recursive: true });
|
|
30698
30741
|
fs.writeFileSync(path.join(claudeSkillDir, "SKILL.md"), content);
|
|
30699
30742
|
console.log(`\u2705 Installed Claude Skill to .claude/skills/${skillFolderName}/SKILL.md`);
|
|
30743
|
+
const userSkillDir = path.join(process.cwd(), skillFolderName);
|
|
30744
|
+
if (!fs.existsSync(userSkillDir)) {
|
|
30745
|
+
fs.mkdirSync(userSkillDir, { recursive: true });
|
|
30746
|
+
}
|
|
30747
|
+
fs.writeFileSync(path.join(userSkillDir, "SKILL.md"), content);
|
|
30748
|
+
console.log(`
|
|
30749
|
+
\u{1F4C1} Created skill folder: ./${skillFolderName}/`);
|
|
30750
|
+
console.log(` (You can zip this folder and upload it to Claude Desktop App Settings > Developer > Skills)`);
|
|
30700
30751
|
const oldRuleFile = path.join(process.cwd(), ".cursor", "rules", "genjo-ai-news.mdc");
|
|
30701
30752
|
if (fs.existsSync(oldRuleFile)) {
|
|
30702
30753
|
fs.unlinkSync(oldRuleFile);
|
|
@@ -30712,8 +30763,10 @@ description: Expert AI News Agent for Asian markets. Use this skill when the use
|
|
|
30712
30763
|
console.log("\n--------------------------------");
|
|
30713
30764
|
console.log("\u{1F389} Setup complete!");
|
|
30714
30765
|
console.log("1. Restart Claude Desktop / Cursor to apply MCP settings.");
|
|
30715
|
-
console.log("2. Use 'Genjo' tools in your chat!");
|
|
30716
|
-
console.log("3.
|
|
30766
|
+
console.log("2. Use 'Genjo' tools and prompts in your chat!");
|
|
30767
|
+
console.log("3. [Optional] To enable Agent Skills in Claude App:");
|
|
30768
|
+
console.log(" - Zip the 'genjo-ai-news' folder created in this directory");
|
|
30769
|
+
console.log(" - Go to Settings > Developer > Skills and upload the zip file");
|
|
30717
30770
|
}
|
|
30718
30771
|
async function main() {
|
|
30719
30772
|
const args = process.argv.slice(2);
|