Contact Book MCP Server
Contact Book MCP Server
mcp Python SDK の FastMCP を使用して構築された、インメモリの連絡先を管理するシンプルな Model Context Protocol(MCP) サーバーです。
機能
このサーバーは次の4つのツールを提供します:
ツール | 説明 |
| 連絡先鼓に新しい連絡先を追加します。 |
| 名前の完全一致で連絡先を取得します。 |
| 名前の部分一致(大文字・小文字を区別しない)で連絡先を検索します。 |
| 既存の連絡先の電話番号とメールアドレスを更新します。 |
連絡先はメモリ上に次のように保存されます:
contacts: dict[str, dict] # name -> {"phone": ..., "email": ...}注記: データはメモリ上にのみ保存されます。サーバーを再起動すると、すべての連絡先は失われます。
Related MCP server: mcp-outlook-contacts
要件
Python 3.10+
uv(サーバーの実行に推奨)
インストール
このリポジトリをクローンします:
git clone <your-repo-url> cd contact_book_server_mcp依存関係をインストールします:
pip install -r requirements.txtまたは、
uvを使用する場合(推奨。手動インストールは不要 — 下記参照)。
サーバーの実行
MCP Inspector を使用する(テスト・開発用)
uv run --with mcp mcp dev server.pyこれによりサーバーが起動し、ブラウザーで MCP Inspector が開きます。ここで各ツールを対話的にテストできます。
単独実行
python server.py使用例
連絡先を追加
add_contact(name="Humna Fahad", phone="03001234567", email="humna@test.com") → "Contact 'Humna Fahad' added successfully."連絡先を取得
get_contact(name="Humna Fahad") → {"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}連絡先を検索
search_contacts(query="Hum") → [{"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}]連絡先を更新
update_contact(name="Humna Fahad", phone="03009998888", email="humna@updated.com") → "Contact 'Humna Fahad' updated successfully."
プロジェクトの状態
✅ 4つのツールはすべて実装済みで、MCP Inspector でテスト済みです。
考えられる改善案
delete_contactツールを追加する。list_all_contactsツールを追加する。メモリ上に保存するのではなく、JSONファイルやデータベースに連絡先を永続化する。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Hosted MCP memory and agent control plane for durable conversations, jobs, and operations.
API-first CRM for LLMs - contacts, companies, deals and activities over a native MCP server.
Manage portable AI agent playbooks, Agent Skills, MCP configurations, personas, and memory.
Governed data discovery, exact queries, decisions, simulations, and runtime utilities over MCP.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server for the Infomaniak Contacts API, enabling listing and searching contacts across address books.202MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for accessing and managing Microsoft 365 Outlook Contacts, enabling AI agents to retrieve and interact with contact data through natural language.7MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Google Contacts - list, search, and manage contacts.833MIT
- FlicenseAqualityBmaintenanceA local MCP server that maintains a persona profile (contact library) for AI assistants, allowing them to create, search, retrieve, supplement, and correct information about people mentioned in conversations via tools like search_profiles, get_profile, create_profile, update_profile, add_facts, update_fact, and delete_fact.8
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/humna03/Contact_book_server_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server