mind-kernel-mcp
Provides tools to fetch and update a personal Mind Kernel stored as JSON in a GitHub repository, with updates proposed via pull requests.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mind-kernel-mcp
個人の思考や価値観を言語化した Mind Kernel を、Claude や ChatGPT から安全に参照・更新するための MCP (Model Context Protocol) サーバーです。
リモート MCP サーバー — AWS Lambda 上で動作し、MCP クライアントから HTTP で直接接続できます
OAuth 2.0 認証 — Amazon Cognito による認可と JWT 検証。
/.well-known/oauth-protected-resourceを実装していますSSE ストリーミング — Lambda Function URL のレスポンスストリーミング (
InvokeMode: RESPONSE_STREAM) を利用。API Gateway ではレスポンスストリーミングができないため、この構成を選んでいます更新は必ず Pull Request 経由 — AI による変更提案は PR として作成され、マージ権限は常に人間側にあります
ローカル完全再現 — LocalStack 上に Lambda + DynamoDB を再現し、AWS にデプロイせずに開発できます
カーネルは identity / meta / patterns / backlog の4モジュールで構成され、プライベートリポジトリ上の JSON として管理されます。
詳細ドキュメント: プロジェクトの設計思想やアーキテクチャについては PROJECT_GUIDE.md を参照してください。
アーキテクチャ
本番 (AWS) | ローカル開発 | |
実行環境 | Lambda (arm64 コンテナイメージ) | Docker + LocalStack |
エンドポイント | Lambda Function URL ( | stdio ブリッジスクリプト |
認証 | Cognito OAuth 2.0 / JWT 検証 | API Key |
データストア | DynamoDB (ユーザー別クレデンシャル) | LocalStack DynamoDB |
デプロイ | AWS SAM |
|
Related MCP server: IWL MCP Server
セットアップ
Docker コンテナのビルド
docker compose build環境設定
.envファイルを編集し、以下の項目を設定してください:GITHUB_TOKEN: GitHub Personal Access Token(対象リポジトリに限定した Fine-grained PAT を推奨。必要な権限は PROJECT_GUIDE.md を参照)REPO_OWNER,REPO_NAME: 対象のリポジトリUSER_ID: シードデータとして使用するユーザーID (デフォルトはUUIDが既に設定されています)
ローカルでの実行 (Makefile使用)
Makefile を用意しました。以下のコマンドで簡単に操作できます。
環境の起動 (ビルド + LocalStack + 初期化)
make up※ 初回はイメージのビルドと、LocalStackの起動待ち(数秒)が発生します。 ※ 完了するまで少し待ってください。
MCP サーバーの実行 (クライアント接続用)
make runこのコマンドは標準入出力(stdio)を使用し、MCPクライアントからの接続を受け付けます。
その他のコマンド
make build: Dockerイメージの再ビルドmake logs: アプリケーションとLocalStackのログを表示make shell: コンテナ内のシェルに入るmake down: 環境の停止
VSCode / Claude Desktop での利用
利用形態に合わせて、以下のいずれかの設定を claude_desktop_config.json 等に追記してください。
A. ローカル開発環境 (LocalStck + Docker)
開発中のコードをローカルで即座に動かしたい場合に使用します。
※ 事前に make up でコンテナを起動しておく必要があります。
{
"mcpServers": {
"mind-kernel-local": {
"command": "make",
"args": ["run"]
}
}
}※ 絶対パス指定の例: "command": "/usr/bin/make", "args": ["run", "-C", "/abs/path/to/project"]
B. 本番環境 (AWS Lambda)
デプロイ済みの Lambda 関数に直接接続します。 Dockerコンテナを起動しておく必要がなく、常時利用に適しています。
{
"mcpServers": {
"mind-kernel-remote": {
"serverUrl": "https://<FunctionUrlID>.lambda-url.<Region>.on.aws/",
"headers": {
"X-API-Key": "<ENV: MCP_API_KEY>"
}
}
}
}MCP Inspector でのテスト
ブラウザ上で動作検証ができる MCP Inspector を簡単に起動できます。
make inspector実行すると URL が表示されますので、ブラウザでアクセスしてツールをテストしてください。
プロジェクト構造
mind_kernel_mcp/: ソースコード。services/: DynamoDB および GitHub サービス。
infra/: インフラストラクチャスクリプト (LocalStack 初期化)。scripts/: ヘルパースクリプト (DB シード)。
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Operate GitHub from your AI assistant: repos, PRs, issues, Actions. Previews and read-only mode.
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
One memory for every AI you work with: your rules, notes and decisions in your own Git repo.
Related MCP Servers
- AlicenseBqualityDmaintenanceTransforms a GitHub repository into a structured personal brain for AI to manage tasks, notes, and goals through markdown files. It enables direct interaction with a version-controlled knowledge base, allowing for automated organization and efficient retrieval of information.152MIT
- FlicenseNot gradedqualityDmaintenanceEnables seamless integration between GitHub, Obsidian, and AI assistants (Claude/ChatGPT) for managing documentation and code workflows.-
- AlicenseNot gradedqualityCmaintenanceConnects claude.ai to a private GitHub repo of markdown files as a personal second brain, providing guarded read and write tools for knowledge management.MIT
- -licenseNot gradedqualityNot gradedmaintenanceEnables reading and writing an Obsidian vault stored on GitHub, allowing Claude to list, search, read, and write notes with commits via the GitHub Contents API.-