@junct/paraswap
v0.1.0
Published
paraswap tools for AI agents — 4 tools, MCP + OpenAI compatible. Generated by Junct.
Maintainers
Readme
@junct/paraswap
paraswap tools for AI agents — 4 tools
Generated by Junct. dex domain.
Install
npm install @junct/paraswapUsage — OpenAI
import { tools } from '@junct/paraswap';
import OpenAI from 'openai';
const client = new OpenAI();
const response = await client.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Query paraswap' }],
tools,
});Usage — MCP (Claude Desktop / Cursor)
Add to your MCP config:
{
"mcpServers": {
"paraswap": {
"url": "https://paraswap.mcp.junct.dev/mcp",
"transport": "streamable-http"
}
}
}Usage — Direct Call
import { callTool } from '@junct/paraswap';
const result = await callTool('get_tokens', {});
console.log(result);Tools (4)
get_tokens— alias for /tokens/1 — alias for /tokens/1get_tokens_network— GET /tokens/{network}get_prices— Request prices. — from ParaSwappost_transactions_network— Build Transaction to be sent to the blockchain.
Links
- Server: https://paraswap.mcp.junct.dev/mcp
- Dashboard: https://junct.dev/servers/paraswap
- All servers: https://junct.dev/servers
