Amplify MCP Proxy
Exposes tools to query Salesforce for candidates by name and send them to a BHA screening API. Designed for deployment on AWS Lambda with API Gateway.
README
Amplify MCP POC Proxy
A lightweight MCP server exposing two tools against a Salesforce org and BHA API. Deployed as AWS Lambda + API Gateway (HTTP API).
Tools
| Tool | Description |
|---|---|
find_candidate_by_name |
SOQL query against Salesforce Contacts (Candidate record type) by name |
send_candidate_to_screening |
POSTs to BHA API with candidate Id, returns screening URL |
Prerequisites
- Node.js 18+
- AWS CLI configured (
aws configure) - AWS SAM CLI (
brew install aws-sam-clior see docs) - A Salesforce org with a Connected App configured for username/password OAuth
- BHA static API token
Local Setup
# 1. Install dependencies
npm install
# 2. Copy and fill in env vars
cp .env.example .env
# Edit .env with your real credentials
# 3. Run local smoke test against your SF org
node test-local.js "Smith"
The smoke test runs the full MCP handshake locally without deploying anything. If you see candidate names printed, the Salesforce connection is working.
Salesforce Connected App Setup
In your trial org (Setup > App Manager > New Connected App):
- Enable OAuth Settings
- Callback URL:
https://login.salesforce.com/services/oauth2/success(not used but required) - Selected OAuth Scopes:
- Access and manage your data (api)
- Perform requests at any time (refresh_token, offline_access)
- Enable Client Credentials Flow: checked
- Save -- note the Consumer Key (Client ID) and Consumer Secret
Also ensure the running user has API access and can read Contact records.
Deploy to AWS
# 1. Build the deployment package
cd infra
sam build --template template.yaml --build-dir .aws-sam
# 2. Deploy (guided first time -- saves config to samconfig.toml)
sam deploy --guided \
--template template.yaml \
--stack-name amplify-mcp-poc \
--capabilities CAPABILITY_IAM \
--parameter-overrides \
SfLoginUrl=https://test.salesforce.com \
SfClientId=YOUR_CLIENT_ID \
SfClientSecret=YOUR_CLIENT_SECRET \
SfUsername=your.user@org.sandbox \
SfPassword=yourpassword \
SfSecurityToken=yourtoken \
BhaApiBaseUrl=https://api.herefish.com/api/v1 \
BhaApiToken=YOUR_BHA_TOKEN
# 3. Note the McpEndpoint output URL -- you'll need this for Claude Desktop
Subsequent deploys (after the first):
sam deploy --template template.yaml --stack-name amplify-mcp-poc
Wire into Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"amplify-poc": {
"url": "https://YOUR_API_ID.execute-api.eu-west-1.amazonaws.com/mcp",
"transport": "http"
}
}
}
Replace YOUR_API_ID with the value from the McpEndpoint SAM output.
Restart Claude Desktop -- you should see find_candidate_by_name and
send_candidate_to_screening appear as available tools.
Project Structure
amplify-mcp-proxy/
├── src/
│ ├── handler.js # Lambda entry point -- MCP protocol router
│ ├── tools.js # Tool definitions + handlers
│ ├── salesforce.js # SF OAuth + SOQL query helper
│ └── bha.js # BHA API client
├── infra/
│ └── template.yaml # AWS SAM template
├── test-local.js # Local smoke test
├── .env.example # Environment variable template
└── package.json
Extending
To add a new tool:
- Add the definition + handler function in
src/tools.js - Register it in the
TOOLSmap at the bottom of that file - That's it --
tools/listandtools/callrouting pick it up automatically
Notes
-
The MCP session is stateless -- no server-side session storage. A fresh
mcp-session-idis issued on everyinitializecall but no state is stored. This matches the production Bullhorn proxy pattern. -
The Salesforce access token is cached in Lambda memory for the lifetime of the execution context (warm invocations reuse it). Cold starts re-authenticate. This means one auth call per cold start, not per tool call.
-
The BHA endpoint path (
/screening) insrc/bha.jsmay need adjusting to match your actual BHA API route. Check with your BHA/Herefish contact for the exact endpoint and payload shape.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。