Glanser Guidelines MCP Server
Glanser Guidelines MCP Server
チームのコーディングガイドラインコーパスに対するセマンティック検索。 FastMCP + ChromaDB + sentence-transformers (all-MiniLM-L6-v2) を使用。 100%無料 — APIキーや外部サービスは不要で、セットアップ後は完全にオフラインで動作します。
フォルダ構成
mcp-server/
├── server.py ← MCP server (run this on the host)
├── ingest.py ← One-time ingestion script
├── requirements.txt ← Python dependencies
├── documents/ ← Drop your .md guideline files here
│ └── CODING_GUIDELINES.md
└── chroma_db/ ← Created automatically by ingest.py (do not edit)セットアップ(ホストマシンで一度だけ実行)
1. 依存関係のインストール
pip install -r requirements.txt
sentence-transformersは初回実行時にall-MiniLM-L6-v2モデル(約80MB)をダウンロードしてキャッシュします。2回目以降の実行は完全にオフラインです。
2. ドキュメントの追加
Markdownファイルを documents/ フォルダにコピーします:
cp /path/to/CODING_GUIDELINES.md documents/3. インジェスト(一度埋め込みを行い、ディスクに保存)
python ingest.pyこれにより、documents/ 内のすべての .md ファイルが読み込まれ、各セクションが埋め込まれ、ベクトルが chroma_db/ に永続化されます。この操作は、新しいドキュメントを追加したときのみ再実行してください。
便利なフラグ:
python ingest.py --file documents/NEW_DOC.md # add a single new doc
python ingest.py --reset # wipe and re-ingest everything
python ingest.py --list # see what is currently indexed4. サーバーの起動
python server.pyサーバーは http://0.0.0.0:8000 で起動します。
ホスティング(チームでのアクセス)
Railway または Render にデプロイします(どちらも無料枠があります):
この
mcp-server/フォルダをGitリポジトリにプッシュしますそのリポジトリを指す新しいサービスを作成します
起動コマンドを
python server.pyに設定します/app/chroma_dbに永続ボリュームをマウントします(デプロイ後も埋め込みデータを保持するため)デプロイ後、ホストのコンソールから一度だけ
python ingest.pyを実行します
Railway/Renderは、以下のようなHTTPS URLを自動的に提供します:
https://glanser-guidelines-mcp.railway.app
チームの .mcp.json への追加
各チームメンバーは、自身の .mcp.json に以下を追加します:
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "https://your-hosted-domain.com/mcp"
}
}
}利用可能なツール
ツール | 説明 |
| すべてのドキュメントを対象としたセマンティック検索 — まずこれを使用してください |
| 特定のセクションの全文を取得 |
| コーパス全体のすべてのセクションタイトルを閲覧 |
|
|
| インデックス化されたすべてのドキュメントとセクション数を確認 |
新しいドキュメントの追加
# 1. Copy the new doc
cp NEW_GUIDELINES.md documents/
# 2. Ingest only the new file (does not re-embed existing docs)
python ingest.py --file documents/NEW_GUIDELINES.md
# 3. No server restart needed — ChromaDB is queried liveローカル開発 / テスト(ホスティングなし)
{
"mcpServers": {
"coding-guidelines": {
"type": "http",
"url": "http://localhost:8000/mcp"
}
}
}This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vbridge7/MCP-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server