✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

What is the PayPal Java MCP Server?

The PayPal Java MCP (Merchant Capability Platform) Server is a Java implementation of a server that provides tools for analyzing and improving payment processing.

What are the key features of the MCP Server?

The key features include:

  • JSON-RPC over HTTP API for web clients
  • JSON-RPC over stdio interface for Smithery integration
  • Tools for analyzing authorization rates
  • Basic calculator functionality for testing

How do I run the server in web mode?

To run the server in web mode, execute the following command:

bash java -jar target/paypal-java-mcp-server-0.0.1-SNAPSHOT.jar

How do I run the server in stdio mode?

To run the server in stdio mode, execute the following command:

bash java -Dspring.profiles.active=stdio -Dspring.main.web-application-type=NONE -Djsonrpc.stdio.interactive=true -jar target/paypal-java-mcp-server-0.0.1-SNAPSHOT-stdio.jar

What is Smithery and how does the MCP Server integrate with it?

Smithery is a platform (likely for service management/orchestration). The MCP Server integrates with Smithery using JSON-RPC over stdio, allowing for streamlined deployment and management within the Smithery environment.

What are the prerequisites for running the MCP Server?

The prerequisites are:

  • Java 17 or higher
  • Maven 3.6 or higher

How do I build the application?

To build the application, execute the following command:

bash mvn clean package

How can I use the REST API to check the server’s health?

You can use the following curl command:

bash curl http://localhost:8080/api/v1/health

How can I improve my authorization rate using the REST API?

You can use the following curl command:

bash curl -X POST http://localhost:8080/api/v1/tools/improveAuthorizationRate/execute
-H “Content-Type: application/json”
-d ‘{ “merchantId”: “MERCH123”, “timeframe”: “last_30_days”, “transactionType”: “card” }’

How can I perform a calculation using the REST API?

You can use the following curl command:

bash curl -X POST http://localhost:8080/api/v1/tools/calculate/execute
-H “Content-Type: application/json”
-d ‘{ “operation”: “multiply”, “a”: 6, “b”: 7 }’

What is the purpose of the start-non-interactive.sh script?

The start-non-interactive.sh script is used to run the server in environments where stdin/stdout connectivity is not available. It creates named pipes for communication.

How do I run the server with Docker?

For the JSON-RPC server, you MUST run it in interactive mode:

bash docker run -i paypal-mcp-jsonrpc

Or use the provided script:

bash ./run-docker.sh

What should I do if the server’s tool list is not accessible?

Ensure you are using the JSON-RPC over stdio interface, run the server with the -i flag if using Docker, add the -Djsonrpc.stdio.interactive=true flag to the startup command, or use the start-non-interactive.sh script if running in a non-interactive environment.

What is MCP and how it is related to LLMs?

MCP (Model Context Protocol) server acts as a bridge, allowing AI models to access and interact with external data sources and tools.

How UBOS helps for AI Agent Development?

UBOS focused on bringing AI Agent to every business department. Our platform help you orchestrate AI Agents, connect them with your enterprise data, build custom AI Agents with your LLM model and Multi-Agent Systems.

Featured Templates

View More
AI Assistants
Talk with Claude 3
159 1523
Verified Icon
AI Assistants
Speech to Text
137 1882
Customer service
Service ERP
126 1188
AI Characters
Sarcastic AI Chat Bot
129 1713

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.