get_code_template_url | Get URL for BaaS SMS/MMS integration code template from CDN
Perfect for: Getting optimized, maintained code templates without token overhead
Args:
language: Programming language (javascript, python, php, java, go, csharp)
framework: Optional framework (react, vue, django, laravel, fastapi, spring, etc.)
deployment_platform: Optional platform (vercel, netlify, aws, docker, etc.)
Returns:
CDN URL to markdown file with complete code examples and integration guide
Templates include direct API calls to https://api.aiapp.link with /api/message/ endpoints |
generate_direct_api_code | Generate code that directly calls BaaS API by fetching templates from CDN
Perfect for: Production deployments, custom integrations, framework-specific implementations
Token-optimized: Fetches maintained templates from CDN instead of generating locally
Args:
language: Programming language (javascript, python, php, java, go, csharp)
framework: Optional framework (react, vue, django, laravel, fastapi, spring, etc.)
include_examples: Include usage examples and configuration templates
Returns:
Dictionary with code fetched from CDN, filename, and integration instructions
Code directly calls https://api.aiapp.link/api/message/ with X-API-KEY header authentication
If MCP server has BAAS_API_KEY set, it will be automatically injected into code |
create_message_service_template | Create a complete message service template by fetching from CDN and customizing with project config
Perfect for: New project setup, team standardization, rapid prototyping
Token-optimized: Fetches base template from CDN then applies project customizations
Args:
project_config: Project configuration {default_callback, company_name, etc.}
language: Target programming language
features: List of features to include ["sms", "mms", "status_check", "history", "validation"]
Returns:
Complete service template with project-specific defaults and configuration
Automatically injects BAAS_API_KEY from MCP server environment if available |
get_integration_guide | Get detailed integration guide by fetching from CDN for specific platforms and deployment scenarios
Perfect for: DevOps setup, deployment planning, team onboarding
Token-optimized: Fetches comprehensive guides from CDN instead of hardcoded responses
Args:
platform: Target platform (vercel, netlify, heroku, aws, gcp, azure, docker, etc.)
deployment_type: Deployment type (development, staging, production)
Returns:
Step-by-step integration guide with platform-specific instructions fetched from CDN
Updated for new /api/message/ endpoints and X-API-KEY authentication |