@biotrust/nucleus-mcp-server
v0.1.0
Published
MCP server for BioTRUST Nucleus - enables Claude Desktop/Code integration
Maintainers
Readme
Nucleus MCP Server
MCP (Model Context Protocol) server for BioTRUST Nucleus platform. Enables Claude Desktop and Claude Code to interact with Nucleus tools including Ada chatbot, Shopify, Amazon Advertising, and more.
Installation
Via npx (Recommended)
Add to your ~/.claude/mcp.json:
{
"mcpServers": {
"nucleus": {
"command": "npx",
"args": ["-y", "@biotrust/nucleus-mcp-server"],
"env": {
"NUCLEUS_API_KEY": "nuc_dev_your_api_key_here"
}
}
}
}Via npm (Global Install)
npm install -g @biotrust/nucleus-mcp-serverThen configure ~/.claude/mcp.json:
{
"mcpServers": {
"nucleus": {
"command": "@biotrust/nucleus-mcp-server",
"env": {
"NUCLEUS_API_KEY": "nuc_dev_your_api_key_here"
}
}
}
}Getting Your API Key
- Log in to Nucleus at https://nucleus.biotrust.com
- Navigate to Settings → API Keys
- Click Create API Key
- Give it a name (e.g., "My Claude Desktop")
- Select the permissions you need (Ada, Shopify, Amazon Ads, etc.)
- Copy the API key (you'll only see it once!)
- Paste it into your
~/.claude/mcp.jsonconfiguration
Configuration
Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| NUCLEUS_API_KEY | ✅ Yes | - | Your Nucleus API key |
| NUCLEUS_API_URL | No | https://nucleus.biotrust.com/api/mcp-gateway | API gateway URL (override for custom deployments) |
Example Configuration with Custom URL
{
"mcpServers": {
"nucleus": {
"command": "npx",
"args": ["-y", "@biotrust/nucleus-mcp-server"],
"env": {
"NUCLEUS_API_KEY": "nuc_dev_your_api_key_here",
"NUCLEUS_API_URL": "https://nucleus-staging.biotrust.com/api/mcp-gateway"
}
}
}
}Available Tools
The tools available to you depend on your Nucleus role and API key permissions:
Ada Chatbot Tools
ada_get_metric- Retrieve Ada chatbot metrics (CSAT, conversations, etc.)ada_search_knowledge- Search Ada knowledge baseada_get_conversations- Get recent conversations- And more...
Shopify Tools
shopify_get_product- Get product detailsshopify_search_products- Search products by queryshopify_list_orders- List recent ordersshopify_get_customer- Get customer details- And more...
Amazon Advertising Tools
amazon_ads_get_campaigns- List advertising campaignsamazon_ads_get_metrics- Get campaign performance metrics- And more...
Note: You'll only see tools for the MCP servers you have permission to access.
Usage in Claude Desktop
- Configure your
~/.claude/mcp.jsonas shown above - Restart Claude Desktop
- Start a new conversation
- Claude will automatically discover and use Nucleus tools when relevant
Example conversation:
You: What's our CSAT score this week?
Claude: [Uses ada_get_metric tool to fetch current CSAT]
You: How many orders did we get today?
Claude: [Uses shopify_list_orders tool to check orders]Usage in Claude Code
Claude Code will automatically detect the MCP server configuration from your ~/.claude/mcp.json file. No additional setup needed!
Troubleshooting
"Failed to connect to Nucleus API"
Cause: Invalid API key or network issue
Solution:
- Verify your API key is correct
- Check that you can reach https://nucleus.biotrust.com
- Ensure your API key hasn't expired or been revoked
"Tool not found"
Cause: You don't have permission for that MCP server
Solution:
- Log in to Nucleus
- Check your role permissions
- Contact your admin to request access to additional MCP servers
"No tools available"
Cause: API key doesn't have MCP_CHAT_ACCESS permission
Solution:
- Your API key needs at least
MCP_CHAT_ACCESSpermission - Contact your admin or regenerate your API key with proper permissions
MCP server not appearing in Claude Desktop
Solution:
- Verify
~/.claude/mcp.jsonsyntax is valid JSON - Restart Claude Desktop completely
- Check Claude Desktop logs for errors:
- macOS:
~/Library/Logs/Claude/ - Windows:
%APPDATA%\Claude\logs\
- macOS:
Development
Local Testing
cd packages/@biotrust/nucleus-mcp-server
npm install
npm run devSet environment variables:
export NUCLEUS_API_KEY="nuc_dev_your_key"
export NUCLEUS_API_URL="http://localhost:3001/api/mcp-gateway"
npm run devBuilding
npm run buildPublishing
npm run build
npm publishSecurity
- Never commit your API key to version control
- Keep your API key secure - treat it like a password
- Rotate keys regularly - generate new keys periodically
- Revoke compromised keys immediately in Nucleus Settings
- Use minimal permissions - only grant the MCP server access it needs
Support
- Documentation: https://nucleus.biotrust.com/docs
- Issues: Create an issue in the Nucleus GitHub repository
- Email: [email protected]
License
MIT
