About PayPal Credit MCP Server
An MCP wrapper for PayPal Credit Risk APIs, for systems that need to assess a customer's credit approvability. It exposes the evaluation through a single tool.
Key features
- 01Evaluate customer credit approvability
Use cases
- 01Assess whether a customer qualifies for credit approval via an API
MCP support
The MCP server exposes PayPal Credit Risk APIs to MCP clients through the `evaluate_credit_approvability` tool.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEPayPal Credit MCP Server
This project provides an MCP wrapper around PayPal Credit Risk APIs.
Features
- Evaluate credit approvability
Development
Prerequisites
- Python 3.9+
- Docker (for containerization)
Setup
-
Clone the repository:
git clone <repository-url> cd credit-risk-mcp-server -
Install dependencies: It is recommended to use a virtual environment:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate` pip install -r requirements.txt -
Run the application locally:
python src/main.py
Deployment
To deploy the application to Google Cloud Run, follow these steps:
-
Build the Docker image:
docker build -t gcr.io/<your-project-id>/credit-risk-mcp-server . -
Push the Docker image to Google Container Registry:
docker push gcr.io/<your-project-id>/credit-risk-mcp-server -
Deploy to Google Cloud Run:
gcloud run deploy credit-risk-mcp-server \ --image gcr.io/<your-project-id>/credit-risk-mcp-server \ --platform managed \ --region <your-region> \ --allow-unauthenticatedOr simply use the provided deployment script:
./deploy.sh(Make sure to update the PROJECT_ID in the script first)
Usage
Once deployed, you can access the FastMCP server via the URL provided by Google Cloud Run. You can use the endpoints to access PayPal Credit services through the Machine Conversation Protocol interface.
Available Tools
Credit Risk API
evaluate_credit_approvability- Evaluate credit approvability for a customer
Testing
Run the tests using pytest:
pytest src/tests/
Contributing
Contributions are welcome! Please open an issue or submit a pull request for any enhancements or bug fixes.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.