Skip to content

Commit 5b611d0

Browse files
yamanokuclaude
andcommitted
feat: add MCP server for Vue Fes Japan speakers information
Add Model Context Protocol (MCP) server implementation to provide Vue Fes Japan speakers data to AI assistants like Claude Code and Cursor. ## New Features ### Resources - speakers://all - Complete list of all speakers across all years - speakers://statistics - Statistical information about speakers ### Tools - list_speakers - Get all speakers list - get_speakers_by_year - Get speakers by specific year (2018-2025) - search_speakers - Search speakers by name - get_statistics - Get statistics (total speakers, repeat speakers, etc.) - get_years - Get list of all event years ### API Endpoints - /api/mcp/list-all-speakers - Returns all speakers with year info - /api/mcp/get-speakers-by-year - Returns speakers filtered by year - /api/mcp/search-speakers - Search functionality for speaker names - /api/mcp/get-statistics - Provides statistical analysis - /api/mcp/get-years - Returns available event years ## Dependencies - @modelcontextprotocol/sdk: ^1.0.4 - zod: ^4.1.12 ## Documentation - Updated README.md with MCP server setup instructions - Added usage examples for Claude Code and Cursor 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e18c3ea commit 5b611d0

9 files changed

Lines changed: 789 additions & 44 deletions

README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,59 @@ pnpm build
4545
npx nuxthub deploy
4646
```
4747

48+
## MCP Server
49+
50+
このプロジェクトは、AIアシスタント向けの**MCP (Model Context Protocol) サーバー**を提供しています。
51+
52+
### 利用可能なリソース
53+
54+
- `speakers://all` - 全年度のスピーカー一覧
55+
- `speakers://statistics` - スピーカーの統計情報
56+
57+
### 利用可能なツール
58+
59+
- `list_speakers` - 全スピーカーの一覧取得
60+
- `get_speakers_by_year` - 年度別スピーカー取得(2018, 2019, 2022, 2023, 2024, 2025)
61+
- `search_speakers` - スピーカー名での検索
62+
- `get_statistics` - 統計情報の取得(総登壇者数、リピート登壇者など)
63+
- `get_years` - 開催年度一覧
64+
65+
### セットアップ方法
66+
67+
#### Claude Code
68+
69+
```bash
70+
claude mcp add --transport http vuefes-speakers https://your-domain.com/mcp
71+
```
72+
73+
#### Cursor
74+
75+
`.cursor/mcp.json` に以下を追加:
76+
77+
```json
78+
{
79+
"mcpServers": {
80+
"vuefes-speakers": {
81+
"type": "http",
82+
"url": "https://your-domain.com/mcp"
83+
}
84+
}
85+
}
86+
```
87+
88+
#### VS Code
89+
90+
`.vscode/mcp.json` に同様の設定を追加してください。
91+
92+
### 使用例
93+
94+
AIアシスタントに以下のような質問ができます:
95+
96+
- "Vue Fes Japan 2024のスピーカーを教えて"
97+
- "複数回登壇しているスピーカーは誰?"
98+
- "Evan Youが登壇した年度を教えて"
99+
- "Vue Fes Japanの統計情報を見せて"
100+
48101
## License
49102

50103
[CC BY-SA 4.0](./LICENSE)

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@
1515
},
1616
"dependencies": {
1717
"@iconify-json/heroicons-solid": "catalog:icon",
18+
"@modelcontextprotocol/sdk": "1.22.0",
1819
"@nuxt/ui": "catalog:nuxt",
1920
"nuxt": "catalog:nuxt",
2021
"tailwindcss": "catalog:css",
2122
"vue": "catalog:vue",
22-
"vue-router": "catalog:vue"
23+
"vue-router": "catalog:vue",
24+
"zod": "4.1.12"
2325
},
2426
"devDependencies": {
2527
"@iconify-json/lucide": "catalog:icon",

0 commit comments

Comments
 (0)