Node.js / TypeScript SDK for PMWallets: Polymarket smart-money leaderboard and real-time wallet fills over WebSocket
Setup
Choose your client, copy the config, then fill in any required environment variables.
Local
claude mcp add pmwallets --env PMW_API_KEY='<PMW_API_KEY>' -- npx -y pmwallets~/.codex/config.toml
[mcp_servers.pmwallets]
command = "npx"
args = ["-y", "pmwallets"]
env = { PMW_API_KEY = "<PMW_API_KEY>" }
# codex mcp add pmwallets --env PMW_API_KEY='<PMW_API_KEY>' -- npx -y pmwallets~/.cursor/mcp.json
{
"mcpServers": {
"pmwallets": {
"command": "npx",
"args": [
"-y",
"pmwallets"
],
"env": {
"PMW_API_KEY": "<PMW_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"pmwallets": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"pmwallets"
],
"env": {
"PMW_API_KEY": "<PMW_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pmwallets": {
"command": "npx",
"args": [
"-y",
"pmwallets"
],
"env": {
"PMW_API_KEY": "<PMW_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"pmwallets": {
"command": "npx",
"args": [
"-y",
"pmwallets"
],
"env": {
"PMW_API_KEY": "<PMW_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"pmwallets": {
"command": "npx",
"args": [
"-y",
"pmwallets"
],
"env": {
"PMW_API_KEY": "<PMW_API_KEY>"
}
}
}
}Remote
claude mcp add --transport http pmwallets https://api.pmwallets.com/mcp~/.codex/config.toml
[mcp_servers.pmwallets]
url = "https://api.pmwallets.com/mcp"
# codex mcp add pmwallets --url https://api.pmwallets.com/mcp~/.cursor/mcp.json
{
"mcpServers": {
"pmwallets": {
"url": "https://api.pmwallets.com/mcp"
}
}
}.vscode/mcp.json
{
"servers": {
"pmwallets": {
"type": "http",
"url": "https://api.pmwallets.com/mcp"
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"pmwallets": {
"httpUrl": "https://api.pmwallets.com/mcp"
}
}
}claude_desktop_config.json · Customize › Connectors › Add custom connector
{
"mcpServers": {
"pmwallets": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://api.pmwallets.com/mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"pmwallets": {
"url": "https://api.pmwallets.com/mcp"
}
}
}Environment variables
PMW_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.