スキル一覧に戻る
canyouseeus

fix-paypal-mcp

by canyouseeus

THE LOST+UNFOUNDS - Modern web application

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: fix-paypal-mcp description: Diagnose and fix PayPal MCP server initialization issues by installing a custom runner script.

Fix PayPal MCP Server

This skill fixes common initialization errors with the PayPal MCP server, such as npx failures, "tools argument missing", or ESM/CommonJS conflicts.

When to Use

Use this skill when:

  • The PayPal MCP server fails to start with "EOF" or "initialization failed".
  • You see errors about missing --tools arguments.
  • You encounter require is not defined errors.
  • The default npx @paypal/agent-toolkit command does not work.

How it Works

The default @paypal/agent-toolkit package does not have a bin entry/executable. This skill provides a custom runner script (run-paypal-mcp.cjs) that manually initializes the toolkit and connects it to the MCP SDK.

Setup Instructions

1. Copy the Runner Script

Copy the resource file resources/run-paypal-mcp.cjs to your project root (e.g., scripts/run-paypal-mcp.cjs or just ./run-paypal-mcp.cjs).

2. Configure Environment

Ensure your .env.local or MCP environment config has:

  • PAYPAL_ACCESS_TOKEN: A valid access token.
  • PAYPAL_ENVIRONMENT: PRODUCTION or SANDBOX.

3. Update MCP Configuration

Edit your mcp_config.json (or .cursor/mcp.json) to use the new script with node instead of npx.

"paypal-mcp-server": {
  "command": "node",
  "args": [
    "/absolute/path/to/your/run-paypal-mcp.cjs"
  ],
  "env": {
    "PAYPAL_ACCESS_TOKEN": "...",
    "PAYPAL_ENVIRONMENT": "PRODUCTION"
  }
}

4. Restart

Restart Antigravity or the MCP server functionality.

Dependencies

The script requires:

  • @paypal/agent-toolkit
  • @modelcontextprotocol/sdk

If you see zod errors, check for v3 export issues in the zod package and patch if necessary (add "./v3": "./lib/index.js" to node_modules/zod/package.json).

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です