@junct/ens
v0.1.0
Published
ens tools for AI agents — 23 tools, MCP + OpenAI compatible. Generated by Junct.
Maintainers
Readme
@junct/ens
ens tools for AI agents — 23 tools
Generated by Junct. vault domain.
Install
npm install @junct/ensUsage — OpenAI
import { tools } from '@junct/ens';
import OpenAI from 'openai';
const client = new OpenAI();
const response = await client.chat.completions.create({
model: 'gpt-4o',
messages: [{ role: 'user', content: 'Query ens' }],
tools,
});Usage — MCP (Claude Desktop / Cursor)
Add to your MCP config:
{
"mcpServers": {
"ens": {
"url": "https://ens.mcp.junct.dev/mcp",
"transport": "streamable-http"
}
}
}Usage — Direct Call
import { callTool } from '@junct/ens';
const result = await callTool('MIN_REGISTRATION_DURATION', {});
console.log(result);Tools (23)
MIN_REGISTRATION_DURATION— Calls MIN_REGISTRATION_DURATION(). Read-only — does not modify contract state. Uavailable— Calls available(name: string). Read-only — does not modify contract state. Unrescommit— Calls commit(commitment: string). Write function — may have access control restrcommitments— Calls commitments(param0: string). Read-only — does not modify contract state. UmakeCommitment— Calls makeCommitment(name: string, owner: string, duration: string, secret: strimaxCommitmentAge— Calls maxCommitmentAge(). Read-only — does not modify contract state. UnrestrictminCommitmentAge— Calls minCommitmentAge(). Read-only — does not modify contract state. UnrestrictnameWrapper— Calls nameWrapper(). Read-only — does not modify contract state. Unrestricted —owner— Calls owner(). Read-only — does not modify contract state. Unrestricted — any adprices— Calls prices(). Read-only — does not modify contract state. Unrestricted — any arecoverFunds— Calls recoverFunds(_token: string, _to: string, _amount: string). Write functionregister— Calls register(name: string, owner: string, duration: string, secret: string, rerenew— Calls renew(name: string, duration: string). Requires ETH value to be sent withrenounceOwnership— Calls renounceOwnership(). Restricted: requires onlyOwner — only the owner addrerentPrice— Calls rentPrice(name: string, duration: string). Read-only — does not modify con- ... and 8 more
Links
- Server: https://ens.mcp.junct.dev/mcp
- Dashboard: https://junct.dev/servers/ens
- All servers: https://junct.dev/servers
