CLI, SDK, and MCP server for smbCloud.
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add smbcloud-mail-auth --env SMB_MAIL_API_KEY='<SMB_MAIL_API_KEY>' -- npx -y @smbcloud/cli --mcp '<MCP>'~/.codex/config.toml
[mcp_servers.smbcloud-mail-auth]
command = "npx"
args = ["-y", "@smbcloud/cli", "--mcp", "<MCP>"]
env = { SMB_MAIL_API_KEY = "<SMB_MAIL_API_KEY>" }
# codex mcp add smbcloud-mail-auth --env SMB_MAIL_API_KEY='<SMB_MAIL_API_KEY>' -- npx -y @smbcloud/cli --mcp '<MCP>'~/.cursor/mcp.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"command": "npx",
"args": [
"-y",
"@smbcloud/cli",
"--mcp",
"<MCP>"
],
"env": {
"SMB_MAIL_API_KEY": "<SMB_MAIL_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"smbcloud-mail-auth": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smbcloud/cli",
"--mcp",
"<MCP>"
],
"env": {
"SMB_MAIL_API_KEY": "<SMB_MAIL_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"command": "npx",
"args": [
"-y",
"@smbcloud/cli",
"--mcp",
"<MCP>"
],
"env": {
"SMB_MAIL_API_KEY": "<SMB_MAIL_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"command": "npx",
"args": [
"-y",
"@smbcloud/cli",
"--mcp",
"<MCP>"
],
"env": {
"SMB_MAIL_API_KEY": "<SMB_MAIL_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"command": "npx",
"args": [
"-y",
"@smbcloud/cli",
"--mcp",
"<MCP>"
],
"env": {
"SMB_MAIL_API_KEY": "<SMB_MAIL_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http smbcloud-mail-auth https://api.smbcloud.xyz/v1/mcp~/.codex/config.toml
[mcp_servers.smbcloud-mail-auth]
url = "https://api.smbcloud.xyz/v1/mcp"
# codex mcp add smbcloud-mail-auth --url https://api.smbcloud.xyz/v1/mcp~/.cursor/mcp.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"url": "https://api.smbcloud.xyz/v1/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"smbcloud-mail-auth": {
"type": "http",
"url": "https://api.smbcloud.xyz/v1/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"httpUrl": "https://api.smbcloud.xyz/v1/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"smbcloud-mail-auth": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.smbcloud.xyz/v1/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"smbcloud-mail-auth": {
"url": "https://api.smbcloud.xyz/v1/mcp"
}
}
}Environment variables
SMB_MAIL_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.