MODEL CONTEXT PROTOCOL (MCP)
SAI Marine Remote MCP Server & Node.js Package
Expose live model discovery, deterministic token cost estimation, and OpenAI-compatible completions directly to Claude Desktop, Cursor, Cline, and Windsurf.
REMOTE MCP URL
https://sai-marine.com/mcp list_models PUBLIC Returns active models, context windows, provider, jailbreak status, and live USD per-1M pricing from the database.
estimate_token_cost CALCULATOR Deterministic calculator taking model_id, input_tokens, and output_tokens to return exact USD & VND cost.
chat_completion AUTH Proxies authenticated chat completions with your Authorization: Bearer sk-sm-... key to /v1/chat/completions.
Copy-Paste MCP Client Configurations
claude_desktop_config.json (Node.js stdio via sai-marine-mcp)
{
"mcpServers": {
"sai-marine": {
"command": "node",
"args": [
"/path/to/sai-marine-mcp/index.js"
],
"env": {
"SAI_MARINE_API_KEY": "sk-sm-your-api-key-here",
"SAI_MARINE_BASE_URL": "https://sai-marine.com"
}
}
}
} .cursor/mcp.json (Remote HTTP MCP)
{
"mcpServers": {
"sai-marine": {
"url": "https://sai-marine.com/mcp",
"headers": {
"Authorization": "Bearer sk-sm-your-api-key-here"
}
}
}
} cline_mcp_settings.json (Remote HTTP MCP)
{
"mcpServers": {
"sai-marine": {
"url": "https://sai-marine.com/mcp",
"headers": {
"Authorization": "Bearer sk-sm-your-api-key-here"
}
}
}
} ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"sai-marine": {
"url": "https://sai-marine.com/mcp",
"headers": {
"Authorization": "Bearer sk-sm-your-api-key-here"
}
}
}
} Live Endpoint Test (JSON-RPC tools/list)
Click "Run tools/list" to query https://sai-marine.com/mcp ...