Contacts
The caller's own address book: turn a name into an address
Calling it
This is your own data, so a call has to say who you are. Make a token at /token and send it as a header.
curl -H "Authorization: Bearer $MU_TOKEN" \ https://mu-mcp.yvangodard.me/api/v1/contacts/list
Methods
POST /api/v1/contacts/addSave someone to the address book. Adding a name already there updates it rather than making a second card
| Argument | Type | Description |
|---|---|---|
name * | string | The person's name, e.g. "Sarah Chen" |
email | string | Their email address |
phone | string | Their phone number |
note | string | Anything worth remembering about them |
curl -X POST \
-H "Authorization: Bearer $MU_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name":"name"}' \
https://mu-mcp.yvangodard.me/api/v1/contacts/addPOST /api/v1/contacts/deleteRemove someone from the address book
| Argument | Type | Description |
|---|---|---|
id * | string | The contact's id, from contacts_find or contacts_list |
curl -X POST \
-H "Authorization: Bearer $MU_TOKEN" \
-H "Content-Type: application/json" \
-d '{"id":"id"}' \
https://mu-mcp.yvangodard.me/api/v1/contacts/deleteGET /api/v1/contacts/findLook someone up in the address book by name, part of a name, or address. Use this before sending mail to a person named rather than addressed
| Argument | Type | Description |
|---|---|---|
query * | string | A name, part of a name, or an address |
curl \ -H "Authorization: Bearer $MU_TOKEN" \ "https://mu-mcp.yvangodard.me/api/v1/contacts/find?query=query"
GET /api/v1/contacts/listList everyone in the caller's address book
curl \ -H "Authorization: Bearer $MU_TOKEN" \ "https://mu-mcp.yvangodard.me/api/v1/contacts/list"
The same methods are tools over MCP, and every service on this instance is in one reference. Same method, same answer, same price.


