diff --git a/README.md b/README.md index 1fbcf8f..653300b 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,29 @@ You can also talk to a local agent (needs [Ollama]): uvx 'voip[cli]' sip sips:alice:********@sip.example.com agent --initial-prompt "Hi, I am looking for a Mr. Ron, first name Mo?" ``` +### MCP + +The `voip` package ships a ready-made [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server +that exposes tools to make phone calls on your behalf to any MCP client. + +```json +{ + "mcpServers": { + "VoIP": { + "type": "stdio", + "command": "uvx", + "args": [ + "voip[mcp]", + "mcp" + ], + "env": { + "SIP_AOR": "sip:****:****@example.com:5060?transport=tcp" + } + } + } +} +``` + ### Python API ```console diff --git a/docs/images/icon.svg b/docs/images/icon.svg index 6390c4b..f38e1fa 100644 --- a/docs/images/icon.svg +++ b/docs/images/icon.svg @@ -1,4 +1,4 @@ - diff --git a/docs/images/logo-dark.svg b/docs/images/logo-dark.svg index de55087..8cefb36 100644 --- a/docs/images/logo-dark.svg +++ b/docs/images/logo-dark.svg @@ -1,8 +1,15 @@ + viewBox="0 0 1280 640" fill="black"> + + + + + + + - - + + Python diff --git a/docs/images/logo-light.svg b/docs/images/logo-light.svg index 8bf5a46..de5d369 100644 --- a/docs/images/logo-light.svg +++ b/docs/images/logo-light.svg @@ -1,7 +1,14 @@ + + + + + + + - - + + Python diff --git a/mkdocs.yml b/mkdocs.yml index 1053326..a4d1322 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -39,18 +39,18 @@ theme: logo: images/icon.svg palette: - media: "(prefers-color-scheme)" - primary: yellow + primary: pink toggle: icon: material/brightness-auto name: Switch to light mode - media: "(prefers-color-scheme: light)" - primary: yellow + primary: pink scheme: default toggle: icon: material/brightness-7 name: Switch to dark mode - media: "(prefers-color-scheme: dark)" - primary: yellow + primary: pink scheme: slate toggle: icon: material/brightness-4