JPYC Agent MCP

com.jpyc-info由 jpyc-info.com 發布官方發布者v0.2.0更新於 Oct 25, 2026

OAuth-protected JPYC wallet, transfer, and contract workflows on Polygon.

已驗證Streamable HTTP可網頁執行金融開發者工具

概覽

AI 產生的概覽

受 OAuth 保護的遠端 MCP 伺服器,用於 Polygon 上的 JPYC 代理錢包:建立與查看錢包、報價並執行 JPYC 轉帳,以及讀寫合約。

可以做什麼
檢查驗證狀態,列出、查詢或建立 Polygon 上的代理錢包,並查看錢包餘額、交易紀錄與轉帳狀態。報價並執行 JPYC 轉帳,轉帳前先確認餘額。讀取合約,報價並執行合約寫入呼叫,並追蹤合約呼叫歷史與狀態。
適用情境
當助理需要在 Polygon 上操作 JPYC 錢包時適用:查詢餘額、發送 JPYC,或透過託管且需 OAuth 授權的端點讀寫智慧合約,而不需本機私鑰。
執行需求
透過 streamable HTTP 連線到 jpyc-info.com 的遠端 MCP 端點,並透過服務商的登入頁面完成 OAuth 登入與授權。無法直接支援 streamable HTTP 加 OAuth 的用戶端(如 Claude Code)需要 mcp-remote 之類的橋接工具,首次連線會開啟瀏覽器授權。用戶端需保存並重複使用簽發的憑證。
安裝前請注意
此伺服器控制可轉移資金的真實錢包:transfer_jpyc 和 execute_contract_write 會在 Polygon 上送出交易,應先報價並核對金額與收款方。存取透過 OAuth 授權取得,簽發的 bearer token 或工作階段憑證需由用戶端安全保存;低階流程回傳的 auth_session_secret 必須保密。錢包操作屬於私有資料,與登入帳號綁定。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 JPYC Agent MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.jpyc-info%2Fjpyc-agent-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "jpyc-agent": {
      "type": "http",
      "url": "https://jpyc-info.com/api/jpyc-agent-mcp"
    }
  }
}

README

JPYC Agent MCP

JPYC Agent MCP can be used both as a public MCP endpoint and as a Codex plugin bundle. This repository now uses the repository root as the plugin root so Codex can discover it directly.

What It Supports

  • Polygon agent wallet creation and lookup
  • Wallet balance inspection
  • JPYC transfer quote and execution flows
  • Contract read calls
  • Contract write quote and execution flows
  • Transfer and contract call status tracking

Plugin Layout

Codex should discover the plugin from the repository root via the files below:

Public Endpoint

  • MCP endpoint: https://jpyc-info.com/api/jpyc-agent-mcp
  • OAuth issuer: https://jpyc-info.com/api/jpyc-agent-oauth
  • Resource metadata: https://jpyc-info.com/.well-known/oauth-protected-resource
  • Authorization server metadata: https://jpyc-info.com/.well-known/oauth-authorization-server
  • OpenID configuration: https://jpyc-info.com/.well-known/openid-configuration
  • Human sign-in page: https://jpyc-info.com/mcp/connect
  • MCP Registry auth file: https://jpyc-info.com/.well-known/mcp-registry-auth

The endpoint is OAuth-protected. Users must log in and grant consent before private wallet operations can run. If you open the MCP endpoint directly in a browser, it redirects to https://jpyc-info.com/mcp/connect. If an MCP client receives 401 unauthorized, it should follow WWW-Authenticate and the resource metadata above to discover the OAuth flow. If ChatGPT/Codex does not surface a full authorization URL automatically, open https://jpyc-info.com/mcp/connect in the browser as the canonical human fallback. Low-level manual auth with /api/jpyc-agent-oauth/start remains available for debugging, but it is not the primary documented path. Clients using the low-level flow must keep the returned auth_session_secret private and present it when polling /api/jpyc-agent-oauth/auth-session.

For the complete OAuth contract and exact URLs, see docs/auth.md and config/oauth.json.

Claude Code

Claude Code does not natively support streamable-http MCP servers. Use mcp-remote to bridge streamable-http + OAuth to stdio.

Quick Start

Add the following to your project .mcp.json or ~/.claude/settings.json:

json
{  "mcpServers": {    "jpyc-agent-mcp": {      "command": "npx",      "args": [        "mcp-remote",        "https://jpyc-info.com/api/jpyc-agent-mcp"      ]    }  }}

On first connection, mcp-remote opens a browser for OAuth consent. After authentication, all tools are available immediately.

Client Token Persistence

This repository defines the OAuth-protected MCP endpoint and the plugin metadata needed for Codex discovery. It does not implement client-side credential storage on behalf of Codex, ChatGPT, or any other MCP client.

Expected client behavior:

  1. Start the OAuth flow against the JPYC Agent OAuth issuer
  2. Receive the issued bearer token or equivalent session credential
  3. Persist that credential in the client's local secure storage
  4. Reuse it on subsequent MCP calls to https://jpyc-info.com/api/jpyc-agent-mcp
  5. Verify the recovered session with auth_status

If a client can complete browser login but cannot persist and reuse the issued credential locally, the MCP integration is incomplete from the user's point of view. In that case, the fix belongs in the MCP client implementation rather than this repository's server-side OAuth protocol.

For local operator workflows, this repository includes helpers that persist the issued refresh token with DPAPI and reuse it across future sessions:

MCP Registry

This repository includes server.json for publishing the remote server to the public MCP Registry using the domain-based namespace com.jpyc-info/jpyc-agent-mcp.

For HTTP-based domain verification, host the exact text value v=MCPv1; k=...; p=... at https://jpyc-info.com/.well-known/mcp-registry-auth. In the jpyc-info deployment, that endpoint is served from the MCP_REGISTRY_AUTH environment variable.

Main Tools

  • auth_status
  • list_agent_wallets
  • get_agent_wallet
  • create_agent_wallet
  • get_agent_wallet_balance
  • quote_transfer
  • transfer_jpyc
  • list_transactions
  • get_transfer_status
  • read_contract
  • quote_contract_write
  • execute_contract_write
  • list_contract_call_history
  • get_contract_call_status

Detailed request and response examples are in docs/tools.md.

Recommended Flow

  1. Check auth_status
  2. Inspect wallets with list_agent_wallets
  3. Create a wallet only if needed with create_agent_wallet
  4. Check balances before transfers
  5. Use quote-first execution for transfers and contract writes

Transfer flow:

  1. quote_transfer
  2. transfer_jpyc

Contract write flow:

  1. quote_contract_write
  2. execute_contract_write

Notes

  • This repo does not include secrets.
  • This repo does not include private keys or signer material.
  • The bundled skill is intended to keep Codex inside the JPYC Agent MCP tool surface.
  • For more details, see docs/auth.md, config/oauth.json, and docs/openai-and-mcp.md.

來源:README.md,提交 3aa372a

工具

0
SourceWeft 尚未讀取此伺服器的工具。

版本歷史

1
  1. v0.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。