Contact Book MCP Server
Contact Book MCP Server
인메모리 연락처 목록을 관리하는 간단한 Model Context Protocol (MCP) 서버입니다. mcp Python SDK의 FastMCP를 사용하여 구축했습니다.
기능
이 서버는 네 가지 도구를 제공합니다:
도구 | 설명 |
| 연락처 목록에 새 연락처를 추가합니다. |
| 이름이 정확히 일치하는 연락처를 조회합니다. |
| 이름의 일부(대소문자 구분 없음)가 일치하는 연락처를 검색합니다. |
| 기존 연락처의 전화번호와 이메일을 업데이트합니다. |
연락처는 메모리에 다음과 같이 저장됩니다:
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."
프로젝트 상태
✅ 네 가지 도구 모두 구김되었이고 MCP Inspector를 통해 테스트되었습니다.
가능한 개선 사항
delete_contact도구 추가.list_all_contacts도구 추가.인메모리 저장 대신 JSON 파일이나 데이텁이개스저장에 연락처를 지속합니다.
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted agent memory: store, search, and recall facts across sessions from any MCP client.
Hosted MCP memory and agent control plane for durable conversations, jobs, and operations.
MCP server for OnceAsk, the AI-native current-address layer for people and agents.
MCP server for SuperPhone — contacts, conversations, tags and consent-based text messages.
Related MCP Servers
- AlicenseBqualityAmaintenanceMCP server for the Infomaniak Contacts API, enabling listing and searching contacts across address books.291 npm3MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for accessing and managing Microsoft 365 Outlook Contacts, enabling AI agents to retrieve and interact with contact data through natural language.361 npmMIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Google Contacts - list, search, and manage contacts.76 npm5MIT
- FlicenseAqualityDmaintenanceA 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-