streamable-httpMITupdated 3mo ago
The MCP connector for Synlake β B2AI infrastructure for autonomous agents. Synlake normalizes AWS, GCP, and Azure into one schema, generates ready-to-run execution kits (Terraform HCL + CLI), and prices them before deploy β so an AI agent can discover, evaluate, and provision cloud infrastructure with zero human intervention.
What can you do with Synlake β Cloud Infrastructure for AI Agents?
Synlake MCP Server
The MCP connector for Synlake β B2AI infrastructure for autonomous agents. Synlake normalizes AWS, GCP, and Azure into one schema, generates ready-to-run execution kits (Terraform HCL + CLI), and prices them before deploy β so an AI agent can discover, evaluate, and provision cloud infrastructure with zero human intervention.
This repository is the open-source MCP server (a thin stdio β HTTP proxy). The infrastructure intelligence β cross-cloud normalization, the cost engine, and execution-kit generation β runs as a hosted service at api.synlake.ai.
π synlake.ai Β· π Docs Β· π MCP: ai.synlake/synlake
An agent deploys infrastructure β no human in the loop
A coding agent needs a Kubernetes node pool. It doesn't open a cloud console, compare pricing pages, or hand-write Terraform. It asks Synlake, and gets back a deployable answer:
Agent β Synlake: "compute, 4 vCPUs, 16 GB RAM, us-east-1, budget $100/mo"
Synlake β Agent: best: gcp Β· e2-standard-4 Β· $97.82/mo (19.5% cheaper than the priciest)
also: aws t3.xlarge $121.47 Β· azure Standard_B4ms $121.18
kit: { terraform: "resource \"google_compute_instance\"β¦",
cli: "gcloud compute instances createβ¦" }
β validated: no public ingress, encryption on, within budget
The agent reviews the kit, applies the Terraform, and moves on. Every response is dense, deterministic JSON β built for machine consumption, not dashboards. Synlake tools are read-only: they recommend, price, and validate. A human (or the agent's own policy) runs the execution kit.
Architecture
flowchart LR
A[AI Agent] -- MCP / REST --> B[Synlake API]
B --> C[Normalizer]
C --> D1[AWS adapter]
C --> D2[Azure adapter]
C --> D3[GCP adapter]
C --> E[Ranking engine<br/>cost + constraints]
E --> F[Execution-kit generator<br/>Terraform + CLI]
F --> G[Guardrails & validation<br/>budget Β· region Β· security]
G --> H[Audit log]
H --> A
An agent sends an intent. Synlake normalizes options across clouds, ranks them by cost and constraints, generates a deploy-ready execution kit, runs guardrail checks, logs the call, and returns one machine-ready payload. This repo ships the open-source MCP connector (the AI Agent β Synlake API edge); the boxes to the right of Synlake API run as the hosted service.
Quickstart
Hosted (recommended) β MCP over Streamable HTTP
Point any MCP client at the hosted server β three lines, nothing to install:
{
"mcpServers": {
"synlake": {
"url": "https://api.synlake.ai/api/mcp",
"headers": { "Authorization": "Bearer sk_synlake_YOUR_KEY" }
}
}
}
Local stdio wrapper (this package)
For clients that speak stdio (e.g. Claude Desktop), run the npm wrapper β it proxies to the same hosted server:
{
"mcpServers": {
"synlake": {
"command": "npx",
"args": ["-y", "@synlake-ai/mcp-server"],
"env": { "SYNLAKE_API_KEY": "sk_synlake_YOUR_KEY" }
}
}
}
Get a free API key at synlake.ai (100 calls/month, no card required). The estimate endpoint is even callable without a key β zero friction to try.
Tools
| Tool | REST endpoint | Description |
|---|---|---|
synlake_query |
POST /v1/infrastructure/query |
Full recommendation + execution kit (Terraform + CLI) |
synlake_estimate |
POST /v1/infrastructure/estimate |
Cross-cloud cost comparison β no API key required |
synlake_validate |
POST /v1/execution/validate |
Dry-run an execution kit (security + budget checks) |
synlake_providers |
GET /v1/providers |
List supported providers and services |
synlake_usage |
GET /v1/agent/usage |
Your usage, costs, and spending cap |
Full reference (OpenAPI 3.1, rendered): synlake.ai/docs. Local copy: docs/openapi.yaml. Machine-readable summary for agents: synlake.ai/llms.txt.
Why Synlake
| Approach | Multi-cloud | Agent-ready JSON | Execution kit | Cost guardrails | Audit trail |
|---|---|---|---|---|---|
| DIY Terraform | Manual | No | You write it | No | No |
| Pulumi / Crossplane | Yes | No | Partial | No | Partial |
| Cloud provider SDKs | Single | Partial | No | No | Partial |
| Agent frameworks | Via tools | Partial | No | No | No |
| Synlake | 3 clouds | 100% | Full kit | Built-in | Every call |
Use it from a Claude Managed Agent
Wire Synlake as an mcp_toolset β the agent gets all five tools natively, your key stays in an Anthropic vault:
{
"type": "mcp_toolset",
"name": "synlake",
"server": {
"url": "https://api.synlake.ai/api/mcp",
"authorization_token": { "vault_secret": "synlake_api_key" }
}
}
See the MCP quickstart for the Managed Agents API, ant CLI, and Agent SDK flows.
Build from source
npm install
npm run build # tsc β dist/ (pure proxy)
SYNLAKE_API_KEY=sk_synlake_... node dist/bin.js
SYNLAKE_API_URL overrides the remote endpoint (default https://api.synlake.ai/api/mcp).
Pricing
Pay per call. No subscriptions, no commitments. Free tier: 100 calls/month, no card required.
| Call type | Price |
|---|---|
| Estimate | $0.01 (free, no key, IP rate-limited) |
| Query (basic) | $0.05 |
| Query (full + Terraform) | $0.10 |
| Validate | $0.05 |
Links
- Website: synlake.ai
- Docs: synlake.ai/docs
- Source: github.com/synlake-ai/synlake
- npm: @synlake-ai/mcp-server
- MCP Registry:
ai.synlake/synlakeβ registry.modelcontextprotocol.io - Privacy: synlake.ai/legal/privacy.html β only what's needed to process queries. No conversation data, no profiling, no data sales.
License
The MCP connector in this repository is MIT licensed (see LICENSE). The Synlake service (api.synlake.ai) β the cost engine, cross-cloud normalization, and execution-kit generation β is proprietary.
El conector MCP de este repo es MIT. El servicio Synlake (api.synlake.ai) es propietario.
Β© Synlake, LLC β admin@synlake.ai
Install
Add Synlake β Cloud Infrastructure for AI Agents to your client. Pick the one you use.
claude mcp add --transport http synlake-cloud-infrastructure-for-ai-agen https://api.synlake.ai/mcpcodex mcp add synlake-cloud-infrastructure-for-ai-agen --url https://api.synlake.ai/mcp{
"mcpServers": {
"synlake-cloud-infrastructure-for-ai-agen": {
"url": "https://api.synlake.ai/mcp"
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
{
"servers": {
"synlake-cloud-infrastructure-for-ai-agen": {
"type": "http",
"url": "https://api.synlake.ai/mcp"
}
}
}Add to `.vscode/mcp.json` in your workspace.
{
"mcpServers": {
"synlake-cloud-infrastructure-for-ai-agen": {
"url": "https://api.synlake.ai/mcp"
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"synlake-cloud-infrastructure-for-ai-agen": {
"serverUrl": "https://api.synlake.ai/mcp"
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
5 tools
Synlake β Cloud Infrastructure for AI Agents exposes 5 tools to a connected agent.
- synlake_query
- `POST /v1/infrastructure/query`
- synlake_estimate
- `POST /v1/infrastructure/estimate`
- synlake_validate
- `POST /v1/execution/validate`
- synlake_providers
- `GET /v1/providers`
- synlake_usage
- `GET /v1/agent/usage`
Score
75 / 100
Good
- Documentation25/25
- Maintenance16/25
- Trust16/20
- Capability6/15
- Install experience12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 83 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 5 tool(s) documented
- Provides prompt templates
- Provides resources
- 6 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint β no local install
Version history
| Versions | Published |
|---|---|
| 0.2.0Latest | May 6, 2026 |
| 0.1.0 | May 5, 2026 |