Contact Book MCP Server
Contact Book MCP Server
Un servidor sencillo de Model Context Protocol (MCP) que administra una agenda de contactos en memoria. Construido con FastMCP del SDK mcp de Pythón.
Características
Este servidor expone cuatro herramientas:
Herramientas | Descripción |
| Agrega un nuevo contacto a la agenda de contactos. |
| Obtiene un contacto por coincidencia exacta del nombre. |
| Busca contactos por coincidencia parcial del nombre (sin distinguir mayúsculas de minúsculas). |
| Actiliza el teléfono y el correo electrónico de un contacto existente. |
Los contactos se guardan en memoria así:
contacts: dict[str, dict] # name -> {"phone": ..., "email": ...}Nota: Los datos solo se guardan en memoria. Todos los contactos se pierden cuando el servidor se reinicia.
Related MCP server: mcp-outlook-contacts
Requisitos
Python 3.10+
uv(recomendad para ejecutar el servidor)
Instalación
Clona este repositorio:
git clone <your-repo-url> cd contact_book_server_mcpInsta las dependencias:
pip install -r requirements.txtO, si se usa
uv(recomendad; no hay que instalar nada a mando — ver abalo).
Ejecución del servidor
MCP Inspector (para prubas/desarrollo)
uv run --with mcp mcp dev server.pyEsto inicia el servidor y abre el MCP Inspector en tu navegador, donde puedes probar cada herramienta de forma interactiva.
Modo independiente
python server.pyEjemplo de uso
Agrega un contacto
add_contact(name="Humna Fahad", phone="03001234567", email="humna@test.com") → "Contact 'Humna Fahad' added successfully."Obtén un contacto
get_contact(name="Humna Fahad") → {"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}Busca contactos
search_contacts(query="Hum") → [{"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}]Actiliza un sistema
update_contact(name="Humna Fahad", phone="03009998888", email="humna@updated.com") → "Contact 'Humna Fahad' updated successfully."
Estdo del proyecto
✅ Las cuatro herramientas están implementadas y probadas con el MCP Inspector.
Mostradas posibles
Agrega una herramienta
delete_contact.Agrega una herramienta
list_all_contacts.Persiste los contactos en un archivo JSON o en una base de datos, en lugar del almacenamiento en memoria.
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