connpass-user-mcp-server
Enables querying Connpass user profiles, group memberships, and event participation history via natural language.
README
<p align="center"> <img src="./logo.png" alt="Connpass User MCP Serverロゴ" width="200" height="200"> </p>
<h1 align="center">Connpass User MCP Server</h1>
Connpassのユーザー情報や参加イベント情報等を取得するModel Context Protocol (MCP)サーバーです。
セットアップ
- (Connpass APIキーをすでに取得済の場合はスキップ)Connpass APIキーの発行をしてもらいます。詳細についてはconnpassのAPI利用についてを参照してください。
- このリポジトリをクローンします。
- 必要な環境変数を設定します。
.env.exampleを.envにコピーして、Connpass APIキーを設定します。
cp .env.example .env
# .envファイルを編集してCONNPASS_API_KEYを設定
- サーバーを起動します。
Denoでの起動(推奨)
"connpass-user-mcp-server": {
"command": "wsl.exe",
"args": [
"/home/user/.deno/bin/deno",
"--allow-net=connpass.com",
"--env-file=/home/user/connpass-mcp-server/.env",
"--allow-read",
"--allow-env",
"/home/user/connpass-mcp-server/index.ts"
]
}
Node.jsでの起動
- MCPサーバーを起動するために必要な依存関係をインストールします。
npm ci
- TypeScriptをビルドします。
npm run build
- MCPクライアントの設定ファイル側にビルドしたファイルを指定します。
"connpass-user-mcp-server": {
"command": "wsl.exe",
"args": [
"/home/user/.local/share/mise/installs/node/22.14.0/bin/node",
"--env-file=/home/user/connpass-mcp-server/.env",
"/home/user/connpass-mcp-server/dist/index.js"
]
}
Dockerでの起動
Dockerfileを使用してサーバーを起動することもできます。
- Dockerイメージをビルドします。
docker build -t connpass-user-mcp-server .
- コンテナを起動します。APIキーは環境変数として渡します。
docker run -e CONNPASS_API_KEY=XXXXXXXXXXXXXXXX connpass-user-mcp-server
MCPクライアントの設定ファイルでは、dockerコマンドを指定します。
"connpass-user-mcp-server": {
"command": "docker",
"args": [
"run",
"-e",
"CONNPASS_API_KEY=XXXXXXXXXXXXXXXX",
"connpass-user-mcp-server"
]
}
npxでの起動(非推奨)
@yamanoku/connpass-user-mcp-serverにてパッケージを提供しているため、リポジトリをクローンせずにnpxでMCPサーバーの起動が可能です。
"connpass-user-mcp-server": {
"command": "wsl.exe",
"args": [
"bash",
"-c",
"CONNPASS_API_KEY=XXXXXXXXXXXXXXXX /home/user/.local/share/mise/installs/node/22.14.0/bin/npx -y @yamanoku/connpass-user-mcp-server",
]
},
ただしnpxでMCPサーバーを起動するのはサプライチェーン攻撃などのセキュリティ的な懸念があるため非推奨としています。
機能
以下のMCPサーバーのToolsを提供しています:
Tools
-
get_connpass_user_list - Connpassユーザーの基本情報を取得します
- パラメータ:
nickname(Connpassユーザー名/ニックネームの配列) - 取得情報: 参加イベント数、管理イベント数、発表イベント数、ブックマークイベント数
- パラメータ:
-
get_connpass_user_group_list - Connpassユーザーが所属するグループ一覧を取得します
- パラメータ:
nickname(Connpassユーザー名/ニックネーム) - 取得情報: グループ名、URL、説明、参加者数など
- パラメータ:
-
get_connpass_user_events - Connpassユーザーが参加したイベント情報を取得します
- パラメータ:
nickname(Connpassユーザー名/ニックネーム) - 取得情報: イベント名、日時、場所、URL、説明
- パラメータ:
-
get_connpass_user_presenter_events - Connpassユーザーが発表者として参加したイベント情報を取得します
- パラメータ:
nickname(Connpassユーザー名/ニックネーム) - 取得情報: イベント名、日時、場所、URL、説明
- パラメータ:
プロンプト例
次のようなプロンプトをLLMへ渡すことが可能です:
- 「yamanoku, okuto_oyamaさんのConnpassユーザー情報を教えて」
- 「yamanokuさんの参加するConnpassイベント情報を教えて」
- 「yamanokuさんの発表したConnpassイベント一覧を表示して」
- 「yamanokuさんのConnpass所属グループを一覧表示して」
テスト
Denoでのテスト
Connpass APIの統合テストを実行します:
deno task test
謝辞
このOSSはGPT-4o Image Generationによってロゴを製作、Claude 3.7 Sonnetによって実装、ドキュメントのサンプルを提案いただきました。感謝申し上げます。
ライセンス
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.