{"id":6273,"date":"2026-05-20T14:51:21","date_gmt":"2026-05-20T12:51:21","guid":{"rendered":"https:\/\/www.smsapi.com\/blog\/?p=6273"},"modified":"2026-05-21T12:10:51","modified_gmt":"2026-05-21T10:10:51","slug":"smsapi-mcp-server-guide","status":"publish","type":"post","link":"https:\/\/www.smsapi.com\/blog\/smsapi-mcp-server-guide\/","title":{"rendered":"SMSAPI MCP Server \u2013 A Step-by-Step Guide"},"content":{"rendered":"\n<p><strong>SMSAPI MCP Server \u2013 Bring SMS messaging capabilities to your AI agents and automation workflows.<\/strong><\/p>\n\n\n\n<!--more-->\n\n\n\n<h2 class=\"wp-block-heading\">1. Introduction \u2013 AI as the New Interface for SMS Services<\/h2>\n\n\n\n<p>AI agents are increasingly becoming the new way we interact with digital tools and services. Instead of manually performing tasks across various platforms, users can simply instruct an <strong>AI agent, which then independently triggers the appropriate tools and integrations<\/strong>.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Check the SMSAPI Documentation<\/h4><\/div><div class=\"infobox__content\">\n<p>Click the button below to view the full SMSAPI MCP Documentation.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-secondary\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.smsapi.com\/docs\/mcp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go to MCP Documentation<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<p>This also applies to customer communication. AI can analyze system events, respond to them, and automatically send notifications. To make this possible, AI models require a standardized method to communicate with external services\u2014such as SMS delivery platforms.<\/p>\n\n\n\n<p>This is precisely why the <strong>Model Context Protocol (MCP)<\/strong> was created. Thanks to MCP, AI tools can leverage the capabilities of platforms like SMSAPI in a structured and secure manner.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">2. What is MCP (Model Context Protocol)?<\/h2>\n\n\n\n<p>The Model Context Protocol (MCP) is an open standard that enables AI models and agents to use external services through a unified interface. In practice, <strong>MCP acts as a middleware layer between the AI agent and the external system<\/strong>\u2014for example, an SMS delivery platform. Instead of building a custom integration for every single AI tool, a service can provide an MCP server that presents its functionalities as a set of tools. This makes integrating with the service much simpler and more universal.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>What can an AI agent do?<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Discover available features,<\/li>\n\n\n\n<li>Select the correct tools,<\/li>\n\n\n\n<li>Trigger tools and functions at the right moment.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">3. Why SMS Communication Fits Perfectly with AI Agents<\/h2>\n\n\n\n<p>SMS remains one of the most direct and effective communication channels with users.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Business use cases for SMS include:<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Sending verification codes (<a href=\"https:\/\/www.smsapi.com\/en\/2fa-sms\" target=\"_blank\" rel=\"noreferrer noopener\">OTP and 2FA SMS<\/a>),<\/li>\n\n\n\n<li><a href=\"https:\/\/www.smsapi.com\/en\/sms-notifications\" target=\"_blank\" rel=\"noreferrer noopener\">SMS notifications<\/a> about order statuses, deliveries, returns, and complaints,<\/li>\n\n\n\n<li>Appointment reminders,<\/li>\n\n\n\n<li>System alerts,<\/li>\n\n\n\n<li><a href=\"https:\/\/www.smsapi.com\/en\/sms-marketing\" target=\"_blank\" rel=\"noreferrer noopener\">SMS marketing<\/a>.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p>In many business processes, the exact timing of an SMS depends on a specific event\u2014such as an order status change or a detected system anomaly. AI agents are perfectly suited to handle such scenarios.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>What are the advantages of an AI agent?<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Simultaneous data analysis from multiple systems,<\/li>\n\n\n\n<li>Real-time decision-making,<\/li>\n\n\n\n<li>Automatic execution of appropriate actions.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<p>In this model, SMS becomes a natural component of automated workflows.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">4. SMSAPI MCP Server \u2013 What is it?<\/h2>\n\n\n\n<p>The SMSAPI MCP Server exposes the features of the <a href=\"https:\/\/www.smsapi.com\/en\/sms-api\" target=\"_blank\" rel=\"noreferrer noopener\">SMS API<\/a> platform via the MCP protocol, making them <strong>accessible to AI agents and developer tools that support MCP<\/strong>. In practice, this means an AI agent can directly perform operations related to sending SMS messages using a set of tools provided by the MCP server.<\/p>\n\n\n\n<figure class=\"wp-block-pullquote\"><blockquote><p><strong>Full SMSAPI MCP Documentation:<\/strong> <a href=\"https:\/\/www.smsapi.com\/docs\/mcp\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.smsapi.com\/docs\/mcp\/<\/a><\/p><\/blockquote><\/figure>\n\n\n\n<p>Instead of creating separate integrations for every AI environment, SMSAPI functionalities are available in a standardized format. This allows SMS to become an integral element of intelligent automations built with AI.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5. SMSAPI MCP Server Features<\/h2>\n\n\n\n<p>The MCP server for SMSAPI provides a comprehensive set of features related to SMS communication.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">SMS Messaging<\/h3>\n\n\n\n<p>AI agents can send SMS messages in response to specific events or user actions.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>What kind of SMS messages can an AI agent send?<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Transactional notifications<\/li>\n\n\n\n<li>System alerts<\/li>\n\n\n\n<li>Informational messages<\/li>\n\n\n\n<li>Customer communication<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">Example: Sending an SMS with Claude<\/h4>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message.png\" alt=\"Send SMS from Claude\" class=\"wp-image-6289\" srcset=\"https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message.png 800w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message-200x200.png 200w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message-730x730.png 730w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message-100x100.png 100w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message-768x768.png 768w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-message-700x700.png 700w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">SMS messaging in Claude<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Checking Delivery Status<\/h3>\n\n\n\n<p>An AI agent can verify whether a message has been successfully delivered to the recipient. This allows for the creation of more advanced automation scenarios.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Example use cases for checking delivery status:<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Retrying failed SMS deliveries<\/li>\n\n\n\n<li>Sending a notification via an alternative channel<\/li>\n\n\n\n<li>Logging the status directly in a CRM system<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Sender Name Management<\/h3>\n\n\n\n<p>The system can configure the sender ID (SMS Alpha Sender ID) used for sent messages. This ensures that your SMS communication remains consistent with your brand identity.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\ud83d\udcd6 Read more about SMS Branding:<\/h4>\n\n\n\n<div class=\"post-anchor\">\n  <div class=\"post-anchor__content\">\n    <a href=\"https:\/\/www.smsapi.com\/blog\/sender-id-how-to-send-branded-sms-company-name\/\" class=\"post-anchor__image\">\n      <img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"437\" src=\"https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2020\/05\/SMSAPI_Branded_SMS_Sender_ID_Portal.png\" class=\"attachment-large size-large\" alt=\"SMSAPI Branded SMS Sender ID Portal\" \/>    <\/a>\n    <a href=\"https:\/\/www.smsapi.com\/blog\/sender-id-how-to-send-branded-sms-company-name\/\" class=\"post-anchor__title\">\n      <h5>\n        Sender ID \u2013 How to Send Branded SMS Messages with the Company Name Instead of a Number?      <\/h5>\n    <\/a>\n    <a href=\"https:\/\/www.smsapi.com\/blog\/sender-id-how-to-send-branded-sms-company-name\/\" class=\"post-anchor__read-more\">\n      Read article    <\/a>\n  <\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Access to Account Information<\/h3>\n\n\n\n<p>An AI agent can retrieve account balance details and message usage statistics, enabling effective cost monitoring and service utilization tracking.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">6. Example Use Cases for SMS in AI Automations<\/h2>\n\n\n\n<p>Integrating SMSAPI with AI agents opens up a wide range of new possibilities for automated communication.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Order Status Notifications<\/h3>\n\n\n\n<p>An AI agent can monitor order status changes within an e-commerce platform and automatically dispatch an SMS to the customer as soon as their package is shipped or delivered.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Operational Alerts for Teams<\/h3>\n\n\n\n<p>If an infrastructure anomaly or system issue is detected, the AI agent can immediately broadcast an urgent SMS alert to system administrators or the on-call DevOps team.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Appointment Reminders<\/h3>\n\n\n\n<p>An AI-driven booking system can seamlessly send automated SMS reminders to users prior to their scheduled visits, consultations, or meetings.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Verification Codes and Security<\/h3>\n\n\n\n<p>An AI agent can trigger the instant delivery of One-Time Passwords (OTP) during secure login flows or critical transaction confirmations.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Automated Customer Communication<\/h3>\n\n\n\n<p>An AI agent handling customer support can proactively send SMS updates regarding support ticket status changes or requests for additional information.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Test SMSAPI<\/h4><\/div><div class=\"infobox__content\">\n<p>Create a free account at SMSAPI and test the professional SMS gateway for companies.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-primary\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.smsapi.com\/en\/signup\" target=\"_blank\" rel=\"noreferrer noopener\">Sign up<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">7. How the AI and SMS API Integration Works<\/h2>\n\n\n\n<p>The integration relies on a straightforward communication model. The AI agent sends a request to the MCP client, which communicates with the SMSAPI MCP server. The MCP server then translates this request into the appropriate SMSAPI API call. This allows the AI agent to utilize SMS messaging features without needing a direct integration with the API itself.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--info post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjEwMCUiCiAgIGhlaWdodD0iMTAwJSIKICAgdmlld0JveD0iMCAwIDEyIDE2IgogICBjbGlwLXJ1bGU9ImV2ZW5vZGQiCiAgIHhtbDpzcGFjZT0icHJlc2VydmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzYzIgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxwYXRoCiAgICBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiCiAgIGQ9Im03LjUxNDA1LDExbC0zLDBjMCwtMyAxLjYsLTQgMi43LC00LjZjMC40LC0wLjIgMC43LC0wLjQgMC45LC0wLjZjMC41LC0wLjUgMC4zLC0xLjIgMC4yLC0xLjRjLTAuMywtMC43IC0xLC0xLjQgLTIuMywtMS40Yy0yLjEsMCAtMi41LDEuOSAtMi41LDIuM2wtMywtMC40YzAuMiwtMS43IDEuNywtNC45IDUuNSwtNC45YzIuMywwIDQuMywxLjMgNS4xLDMuMmMwLjcsMS43IDAuNCwzLjUgLTAuOCw0LjdjLTAuNSwwLjUgLTEuMSwwLjggLTEuNiwxLjFjLTAuOSwwLjUgLTEuMiwxIC0xLjIsMnoiCiAgIGlkPSJwYXRoNTkiIC8+CiAgPHBhdGgKICAgIHN0eWxlPSJmaWxsOiByZ2IoMTcsIDE5MiwgMTI4KTsgZmlsbC1ydWxlOiBub256ZXJvOyIKICAgZD0ibTgsMTRjMCwxLjEwNSAtMC44OTUsMiAtMiwyYy0xLjEwNSwwIC0yLC0wLjg5NSAtMiwtMmMwLC0xLjEwNSAwLjg5NSwtMiAyLC0yYzEuMTA1LDAgMiwwLjg5NSAyLDJ6IgogICBpZD0icGF0aDYxIiAvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>What is the workflow of the AI and SMSAPI integration?<\/h4><\/div><div class=\"infobox__content\">\n<p>AI Agent \u2194\ufe0f MCP client \u2194\ufe0f SMSAPI MCP Server \u2194\ufe0f SMSAPI API<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">8. Configuration and Authorization of the AI Connection with SMS API<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Prerequisites<\/h3>\n\n\n\n<p>Before starting the configuration, make sure you have:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>An active SMSAPI account<\/strong> \u2013 if you don&#8217;t have one yet, register a business account.<\/li>\n\n\n\n<li><strong>OAuth 2.0 webflow<\/strong>&nbsp;(recommended) \u2014 the MCP client automatically performs authorization via a browser. Log in to SMSAPI and grant access to selected scopes. The token is refreshed automatically. Configuration only requires providing the server URL without an Authorization header.<\/li>\n\n\n\n<li><strong>An OAuth2 token<\/strong> \u2013 generated in the SMSAPI Customer Panel (<em>API Settings -&gt; OAuth Tokens<\/em> section).<\/li>\n\n\n\n<li><strong>An MCP client<\/strong> \u2013 an installed application that supports MCP, such as <a href=\"https:\/\/claude.ai\/download\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Claude Desktop<\/a> or <a href=\"https:\/\/cursor.com\/\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">Cursor<\/a>.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Authorization and Scopes<\/h3>\n\n\n\n<p>The MCP server uses authorization based on the SMSAPI OAuth2 token. When generating the token, you must select the appropriate scopes depending on which tools the AI agent needs to access:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Feature<\/strong><\/td><td><strong>Required Scope<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>SMS<\/strong><\/td><td><code>sms<\/code><\/td><\/tr><tr><td><strong>Contacts<\/strong><\/td><td><code>contacts<\/code><\/td><\/tr><tr><td><strong>Account \/ Balance<\/strong><\/td><td><code>profile<\/code><\/td><\/tr><tr><td><strong>Subusers<\/strong><\/td><td><code>subusers<\/code><\/td><\/tr><tr><td><strong>Short URL<\/strong><\/td><td><code>short_url<\/code><\/td><\/tr><tr><td><strong>HLR<\/strong><\/td><td><code>hlr<\/code><\/td><\/tr><tr><td><strong>Blacklist<\/strong><\/td><td><code>blacklist<\/code><\/td><\/tr><tr><td><strong>Sender Names<\/strong><\/td><td><code>sms_sender<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><strong>Tip:<\/strong> We recommend following the principle of least privilege\u2014if the agent is only meant to send notifications, granting access to sms is sufficient.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Transport<\/h3>\n\n\n\n<p>The SMSAPI MCP Server is hosted as a service at <code>mcp.smsapi.io<\/code>. The server utilizes <strong>Streamable HTTP<\/strong> transport\u2014the latest standard in MCP communication. MCP clients that support this transport connect directly to the server over HTTP, eliminating the need for additional bridges or proxies.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Compatible MCP Clients<\/h3>\n\n\n\n<p>The SMSAPI MCP Server works seamlessly with any client that supports Streamable HTTP transport, including:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Desktop apps:<\/strong> Claude Desktop, Cursor, VS Code (GitHub Copilot)<\/li>\n\n\n\n<li><strong>CLI tools:<\/strong> Claude Code, OpenAI Codex CLI<\/li>\n\n\n\n<li><strong>Agent frameworks:<\/strong> LangChain, OpenAI Agents SDK, Semantic Kernel, Spring AI<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Token Security\u2014Best Practices<\/h4><\/div><div class=\"infobox__content\">\n<ul class=\"wp-block-list\">\n<li>Never hardcode the OAuth2 token directly into your source code or repository.<\/li>\n\n\n\n<li>Use environment variables to securely store the token.<\/li>\n\n\n\n<li>Apply the principle of least privilege\u2014only grant the token the scopes necessary for the task.<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Claude Desktop MCP Configuration<\/h3>\n\n\n\n<p><strong>1.<\/strong> Open <strong>Claude Desktop<\/strong> and go to <strong>Settings<\/strong> (gear icon).<\/p>\n\n\n\n<p><strong>2.<\/strong> Select the <strong>Developer<\/strong> tab, then click <strong>Edit Config<\/strong> to open the <code>claude_desktop_config.json<\/code> file.<\/p>\n\n\n\n<p><strong>3.<\/strong> Add the SMSAPI MCP server configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n&nbsp; \"mcpServers\": {\n&nbsp;&nbsp;&nbsp; \"smsapi\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"type\": \"http\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"url\": \"https:\/\/mcp.smsapi.io\/\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"headers\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"Authorization\": \"Bearer YOUR_OAUTH2_TOKEN\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }\n&nbsp;&nbsp;&nbsp; }\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<p><strong>4.<\/strong> Save the file and <strong>restart<\/strong> Claude Desktop.<\/p>\n\n\n\n<p><strong>5.<\/strong> Once restarted, click the &#8220;+&#8221; icon in the lower-left corner, then select <strong>Connectors<\/strong> \u2192 <strong>Manage connectors<\/strong>\u2014you should see the list of SMSAPI tools.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Cursor Configuration<\/h3>\n\n\n\n<p><strong>1.<\/strong> Open <strong>Cursor<\/strong> and go to <strong>Cursor Settings<\/strong> (<code>Ctrl+Shift+J<\/code> or via the menu).<\/p>\n\n\n\n<p><strong>2.<\/strong> Select <strong>MCP<\/strong> from the sidebar menu.<\/p>\n\n\n\n<p><strong>3.<\/strong> Click <strong>Add new global MCP server<\/strong>.<\/p>\n\n\n\n<p><strong>4.<\/strong> In the <code>mcp.json<\/code> file, add the following configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n&nbsp; \"mcpServers\": {\n&nbsp;&nbsp;&nbsp; \"smsapi\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"type\": \"http\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"url\": \"https:\/\/mcp.smsapi.io\/\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"headers\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"Authorization\": \"Bearer YOUR_OAUTH2_TOKEN\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }\n&nbsp;&nbsp;&nbsp; }\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<p><strong>5.<\/strong> Save the file\u2014Cursor will automatically detect the new server.<\/p>\n\n\n\n<p><strong>6.<\/strong> Ensure that a green status indicator and the list of available tools appear next to the server name.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Claude Code Configuration (CLI)<\/h3>\n\n\n\n<p>Add the server using a single command in your terminal:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>claude mcp add smsapi \\\n&nbsp; --transport http \\\n&nbsp; https:\/\/mcp.smsapi.io\/ \\\n&nbsp; --header \"Authorization: Bearer YOUR_OAUTH2_TOKEN\"<\/code><\/pre>\n\n\n\n<p>Once added, the server will be automatically available in all subsequent Claude Code sessions.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Clients without Remote MCP Support (STDIO bridge)<\/h3>\n\n\n\n<p>If your MCP client does not support direct HTTP connections, you can use the <code>mcp-remote<\/code> bridge (requires Node.js 18+):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n&nbsp; \"mcpServers\": {\n&nbsp;&nbsp;&nbsp; \"smsapi\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"command\": \"npx\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"args\": &#91;\n        \"-y\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"mcp-remote\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"https:\/\/mcp.smsapi.io\/\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"--header\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"Authorization:${AUTH_HEADER}\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ],\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"env\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"AUTH_HEADER\": \"Bearer YOUR_OAUTH2_TOKEN\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }\n&nbsp;&nbsp;&nbsp; }\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Limiting Access to a Specific Group of Tools<\/h3>\n\n\n\n<p>If you want the AI agent to only access a specific set of features (e.g., only SMS functions), use a group endpoint:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n&nbsp; \"mcpServers\": {\n&nbsp;&nbsp;&nbsp; \"smsapi-sms\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"type\": \"http\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"url\": \"https:\/\/mcp.smsapi.io\/sms\/\",\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"headers\": {\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \"Authorization\": \"Bearer YOUR_OAUTH2_TOKEN\"\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }\n&nbsp;&nbsp;&nbsp; }\n&nbsp; }\n}<\/code><\/pre>\n\n\n\n<p>This passes a smaller footprint of tools to the agent, reducing token consumption and improving the accuracy of tool selection by the AI model.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Attention!<\/h4><\/div><div class=\"infobox__content\">\n<p>Replace <code>YOUR_OAUTH2_TOKEN<\/code> with your actual token generated in the Customer Panel. Restart your MCP client after making any changes to the configuration.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">9. Endpoints and Features<\/h2>\n\n\n\n<p>The SMSAPI MCP server is divided into functional groups, each available under a separate endpoint. This allows for precise permission management for your AI agents (following the principle of least privilege).<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Group (Server)<\/strong><\/td><td><strong>Endpoint<\/strong><\/td><td><strong>Features<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>All<\/strong><\/td><td><code>\/<\/code><\/td><td>Full access to all server tools.<\/td><\/tr><tr><td><strong>SMS<\/strong><\/td><td><code>\/sms<\/code><\/td><td>Message sending (single, group, scheduled), checking delivery status, and canceling scheduled campaigns.<\/td><\/tr><tr><td><strong>Contacts<\/strong><\/td><td><code>\/contacts<\/code><\/td><td>Full contact database management: creating, editing, deleting contacts, contact groups, and custom fields.<\/td><\/tr><tr><td><strong>Account<\/strong><\/td><td><code>\/account<\/code><\/td><td>Checking account balance, managing sender names (listing, creating, deleting, and setting the default sender name).<\/td><\/tr><tr><td><strong>Subusers<\/strong><\/td><td><code>\/subusers<\/code><\/td><td>Subuser account management: listing, viewing details, creating, editing, and deleting.<\/td><\/tr><tr><td><strong>Short URL<\/strong><\/td><td><code>\/short-url<\/code><\/td><td>Managing <a href=\"https:\/\/www.smsapi.com\/en\/url-shortener\" target=\"_blank\" rel=\"noreferrer noopener\">shortened links (cut.li)<\/a> and retrieving click statistics.<\/td><\/tr><tr><td><strong>HLR<\/strong><\/td><td><code>\/hlr<\/code><\/td><td>Checking phone numbers in the <a href=\"https:\/\/www.smsapi.com\/en\/hlr\" target=\"_blank\" rel=\"noreferrer noopener\">HLR (Home Location Register)<\/a> database.<\/td><\/tr><tr><td><strong>Blacklist<\/strong><\/td><td><code>\/blacklist<\/code><\/td><td>Managing the blacklist of phone numbers: listing, adding, and removing.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">10. Example Prompts<\/h2>\n\n\n\n<p>Once connected to the MCP server, you can simply describe what you want to achieve using natural language. Here are a few examples of prompts you can use:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Sending an SMS<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Send an SMS to number 48123456789 with the message: 'Your order #12345 has been shipped. Estimated delivery: tomorrow by 6:00 PM.'<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Checking Account Balance<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Check how many points I have left in my SMSAPI account.<\/code><\/p>\n<\/blockquote>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"800\" src=\"https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points.png\" alt=\"Check points for SMS messaging in Claude\" class=\"wp-image-6293\" srcset=\"https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points.png 800w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points-200x200.png 200w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points-730x730.png 730w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points-100x100.png 100w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points-768x768.png 768w, https:\/\/www.smsapi.com\/blog\/wp-content\/uploads\/2026\/05\/smsapi-mcp-claude-sms-points-700x700.png 700w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Example: Checking SMS delivery points in Claude<\/figcaption><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Sending to a Contact Group<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Send an SMS to all contacts in the 'VIP Customers' group with the message: 'Join us for an exclusive -30% flash sale today only!'<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Contact Management<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Add a new contact: John Doe, number 48111222333, email john@example.com. Then, assign him to the 'Newsletter' group.<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Checking Message Status<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Check the delivery status of the SMS with ID abc123.<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Scheduling a Message<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Schedule an SMS to 48123456789 with the message: 'Reminder: You have an appointment at the clinic tomorrow at 10:00 AM.' Set it to send today at 6:00 PM.<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Number Validation<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Check if the number 48123456789 is active using an HLR lookup.<\/code><\/p>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\">Blacklist Management<\/h3>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><code>Add the number 48999888777 to the blacklist so they don't receive any more messages.<\/code><\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">11. How to Get Started with MCP in SMSAPI?<\/h2>\n\n\n\n<p>The fastest way to get up and running is to use the public server instance:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li><strong>Generate an OAuth2 token<\/strong> with the required scopes in your SMSAPI Customer Panel.<\/li>\n\n\n\n<li><strong>Configure the server connection<\/strong> in your preferred MCP client (e.g., Claude Desktop) \u2013 see <em>Section 8: Configuration and Authorization of the AI Connection with SMS API<\/em>.<\/li>\n\n\n\n<li>Once connected, the AI agent will automatically gain access to the selected tools.<\/li>\n<\/ol>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Check the SMSAPI Documentation<\/h4><\/div><div class=\"infobox__content\">\n<p>Click the button below to view the full SMSAPI MCP Documentation.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-secondary\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.smsapi.com\/docs\/mcp\/\" target=\"_blank\" rel=\"noreferrer noopener\">Go to MCP Documentation<\/a><\/div>\n<\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">12. Troubleshooting<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><td><strong>Issue<\/strong><\/td><td><strong>Cause<\/strong><\/td><td><strong>Solution<\/strong><\/td><\/tr><\/thead><tbody><tr><td><strong>AI agent cannot see SMSAPI tools<\/strong><\/td><td>Incorrect MCP client configuration<\/td><td>Verify the server URL and ensure the token is correctly formatted in the config file.<\/td><\/tr><tr><td><strong>Authorization error (401)<\/strong><\/td><td>Invalid or expired OAuth2 token<\/td><td>Generate a new token in the SMSAPI Customer Panel.<\/td><\/tr><tr><td><strong>Permission error (403)<\/strong><\/td><td>Token is missing the required scopes<\/td><td>Generate a new token with the appropriate permissions (see the scopes table).<\/td><\/tr><tr><td><strong>SMS was not sent<\/strong><\/td><td>Insufficient account points or invalid phone number<\/td><td>Check your account balance and verify the number format (it must include the country code, e.g., 48 for Poland).<\/td><\/tr><tr><td><strong>Agent uses the wrong sender name<\/strong><\/td><td>Sender name was not specified in the prompt<\/td><td>Specify the preferred sender name directly in your prompt or set up a default sender name in your panel.<\/td><\/tr><tr><td><strong>Connection timeout<\/strong><\/td><td>Network issue or server unavailable<\/td><td>Check your internet connection and verify the service status.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">13. What&#8217;s Next \u2013 AI and the Future of Business SMS Communication<\/h2>\n\n\n\n<p>The rapid evolution of AI agents means that an increasing number of business processes can be fully automated and managed by intelligent systems. Customer communication remains a critical pillar of these workflows.<\/p>\n\n\n\n<p>With the SMSAPI MCP Server, sending SMS messages becomes a native component of automated workflows driven by AI. This is just the beginning of integrating text messaging communication into the newly emerging ecosystem of artificial intelligence tools.<\/p>\n\n\n\n<div class=\"wp-block-smsapi-blog-2021-infobox infobox infobox--attention post-content--full-width\"><div class=\"infobox__icon\"><img decoding=\"async\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMTAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgY2xpcC1ydWxlPSJldmVub2RkIiB4bWw6c3BhY2U9InByZXNlcnZlIiB2ZXJzaW9uPSIxLjEiPgogIDxwYXRoIGlkPSJzdmdfMSIgc3R5bGU9ImZpbGw6IHJnYigxNywgMTkyLCAxMjgpOyBmaWxsLXJ1bGU6IG5vbnplcm87IiBkPSJtMi45MTk2NCwwbDQsMGwwLDRsLTEsN2wtMiwwbC0xLC03bDAsLTR6Ii8+CiAgPHBhdGggaWQ9InN2Z18yIiBzdHlsZT0iZmlsbDogcmdiKDE3LCAxOTIsIDEyOCk7IGZpbGwtcnVsZTogbm9uemVybzsiIGQ9Im03LjAwODM3LDE0YzAsMS4xMDUgLTAuODk1LDIgLTIsMmMtMS4xMDUsMCAtMiwtMC44OTUgLTIsLTJjMCwtMS4xMDUgMC44OTUsLTIgMiwtMmMxLjEwNSwwIDIsMC44OTUgMiwyeiIvPgo8L3N2Zz4K\"\/><\/div><div class=\"infobox__title\"><h4>Test SMSAPI<\/h4><\/div><div class=\"infobox__content\">\n<p>Create a free account at SMSAPI and test the professional SMS gateway for companies.<\/p>\n\n\n\n<div class=\"wp-block-buttons is-content-justification-center is-layout-flex wp-container-core-buttons-is-layout-16018d1d wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button is-style-primary\"><a class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/www.smsapi.com\/en\/signup\" target=\"_blank\" rel=\"noreferrer noopener\">Sign up<\/a><\/div>\n<\/div>\n<\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>SMSAPI MCP Server \u2013 Bring SMS messaging capabilities to your AI agents and automation workflows.<\/p>\n","protected":false},"author":21,"featured_media":6285,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[167,20,169],"class_list":["post-6273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge","tag-ai","tag-english","tag-mcp"],"_links":{"self":[{"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/posts\/6273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/comments?post=6273"}],"version-history":[{"count":9,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/posts\/6273\/revisions"}],"predecessor-version":[{"id":6311,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/posts\/6273\/revisions\/6311"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/media\/6285"}],"wp:attachment":[{"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/media?parent=6273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/categories?post=6273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.smsapi.com\/blog\/wp-json\/wp\/v2\/tags?post=6273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}