Contact Book MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Contact Book MCP ServerAdd John Doe with phone 555-1234 and email john@example.com"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Contact Book MCP Server
A simple Model Context Protocol (MCP) server that manages an in-memory contact book. Built with FastMCP from the mcp Python SDK.
Features
This server exposes four tools:
Tool | Description |
| Adds a new contact to the contact book. |
| Retrieves a contact by exact name match. |
| Searches contacts by partial (case-insensitive) name match. |
| Updates an existing contact's phone and email. |
Contacts are stored in memory as:
contacts: dict[str, dict] # name -> {"phone": ..., "email": ...}Note: Data is stored in memory only. All contacts are lost when the server restarts.
Related MCP server: mcp-outlook-contacts
Requirements
Python 3.10+
uv(recommended for running the server)
Installation
Clone this repository:
git clone <your-repo-url> cd contact_book_server_mcpInstall dependencies:
pip install -r requirements.txtOr, if using
uv(recommended, no manual install needed — see below).
Running the Server
With MCP Inspector (for testing/development)
uv run --with mcp mcp dev server.pyThis starts the server and opens the MCP Inspector in your browser, where you can test each tool interactively.
Standalone
python server.pyExample Usage
Add a contact
add_contact(name="Humna Fahad", phone="03001234567", email="humna@test.com") → "Contact 'Humna Fahad' added successfully."Get a contact
get_contact(name="Humna Fahad") → {"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}Search contacts
search_contacts(query="Hum") → [{"name": "Humna Fahad", "phone": "03001234567", "email": "humna@test.com"}]Update a contact
update_contact(name="Humna Fahad", phone="03009998888", email="humna@updated.com") → "Contact 'Humna Fahad' updated successfully."
Project Status
✅ All four tools implemented and tested via MCP Inspector.
Possible Improvements
Add a
delete_contacttool.Add a
list_all_contactstool.Persist contacts to a JSON file or database instead of in-memory storage.
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