
JPYC Agent MCP
com.jpyc-infoPublished by jpyc-info.comOfficial publisherv0.2.0Updated Oct 25, 2026
OAuth-protected JPYC wallet, transfer, and contract workflows on Polygon.
Overview
OAuth-protected remote MCP server for JPYC agent wallets on Polygon: create and inspect wallets, quote and send JPYC transfers, and read or write contracts.
- What you can do
- Check authentication status and list, look up or create agent wallets on Polygon, and read wallet balances and transaction history with transfer status tracking. Quote and execute JPYC transfers, checking balances first. Read contracts and quote or execute contract write calls, then track contract call history and status.
- When to use it
- Useful when an assistant needs to operate a JPYC wallet on Polygon: checking balances, sending JPYC, or reading and writing smart contracts through a hosted, OAuth-gated endpoint rather than local keys.
- Requirements
- A remote MCP endpoint at jpyc-info.com over streamable HTTP, with OAuth login and consent through the provider's sign-in page. Clients that cannot handle streamable HTTP plus OAuth, such as Claude Code, need a bridge such as mcp-remote, which opens a browser for consent. The client must persist and reuse the issued credential.
Installation
In SourceWeft
- Open JPYC Agent MCP in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/com.jpyc-info%2Fjpyc-agent-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"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:
.codex-plugin/plugin.json.mcp.jsonskills/jpyc-agent-mcp/SKILL.mdskills/jpyc-agent-mcp/agents/openai.yamlconfig/default.json
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:
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:
- Start the OAuth flow against the JPYC Agent OAuth issuer
- Receive the issued bearer token or equivalent session credential
- Persist that credential in the client's local secure storage
- Reuse it on subsequent MCP calls to
https://jpyc-info.com/api/jpyc-agent-mcp - 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:
docs/local-token-cache.mdscripts/jpyc_oauth_cache.py(Python, Windows)scripts/jpyc_oauth_cache.ps1(PowerShell, Windows)
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_statuslist_agent_walletsget_agent_walletcreate_agent_walletget_agent_wallet_balancequote_transfertransfer_jpyclist_transactionsget_transfer_statusread_contractquote_contract_writeexecute_contract_writelist_contract_call_historyget_contract_call_status
Detailed request and response examples are in docs/tools.md.
Recommended Flow
- Check
auth_status - Inspect wallets with
list_agent_wallets - Create a wallet only if needed with
create_agent_wallet - Check balances before transfers
- Use quote-first execution for transfers and contract writes
Transfer flow:
quote_transfertransfer_jpyc
Contract write flow:
quote_contract_writeexecute_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, anddocs/openai-and-mcp.md.
Source: README.md at commit 3aa372a
Tools
0Version history
1- v0.2.0LatestSep 16, 2026
Score
75% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts
Declare a license in the repository or the registry entry.