juspay

Bedrock MCP Connector — Development skill for Claude Code

Development community

A connector to connect agentic models to MCP tools.

How to install Bedrock MCP Connector

This entry records only its repository, not the path inside it, so there is no exact command to give. Open juspay/Bedrock-MCP-Connector and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Bedrock MCP Connector does

A connector to connect agentic models to MCP tools.

Alternatives in Development

  • Connect Vybe — Connect and authenticate the Vybe Solana MCP server over OAuth 2.2k ★
  • Premiere Pro MCP — Adobe Premiere Pro MCP — independent, local-first server for supported workflows 292 ★
  • Chiasmus — Chiasmus is an MCP server that gives language models access to formal verification 208 ★

README

Bedrock MCP Connector

A TypeScript client for interacting with AWS Bedrock and MCP (Model Context Protocol) servers.

Features

  • Seamless integration with AWS Bedrock's Converse API
  • Support for Claude and other Bedrock models
  • Connect to MCP servers to discover and use available tools
  • Register custom tool handlers
  • Event-based architecture for streaming responses
  • TypeScript support with full type definitions
  • Command-line interface for interactive usage
  • Modular design for easy integration into other projects

Installation

npm install @juspay/bedrock-mcp-connector

Usage

Basic Usage

import { BedrockMCPClient, LogLevel } from "@juspay/bedrock-mcp-connector";

// Create a client
const client = new BedrockMCPClient({
  modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
  region: "us-east-1",
  systemPrompt: "You are a helpful assistant.",
  mcpServerUrl: "http://localhost:5713/sse", // Optional
});

// Set the log level (optional)
// LogLevel.INFO - Default, shows important information
// LogLevel.DEBUG - Shows detailed debugging information
// LogLevel.WARN - Shows only warnings and errors
// LogLevel.ERROR - Shows only errors
// LogLevel.NONE - Suppresses all logs
client.setLogLevel(LogLevel.INFO);

// Connect to MCP server (if URL is provided)
if (client.mcpServerUrl) {
  await client.connect();
}

// Send a prompt
const response = await client.sendPrompt("What is the capital of France?");
console.log("Response:", response);

// Disconnect when done
if (client.isConnectedToMCP()) {
  await client.disconnect();
}

Using Redis for Persistent Storage

The package supports both in-memory and Redis storage for conversation history:

import { BedrockMCPClient } from "@juspay/bedrock-mcp-connector";

// Using Redis storage for persistent conversations
const client = new BedrockMCPClient({
  modelId: "anthropic.claude-3-sonnet-20240229-v1:0",
  region: "us-east-1",
  sessionId: "user-session-123"