Overview
PayPal Java MCP Server is a Java implementation of a PayPal Merchant Capability Platform (MCP) server that provides tools for analyzing and improving payment processing.
To use the server, you can run it in web mode or JSON-RPC over stdio mode. In web mode, access the REST API at http://localhost:8080/api/mcp. In stdio mode, interact with the server via standard input/output.
- JSON-RPC over HTTP API for web clients - JSON-RPC over stdio interface for integration - Tools for analyzing authorization rates - Basic calculator functionality for testing
- Analyzing transaction data to improve authorization rates.
- Performing basic math operations for payment calculations.
- Integrating with other systems using JSON-RPC.
Add to your AI client
Use these steps to connect PayPal Java MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"paypal-java-mcp-server-kumartheashwani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"paypal-java-mcp-server-kumartheashwani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"paypal-java-mcp-server-kumartheashwani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"paypal-java-mcp-server-kumartheashwani": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"paypal-java-mcp-server-kumartheashwani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"paypal-java-mcp-server-kumartheashwani": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-paypal-java-mcp-server-kumartheashwani"
]
}
}
}FAQ
What is the default mode to run the server?
The default mode is web mode, which exposes a REST API.
Can I run the server in a non-interactive environment?
Yes, you can use the provided `start-non-interactive.sh` script for non-interactive environments.
What are the prerequisites for running the server?
You need Java 17 or higher and Maven 3.6 or higher.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":2278,"uuid":"26898d5b-5dd7-4339-870a-5bc2674f3203","name":"paypal-java-mcp-server","title":"PayPal Java MCP Server","description":"PayPal-Java-MCP Server","avatar_url":"https://avatars.githubusercontent.com/u/1131688?v=4","created_at":"2025-03-09T07:20:40.624Z","updated_at":"2025-03-12T10:21:16.059Z","status":"created","author_name":"kumartheashwani","author_avatar_url":"https://avatars.githubusercontent.com/u/1131688?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/kumartheashwani/paypal-java-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"Java\",\"is_official\":false,\"latest_commit_time\":\"2025-03-06 08:20:32\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]