aws-finops-bridge
v1.0.0
Published
MCP Bridge for AWS FinOps Assistant
Readme
aws-finops-bridge
MCP bridge that lets IDEs (VS Code / Cursor) talk to the AWS FinOps Assistant backend.
What it does
- Runs as an MCP server over stdio (what IDEs expect).
- Forwards tool discovery/calls to your remote backend over HTTP (via the backend
/messagesendpoint).
Environment variables
Required:
MCP_SERVER_URL— your backend base URL (can be the Lambda Function URL). If it doesn’t end with/sse, the bridge will append/sse.APP_API_KEY— the Application API key.AWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEY
Optional:
AWS_SESSION_TOKENAWS_REGION(defaults tous-east-1)
Run locally
MCP_SERVER_URL="https://<your-lambda-function-url>/sse" \
APP_API_KEY="..." \
AWS_ACCESS_KEY_ID="..." \
AWS_SECRET_ACCESS_KEY="..." \
AWS_REGION="us-east-1" \
node ./index.jsPublish to npm (public)
- Make sure the package name is available:
npm view aws-finops-bridgeIf it’s taken, use a scoped name like @your-scope/aws-finops-bridge.
- Login to npm:
npm login- From this folder, publish:
npm publish --access public- Test without installing:
npx -y aws-finops-bridgeIDE config (MCP)
After publishing, a typical MCP config uses npx to run the bridge:
{
"servers": {
"aws-finops": {
"command": "npx",
"args": ["-y", "aws-finops-bridge"],
"env": {
"MCP_SERVER_URL": "https://<your-lambda-function-url>/sse",
"APP_API_KEY": "${input:APP_API_KEY}",
"AWS_ACCESS_KEY_ID": "${input:AWS_ACCESS_KEY_ID}",
"AWS_SECRET_ACCESS_KEY": "${input:AWS_SECRET_ACCESS_KEY}"
}
}
}
}