saas.tf MCP Server

saas.tf MCP Server

Enables users to get free subdomains with automatic DNS provisioning directly through LLM-powered tools like Claude Code.

Category
访问服务器

README

@benjp009/saas-tf-mcp-server

Get 2 FREE subdomains forever with automatic DNS provisioning for your projects!

MCP (Model Context Protocol) server for saas.tf - the easiest way to get free subdomains for your demos, side projects, and development environments directly through Claude Code and other LLM-powered development tools.

npm version License: MIT

✨ Features

  • 2 FREE Subdomains Forever - No credit card required
  • Automatic DNS - Google Cloud DNS provisioning (~60 seconds)
  • Zero Configuration - Works out of the box with Claude Code
  • Secure Authentication - OS keychain storage for credentials
  • Smart Suggestions - Get alternatives when names are taken
  • Quota Management - Easy upgrade path to paid plans

🚀 Quick Start

Installation for Claude Code

npm install -g @benjp009/saas-tf-mcp-server

Then add to your Claude Code MCP settings:

{
  "mcpServers": {
    "saastf": {
      "command": "saastf-mcp"
    }
  }
}

Restart Claude Code, and you're ready to go!

First Subdomain in 60 Seconds

Once installed, just ask Claude:

"I need a subdomain for my demo app"

Claude will:

  1. Check if you're authenticated (or help you register/login)
  2. Check subdomain availability
  3. Create your subdomain with DNS automatically configured
  4. Give you your full domain (e.g., myapp.saas.tf)

📖 Available Tools

The MCP server provides 12 tools for complete subdomain management:

Authentication (4 tools)

  • saastf_auth_status - Check if you're logged in and see your quota
  • saastf_register - Create a new account (2 FREE subdomains included!)
  • saastf_login - Login with your credentials
  • saastf_logout - Logout and clear stored credentials

Subdomain Management (5 tools)

  • saastf_check_availability - Check if a subdomain name is available
  • saastf_list_subdomains - View all your subdomains
  • saastf_create_subdomain - Create a new subdomain with automatic DNS
  • saastf_update_subdomain - Update the IP address for a subdomain
  • saastf_delete_subdomain - Delete a subdomain (frees up quota)

Subscription Management (3 tools)

  • saastf_get_quota - Check your current usage and remaining quota
  • saastf_get_plans - View available subscription plans
  • saastf_create_checkout - Get Stripe checkout URL to upgrade

📚 Resources

The server also provides 3 resources:

  • saastf://documentation - Complete guide (markdown)
  • saastf://user/profile - Your profile and subscription details (JSON)
  • saastf://user/subdomains - All your subdomains (JSON)

💡 Example Conversations

Create Your First Subdomain

You: "Create a subdomain myapp pointing to 192.168.1.100"

Claude: Let me check your authentication status...
        ✓ Not authenticated yet. Let me help you register!

        To get started with your 2 FREE subdomains, I'll need:
        - Email address
        - Password (min 8 characters)

        What email would you like to use?

You: "user@example.com and password MyPass123"

Claude: ✓ Account created successfully! Welcome to saas.tf!
        You now have 2 FREE subdomains available.

        Now creating myapp.saas.tf...
        ✓ Successfully created myapp.saas.tf → 192.168.1.100

        DNS will be active in ~60 seconds. You have 1 of 2 subdomains remaining.

Check What Subdomains You Have

You: "List my subdomains"

Claude: Your subdomains (2/2 used):

        • myapp.saas.tf → 192.168.1.100
        • staging.saas.tf → 192.168.1.200

        Remaining: 0 subdomains

        💡 You've used all your free subdomains. Use saastf_get_plans
        to see upgrade options, or delete one to free up space.

Update IP Address

You: "Update myapp to point to 10.0.0.5"

Claude: ✓ Updated myapp.saas.tf → 10.0.0.5
        DNS changes will propagate in ~60 seconds.

Check Available Plans

You: "What plans are available?"

Claude: Available Subscription Plans:

        📦 Free
           Price: $0
           Quota: 2 subdomains

        📦 5 Subdomains Package
           Price: $10/year
           Quota: 7 subdomains
           Features:
             • All free tier features
             • Priority support

        📦 50 Subdomains Package
           Price: $50/year
           Quota: 52 subdomains
           Features:
             • All free tier features
             • Priority support

        Use saastf_create_checkout to upgrade your plan.

🔧 Technical Details

Subdomain Rules

Valid Format:

  • 3-63 characters
  • Lowercase letters (a-z), numbers (0-9), hyphens (-)
  • Must start and end with letter or number
  • No consecutive hyphens

Examples:

  • ✅ Valid: myapp, demo-project, staging-api, test123
  • ❌ Invalid: my (too short), MyApp (uppercase), demo--project (consecutive hyphens)

Reserved Names

150+ subdomains are reserved including:

  • System: admin, root, system, support, help
  • Technical: api, www, mail, ftp, ssh, cdn
  • DNS: ns, ns1-4, dns, mx, mx1-2

DNS Configuration

  • Provider: Google Cloud DNS
  • Record Type: A records (IPv4 only currently)
  • TTL: 300 seconds (5 minutes)
  • Propagation: ~60 seconds typically
  • Reliability: 99.99% uptime SLA

Security

  • JWT Authentication: Secure token-based auth
  • OS Keychain Storage: Uses macOS Keychain, Windows Credential Manager, Linux Secret Service
  • Encrypted Fallback: Encrypted file storage if keychain unavailable
  • HTTPS Only: All API communications encrypted
  • No Password Storage: Only secure tokens stored locally

🎯 Common Use Cases

  • Development: dev.myapp.saas.tf, staging.myapp.saas.tf
  • Demos: demo.myproject.saas.tf
  • Side Projects: myblog.saas.tf, myapi.saas.tf
  • Testing: test.myapp.saas.tf
  • Webhooks: webhooks.myapp.saas.tf
  • APIs: api.myservice.saas.tf

📦 Pricing

FREE Plan

  • 2 subdomains forever
  • Perfect for hobbyists and side projects
  • No credit card required
  • All core features included

PACKAGE_5 ($10/year)

  • 7 total subdomains (2 free + 5 additional)
  • Great for multiple projects
  • Priority support

PACKAGE_50 ($50/year)

  • 52 total subdomains (2 free + 50 additional)
  • Perfect for agencies and teams
  • Priority support

🛠️ Advanced Configuration

Custom MCP Settings

You can configure the MCP server with environment variables:

{
  "mcpServers": {
    "saastf": {
      "command": "saastf-mcp",
      "env": {
        "SAASTF_API_URL": "https://api.saas.tf/api/v1"
      }
    }
  }
}

Using with Other MCP Clients

The server works with any MCP-compatible client:

# Run the server directly
npx @benjp009/saas-tf-mcp-server

# Or install globally
npm install -g @benjp009/saas-tf-mcp-server
saastf-mcp

🐛 Troubleshooting

Authentication Issues

# Clear stored credentials
# macOS
security delete-generic-password -s "saastf-mcp"

# Or delete the fallback file
rm -rf ~/.saastf-mcp

Keychain Access Denied (macOS)

If you see keychain permission errors:

  1. Open Keychain Access app
  2. Find "saastf-mcp" in System or Login keychain
  3. Right-click → Get Info → Access Control
  4. Add Claude Code / your terminal to allowed applications

Connection Issues

  • Check your internet connection
  • Verify https://api.saas.tf is accessible
  • Check for firewall/proxy settings blocking the API

🤝 Contributing

Contributions are welcome! This is a fully open-source project.

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📄 License

MIT License - see LICENSE file for details

🔗 Links

🌟 Show Your Support

Give a ⭐️ if this project helped you!


Made with ❤️ by the saas.tf team

Get your 2 FREE subdomains today at saas.tf!

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选