
mcp efi
基于AWS的银行管理对话平台,集成Claude和银行API。
Repository Info
About This Server
基于AWS的银行管理对话平台,集成Claude和银行API。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Bank MCP (Managed Conversational Platform)
This project implements a Managed Conversational Platform for a bank using AWS services. The platform provides a chat interface that integrates with Claude through Amazon Bedrock and connects to the bank's API.
Architecture
The solution consists of the following components:
- API Gateway: Provides the REST API endpoint for the chat interface
- Lambda Functions:
- Entry Processor: Handles incoming chat requests
- Claude Integrator: Interacts with Claude through Amazon Bedrock
- Bank Integrator: Connects to the bank's API
- Response Formatter: Formats and returns the final response
- DynamoDB: Stores conversation context and history
Configuration
The project uses environment-specific configuration files located in the config directory. The following configuration files are available:
config/example.json: Example configuration file (safe to commit)config/test.json: Test environment configuration (do not commit)config/prod.json: Production environment configuration (do not commit)
To set up your environment:
-
Copy the example configuration:
cp config/example.json config/test.json cp config/example.json config/prod.json -
Edit the configuration files with your environment-specific values:
test.jsonfor testing environmentprod.jsonfor production environment
-
Deploy with the desired environment:
# For test environment cdk deploy --context environment=test # For production environment cdk deploy --context environment=prod
Configuration Parameters
| Parameter | Description | Example |
|---|---|---|
| environment | Environment name | "test", "prod" |
| bedrockModelId | Bedrock model ID | "anthropic.claude-v2" |
| maxTokens | Maximum tokens for Claude | "1000" |
| temperature | Claude temperature setting | "0.7" |
| bankApiUrl | Bank API endpoint | "https://api.bank.example.com" |
| bankApiKey | Bank API key | "your-api-key" |
Setup
-
Install dependencies:
npm install -
Deploy the stack:
cdk deploy --context environment=test
Usage
Send a POST request to the API Gateway endpoint with the following format:
{
"message": "Your message here",
"conversationId": "optional-conversation-id"
}
The response will include the conversation ID and the formatted response from the system.
Development
Each Lambda function has its own package.json file for managing dependencies. To add new dependencies to a Lambda function:
- Navigate to the function's directory
- Install the dependency:
npm install <package-name>
Security
- The solution uses IAM roles and policies to control access to AWS services
- API Gateway is configured with appropriate authentication and authorization
- Sensitive data is stored securely in DynamoDB
- Configuration files with sensitive data are excluded from version control
Monitoring
- CloudWatch Logs are enabled for all Lambda functions
- CloudWatch Metrics are available for monitoring API Gateway and Lambda performance
Quick Start
Clone the repository
git clone https://github.com/lucasocosta/mcp-efiInstall dependencies
cd mcp-efi
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.