PyPI: https://pypi.org/project/cybersource-developer-mcp/
Let AI write CyberSource integration code directly in your application. This MCP server provides real-time SDK documentation and code generation assistance, enabling your AI assistant to help you integrate any CyberSource API using official SDKs.
This MCP (Model Context Protocol) server connects your AI assistant to live CyberSource SDK documentation. Instead of searching docs manually, your AI can:
- Write code directly for your CyberSource API Integrations
- Access real-time SDK documentation, method signatures, and models
- Generate working code using official CyberSource SDKs
- Code Generation: Supports Java, Python, Node.js, PHP, and Ruby (other languages coming soon)
- MLE Support: Helps you integrate or upgrade to Message Level Encryption (MLE) as mandated by CyberSource, with per-API MLE requirement details
Your AI assistant becomes a CyberSource integration expert that writes production-ready code in your application.
pipx automatically creates an isolated environment and prevents dependency conflicts:
# Install pipx (one-time setup)
pip install pipx
pipx ensurepath
# Install CyberSource Developer MCP
pipx install cybersource-developer-mcp
# Verify installation
cybersource-developer-mcp --helpWhy pipx?
- β Automatic environment isolation (no manual venv management)
- β Zero dependency conflicts with other Python packages
- β Standard approach for MCP servers
- β Simple one-command installation
uvx allows running the server without installation:
# Install uv (one-time setup)
pip install uv
# Run directly (no installation step needed!)
uvx cybersource-developer-mcp start
# With options
uvx cybersource-developer-mcp start --data-dir /custom/path --enable-loggingWhy uvx?
- β No installation step required
- β Automatic isolation
- β Very fast execution
- β Modern tooling
If you prefer pip, create a virtual environment first to avoid conflicts:
# Create and activate virtual environment
python -m venv mcp-env
source mcp-env/bin/activate # Windows: mcp-env\Scripts\activate
# Install the package
pip install cybersource-developer-mcp
# Verify installation
cybersource-developer-mcp --helpNote: Using pip without a virtual environment may cause dependency conflicts with other packages.
Standard configuration (works with pipx or pip installation):
{
"mcpServers": {
"cybersource-developer-mcp": {
"timeout": 300,
"command": "cybersource-developer-mcp",
"args": ["start"],
"env": {}
}
}
}π‘ About the timeout: The first time you ask about a specific SDK language, the server needs to fetch and prepare the documentation, which can take a few minutes (e.g., PHP may take up to ~3 minutes). The 300-second timeout ensures this initial setup completes without interruption. After that, all responses are near-instant since everything is cached locally.
Using uvx (no installation needed):
{
"mcpServers": {
"cybersource-developer-mcp": {
"timeout": 300,
"command": "uvx",
"args": ["cybersource-developer-mcp", "start"],
"env": {}
}
}
}With custom data directory:
{
"mcpServers": {
"cybersource-developer-mcp": {
"type": "stdio",
"command": "cybersource-developer-mcp",
"args": ["start", "--data-dir", "/custom/path"],
"env": {}
}
}
}With logging enabled:
{
"mcpServers": {
"cybersource-developer-mcp": {
"type": "stdio",
"command": "cybersource-developer-mcp",
"args": ["start", "--enable-logging"],
"env": {}
}
}
}Add this to your Claude Desktop MCP configuration:
{
"mcpServers": {
"cybersource-developer-mcp": {
"type": "stdio",
"command": "cybersource-developer-mcp",
"args": ["start"],
"env": {}
}
}
}That's it! Your AI assistant can now help you with CyberSource integrations. Just ask questions like:
- "Show me how to create a payment using the CyberSource Java SDK"
- "What parameters does the PaymentsApi accept?"
- "Help me set up authentication for CyberSource"
- "Generate a payment capture example in Python"
Get complete documentation in SDK for any CyberSource API class with method signatures, parameters, and examples.
Example: Ask "What methods are available in PaymentsApi?"
Understand request and response models with property definitions and data types.
Example: Ask "What fields does PaymentRequest need?"
Browse all available CyberSource APIs with endpoint mappings and descriptions.
Example: Ask "What APIs are available for payment processing?"
Access SDK installation, authentication, and configuration documentation.
Example: Ask "How do I set up CyberSource authentication in Java?"
Identify which APIs require or support MLE as mandated by CyberSource. Get guidance on integrating or upgrading your existing code to meet MLE requirements using the CyberSource SDK, including per-API MLE configuration details.
Example: Ask "Which APIs require MLE?" or "Help me enable MLE for the Payments API"
Get code structure templates for common integration patterns.
Example: Ask "Show me a basic payment integration template"
By default, SDKs are downloaded to ~/.cybersource_developer_mcp/. To use a different location:
{
"mcpServers": {
"cybersource-developer-mcp": {
"command": "cybersource-developer-mcp",
"args": ["start", "--data-dir", "/your/custom/path"]
}
}
}To enable detailed logging for troubleshooting:
{
"mcpServers": {
"cybersource-developer-mcp": {
"command": "cybersource-developer-mcp",
"args": ["start", "--enable-logging"]
}
}
}Logs will be saved to ~/.cybersource_developer_mcp/logs/mcp_server.log
For faster SDK downloads and higher API rate limits, add a GitHub token:
{
"mcpServers": {
"cybersource-developer-mcp": {
"command": "cybersource-developer-mcp",
"args": ["start"],
"env": {
"GITHUB_TOKEN": "your_github_token_here"
}
}
}
}- First Time: When you ask about a CyberSource API, the server automatically downloads the SDK documentation
- Cached: Subsequent requests are instant - no re-downloading needed
- Always Current: The server can check for and use the latest SDK versions
- Multi-Language: Works with Java, Python, PHP, Node.js, and Ruby (.NET and .NET Standard coming soon)
- Python 3.10 or higher
- Internet connection (for initial SDK downloads)
- Windows Users: Enable long path support (see Windows Long Path Fix below)
- Check Python version:
python --version(must be 3.10+) - Reinstall based on your installation method:
- pipx:
pipx reinstall cybersource-developer-mcp - pip:
pip install --upgrade cybersource-developer-mcp - uvx: Just rerun
uvx cybersource-developer-mcp start
- pipx:
- Check logs:
~/.cybersource_developer_mcp/logs/mcp_server.log(if logging enabled)
- Ensure the server is running in your MCP configuration
- Restart your AI assistant after adding the configuration
- Try asking "List available CyberSource APIs for latest version"
- Check internet connection
- Verify GitHub is accessible
- Add a GitHub token (see Configuration Options above)
- Check disk space in
~/.cybersource_developer_mcp/
Windows has a 260-character path limit by default. Enable long path support:
- Open Registry Editor (regedit)
- Navigate to:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem - Set
LongPathsEnabledto1 - Restart your computer
Or run in an elevated PowerShell: New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
If you're behind a corporate proxy or firewall:
# Set custom CA bundle
export REQUESTS_CA_BUNDLE=/path/to/corporate/ca-bundle.crtThen add this to your MCP configuration:
{
"env": {
"REQUESTS_CA_BUNDLE": "/path/to/corporate/ca-bundle.crt"
}
}Here are some ways to use this with your AI assistant:
Basic Payment Integration
"I need to create a payment using CyberSource Java SDK. Show me how."
Understanding APIs
"What's the difference between PaymentsApi and CaptureApi?"
Model Details
"What fields are required in the PaymentRequest model?"
Authentication Setup
"How do I configure HTTP Signature authentication for CyberSource?"
Multi-Step Integration
"Help me build a complete payment flow with authorization and capture in Python."
Version-Specific Help
"Show me the PaymentsApi documentation for version 0.0.82"
MLE Integration
"Which CyberSource APIs require MLE and how do I enable it in my SDK configuration?"
MLE Upgrade
"Help me upgrade my existing payment integration to support MLE as required by CyberSource."
The server stores data in ~/.cybersource_developer_mcp/ by default:
~/.cybersource_developer_mcp/
βββ cybs-sdk-github-code/ # Downloaded SDK documentation
βββ pre-processed-json/ # Cached Details
βββ logs/ # Server logs (if enabled)
You can safely delete this directory to start fresh. The server will re-download what it needs.
| Language | SDK Documentation | Code Generation | Latest Version Auto-Detection |
|---|---|---|---|
| Java | β Full Support | β Available | Yes |
| Python | β Full Support | β Available | Yes |
| PHP | β Full Support | β Available | Yes |
| Node.js | β Full Support | β Available | Yes |
| Ruby | β Full Support | β Available | Yes |
| .NET | π§ Coming Soon | π§ Coming Soon | Yes |
| .NET Standard | π§ Coming Soon | π§ Coming Soon | Yes |
Note: SDK documentation and code generation templates are available for Java, Python, Node.js, PHP, and Ruby. Support for .NET and .NET Standard is coming soon.
- No Data Sent: Your code and conversations stay between you and your AI assistant
- Local Storage: All SDKs and documentation are stored locally on your machine
- GitHub Access: Only downloads public CyberSource SDK repositories
- Optional Token: GitHub token is only needed for higher download limits
- Issues: Report problems on GitHub Issues
- Updates: Check CHANGELOG.md for version history
- MCP Documentation: https://modelcontextprotocol.io
- CyberSource Developer Center: https://developer.cybersource.com
- GitHub Repository: https://github.com/CyberSource/cybersource-developer-mcp
Note: This MCP server provides SDK documentation and code assistance. For production implementations, always refer to official CyberSource documentation and follow security best practices.
Important: This tool uses AI to assist with code generation and documentation. Please note:
- No Liability: CyberSource is not liable for any code generated by AI assistants using this MCP server
- Verification Required: You must thoroughly review, test, and validate all AI-generated code before use
- Your Responsibility: It is your responsibility to ensure generated code meets your security, compliance, and business requirements
- Testing Mandatory: All code must be tested in non-production environments before deployment to production
- Security Review: Conduct proper security reviews and follow your organization's code review processes
- No Warranty: The generated code is provided "as-is" without any warranties or guarantees of correctness, security, or fitness for any purpose
Best Practices:
- Always review generated code line-by-line
- Test thoroughly in development and staging environments
- Follow your organization's security and compliance guidelines
- Keep credentials and sensitive data secure (never expose API keys in code)
- Consult official CyberSource documentation for authoritative guidance
- Engage with CyberSource support for production-critical implementations
By using this tool, you acknowledge that you are solely responsible for any code deployed to production systems.