pnz-mcp-server
PaymentsNZ MCP Serverは、Node.jsを使用して構築されたサーバーで、MCP(Model Context Protocol)を介して支払い処理を自動化します。ユーザーは、必要な環境設定を行い、APIトークンを取得することで、サーバーを簡単にセットアップできます。SDKとサーバーのビルド手順も明確に記載されています。
GitHubスター
0
ユーザー評価
未評価
フォーク
1
イシュー
0
閲覧数
5
お気に入り
0
README
PaymentsNZ MCP Server
How to Build
- Install Node.js version 22 or greater. Check version with
node --version
. - Run
cd sdk && npm install && cd ../mcp-server && npm install
to build the SDK and the server.
How to Run
If you are not familiar with how to setup MCP Servers with Claude Desktop, see this tutorial first.
Now add something like this to your Claude Desktop config:
{
"mcpServers": {
"PaymentsNZ": {
"command": "node",
"args": ["[YOUR-PATH-HERE]/paymentsnz-mcp-server/mcp-server/dist/index.js"],
"env": {
"ACCOUNT_AND_TRANSACTION_API_SPECIFICATION_LIB_ACCESS_TOKEN": "[YOUR-ACCESS-TOKEN-HERE]"
}
}
}
}
A claude_desktop_config.json
file is also provided as reference.
Make sure to set the path to the location where your MCP Server is stored as well as the access token you got after authenticating.
How to Get Access Token
- Go to https://pnz-app.azurewebsites.net/
- Go to any endpoint such as https://pnz-app.azurewebsites.net/#/typescript/api-endpoints/statements/get-account-statement
- Click on
GET AUTH TOKEN
on the top-right of the page and wait for a window to pop-up for consent. - Enter
username
andpassword
and approve everything - The access token should now be visible in the Authentication UI(See screenshot below). You can now copy it into your environment variables in your
claude_desktop_config.json
file.
NOTE: The access token does not last more than an hour. Please make sure that it is used in a timely manner.
作者情報
16
フォロワー
90
リポジトリ
0
Gist
1
貢献数
トップ貢献者
スレッド