Model Context Protocol server enabling AI assistants to access subject, course feature, and grade data, perform detailed teacher searches, and convert HTML content to Markdown for enhanced educational platform integration.
Unlock the full potential of Manalink MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.
Free tier available • No credit card required
マナリンクのModel Context Protocol (MCP) サーバー実装です。AIアシスタントが先生検索などの機能を利用できるようにします。
このMCPサーバーは以下のツールを提供します:
# リポジトリのクローン git clone [リポジトリURL] cd manalink-mcp # 依存関係のインストール npm install
npm run dev
npm run build npm start
Claude for Desktopで使用するには、claude_desktop_config.json
ファイルに設定を追加します。
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
{ "mcpServers": { "manalink": { "command": "node", "args": [ "/絶対パス/manalink-mcp/dist/index.js" ] } } }
// ツール名: get_subject_master // パラメータ: なし
// ツール名: get_course_features // パラメータ: なし
// ツール名: get_grade_master // パラメータ: なし
// ツール名: search_teachers_advanced // パラメータ: // - subject_ids: 科目IDの配列(オプション) // - grade_ids: 学年IDの配列(オプション) // - course_feature_id: 特徴ID(オプション) // - sort: ソート順(オプション)[pr, certification, rating, lesson_count, latest] // - desired_teaching_period: 指導期間(オプション)[monthly, once]
MCP Inspectorを使用して検証することができます。
npm run build npx @modelcontextprotocol/inspector node dist/index.js
MIT
マナリンクから取得したHTMLコンテンツをマークダウン形式に変換する機能を実装しています。
npm install node-html-markdown
import { convertHtmlToMarkdown } from './utils/api'; // HTMLからMarkdownへの変換 const html = ` マナリンク オンライン家庭教師プラットフォーム サービスについて 先生を探す `; const markdown = convertHtmlToMarkdown(html); console.log(markdown);
上記のHTMLからは以下のようなマークダウンが生成されます:
# マナリンク オンライン家庭教師プラットフォーム * サービスについて * 先生を探す
先生検索APIでは、検索結果をHTML形式とMarkdown形式の両方で取得できます:
import { searchTeachers } from './utils/api'; // 数学の中学生を教えられる先生を検索 const result = await searchTeachers({ subject_ids: [2], // 数学 grade_ids: [4], // 中学1年生 sort: 'rating' }); // HTML形式の検索結果 console.log(result.bodyContent); // Markdown形式の検索結果 console.log(result.markdown);
Discover shared experiences
Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!