Skip to main content
Glama
j-newcom

agent-bridge-mcp

by j-newcom

Agent Bridge MCP Server

An MCP server + Lambda API that enables real-time communication between Kiro and Amazon Quick across environments (local Windows ↔ cloud DevSpaces). Messages are stored in S3 and accessible via API Gateway — no shared filesystem required.

Architecture

┌──────────────────┐                              ┌──────────────────┐
│   Amazon Quick   │                              │       Kiro       │
│   (Windows PC)   │                              │   (DevSpaces)    │
│                  │                              │                  │
│  MCP Server      │         ┌──────────┐        │  curl / shell    │
│  (stdio, boto3)  │────────►│    S3    │◄───────│                  │
│                  │         │  bucket  │        │                  │
│      — OR —      │         └──────────┘        │      — OR —      │
│                  │              ▲               │                  │
│  Lambda invoke   │              │               │  API Gateway     │
│  (via Matilda)   │────────►┌────┴─────┐◄───────│  (HTTPS POST)    │
│                  │         │  Lambda  │        │                  │
└──────────────────┘         └──────────┘        └──────────────────┘

Related MCP server: AWS S3 MCP Server

Components

Component

Purpose

server.py

Local MCP server (stdio) — Quick connects directly via S3

lambda/lambda_function.py

Lambda function — HTTP API relay to same S3 store

API Gateway

Public HTTPS endpoint for Kiro (DevSpaces can't hit Lambda URLs directly)

S3 Bucket

Shared message store

Endpoints

Who

How they connect

Quick

MCP server (local stdio) with AGENT_BRIDGE_BUCKET env var, OR Lambda invoke via Matilda

Kiro

POST https://<your-api-id>.execute-api.<region>.amazonaws.com/ with x-bridge-secret header

Setup

Prerequisites

  • Python 3.10+

  • pip install mcp boto3

  • AWS credentials with S3 access

Environment Variable

export AGENT_BRIDGE_BUCKET=your-bucket-name

Amazon Quick (local MCP)

Settings → Capabilities → MCP → Add Server:

  • Command: py

  • Args: path to server.py

  • Env: AGENT_BRIDGE_BUCKET=your-bucket-name

Kiro (DevSpaces — via API Gateway)

# Send a message
curl -s -X POST "https://<your-api-id>.execute-api.<region>.amazonaws.com/" \
  -H "Content-Type: application/json" \
  -H "x-bridge-secret: YOUR_SECRET" \
  -d '{"action":"send_message","sender":"kiro","recipient":"quick","content":"Hello from Kiro!"}'

# Check for messages
curl -s -X POST "https://<your-api-id>.execute-api.<region>.amazonaws.com/" \
  -H "Content-Type: application/json" \
  -H "x-bridge-secret: YOUR_SECRET" \
  -d '{"action":"get_messages","agent":"kiro"}'

# Get stats
curl -s -X POST "https://<your-api-id>.execute-api.<region>.amazonaws.com/" \
  -H "Content-Type: application/json" \
  -H "x-bridge-secret: YOUR_SECRET" \
  -d '{"action":"get_stats"}'

API Actions

All requests are POST with JSON body containing "action" plus parameters:

Action

Parameters

Description

send_message

sender, recipient, content, conversation_id?, title?, message_type?

Send a message

get_messages

agent, status? (unread/read/all), limit?

Check inbox

mark_read

agent, message_ids?, conversation_id?

Mark messages read

list_conversations

status? (active/closed/all)

List threads

get_conversation

conversation_id

Full thread history

get_stats

(none)

Bridge statistics

Message Types

message, task, response, context, status, question

S3 Structure

bridge/
├── inbox/
│   ├── quick/          ← Quick's messages
│   └── kiro/           ← Kiro's messages
└── conversations/
    └── {conv_id}/
        ├── meta.json   ← Thread metadata
        └── messages/   ← Chronological messages

Security

  • S3 bucket: private, all public access blocked

  • API Gateway: secured by x-bridge-secret header checked in Lambda code

  • Lambda function URL: AuthType: NONE (backup path)

AWS Resources (you'll create these)

  • S3 Bucket: any name (set as AGENT_BRIDGE_BUCKET)

  • Lambda: handles API actions against the S3 bucket

  • API Gateway: HTTP API fronting the Lambda

  • IAM Role: Lambda execution role with S3 read/write on the bucket

License

MIT

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Enables interaction with AWS S3 storage through bucket operations (create, delete, list), object management (upload, download, delete, list), and bucket policy configuration using AWS credentials.
    Last updated
    15
    2
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables browsing S3 buckets and objects, and generating secure presigned URLs for downloads and uploads, through natural language commands in MCP clients like Claude Desktop.
    Last updated
    2
    3
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables real-time messaging between Claude Code instances, allowing agents to send, receive, and reply to messages instantly via file-based communication with auto-notification.
    Last updated
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Durable agent-to-agent handoffs and shared scratchpad for multi-agent workflows.

  • Encrypted A2A object storage for autonomous agent state and artifacts

  • Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/j-newcom/agent-bridge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server