B

BaaS-MCP

@jjunmomo/BaaS-MCP
0 Stars 164 次浏览 jjunmomo 更新于 2026-08-23

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "baas-sms-mcp": {
      "args": [
        "baas-sms-mcp"
      ],
      "command": "npx",
      "env": {
        "BAAS_API_KEY": "_API___"
      }
    }
  }
}

服务介绍

BaaS SMS/MMS MCP

npm version
PyPI version

CDN BaaS SMS MMS .

Features

MCP AI BaaS :

  • ** **: SMS/MMS
  • **CDN **: CDN
  • ** **: React, Vue, Django, Laravel JavaScript, Python, PHP
  • ** **: CDN
  • ** **: API
  • ** **:


                    MCP                                  

                           MCP 

                    Node.js  (index.js)                       
                   -                                
                   -                                      
                   -                               

                          

                Python MCP  (server.py)                       
                   - FastMCP                              
                   - CDN                               
                   -                             
                   - API                                     

                           HTTPS

                   CDN                                  
                   -                                    
                   -                                   
                   -                                     
                   -                                    

templates/
 javascript/
    vanilla.md          #  JavaScript 
    react.md           # React  
 python/
    vanilla.md          # Python requests 
    django.md          # Django 
 php/
    vanilla.md          # PHP cURL 
 helpers/
    javascript-project.md  #  
 deployment/
     vercel-production.md    #   

npm ()

npm install -g baas-sms-mcp

git clone https://github.com/jjunmomo/BaaS-MCP.git
cd BaaS-MCP
npm install

Python

Python , :

pip install -r requirements.txt

MCP

MCP :

{
  "mcpServers": {
    "baas-sms-mcp": {
      "command": "npx",
      "args": ["baas-sms-mcp"],
      "env": {
        "BAAS_API_KEY": "_API___"
      }
    }
  }
}

BAAS_API_KEY BaaS API *
  • API . .

1. get_code_template_url

****: CDN URL

:

  • language ():
    • : javascript, python, php, java, go, csharp
  • framework ():
    • JavaScript: react, vue, angular
    • Python: django, fastapi, flask
    • PHP: laravel, symfony
  • deployment_platform ():
    • vercel, netlify, aws, docker

:

{
  "success": true,
  "template_url": "https://cdn.mbaas.kr/templates/sms-mms/javascript/react.md",
  "integration_url": "https://cdn.mbaas.kr/templates/sms-mms/deployment/vercel.md",
  "api_endpoint": "https://api.aiapp.link/api/message/",
  "configuration": {
    "required_env_vars": ["BAAS_API_KEY"],
    "api_key_injected": true
  }
}

2. generate_direct_api_code

****: CDN

:

  • language (, : "javascript"):
  • framework ():
  • include_examples (, : true):

:

{
  "success": true,
  "code": "//   ...",
  "filename": "baas-sms-service.js",
  "description": " /api/message/ API   JavaScript BaaS SMS ",
  "source": "CDN ",
  "configuration": {
    "env_vars": ["BAAS_API_KEY"],
    "install": "npm install ( )",
    "api_key_injected": true
  }
}

3. create_message_service_template

****:

:

  • project_config ():
    {
      "default_callback": "02-1234-5678",
      "company_name": " "
    }
    
  • language ():
  • features (, ):
    • : ["sms", "mms", "status_check", "history", "validation"]

:

{
  "success": true,
  "code": "//     ...",
  "filename": "___.js",
  "description": "     ",
  "source": "CDN  +  "
}

4. get_integration_guide

****:

:

  • platform ():
    • : vercel, netlify, heroku, aws, gcp, azure, docker
  • deployment_type (, : "production"):
    • : development, staging, production

:

{
  "success": true,
  "platform": "vercel",
  "deployment_type": "production",
  "guide_content": "# Vercel  \n...",
  "security_checklist": [
    "API    ",
    "      ",
    "HTTPS  ",
    "   "
  ]
}

API

BaaS :

API

  • ** URL**: https://api.aiapp.link
  • **SMS **: /api/message/sms
  • **MMS **: /api/message/mms
  • ****: X-API-KEY

  • API PROJECT_ID ****
  • API

//  ( )
const response = await fetch('https://api.aiapp.link/message/sms', {
  headers: {
    'Authorization': `Bearer ${jwt_token}`,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    project_id: "uuid-string",
    // ...  
  })
});

//  ()
const response = await fetch('https://api.aiapp.link/api/message/sms', {
  headers: {
    'X-API-KEY': process.env.BAAS_API_KEY,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    // project_id 
    // ...  
  })
});

React SMS

// TypeScript  React  
const result = await mcp.generate_direct_api_code("javascript", "react", true);
console.log(result.code); //  React 

const projectConfig = {
  default_callback: "02-1234-5678",
  company_name: " "
};

const template = await mcp.create_message_service_template(
  projectConfig, 
  "python", 
  ["sms", "mms", "status_check"]
);

//     Python   

Vercel

const guide = await mcp.get_integration_guide("vercel", "production");
console.log(guide.guide_content); //   

URL

const urls = await mcp.get_code_template_url("python", "django", "heroku");
console.log(urls.template_url);     // CDN  URL
console.log(urls.integration_url);  //   URL

# MCP  
node index.js

#    
BAAS_API_KEY="test" node index.js

BaaS-MCP/
 index.js                 # Node.js    
 baas_sms_mcp/
    __init__.py         # Python  
    server.py           #  MCP  
 templates/              #   
 requirements.txt        # Python 
 package.json           # Node.js  
 pyproject.toml         # Python  
 mcp.config.json        #  MCP 

#   ( )
npm run release:patch

#   ( )
npm run release:minor

#   ( )
npm run release:major

API

  • API
  • API
  • API

  • HTTPS

  • CDN
  • MCP

  1. : git checkout -b feature/new-feature
  2. : git commit -m " "
  3. : git push origin feature/new-feature
  4. Pull Request

  • CDN 60-80%
  • API
  • MCP

  • CDN
  • API

MIT - LICENSE .

  • (Java, Go, C#)
  • IDE

  • v1.0.18: API
  • v1.0.0:
  • v0.1.4:

For support and questions, please contact: mbaas.tech@gmail.com

=======

****: MCP AI . API GitHub .

相关 MCP 服务