We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/bnb-chain/bnbchain-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"
import { z } from "zod"
import { networkSchema } from "../common/types.js"
export function registerWaletPrompts(server: McpServer) {
// Address analysis prompt
server.prompt(
"analyze_address",
"Analyze an EVM address",
{
address: z.string().describe("Ethereum address to analyze"),
network: networkSchema
},
({ address, network = "bsc" }) => ({
messages: [
{
role: "user",
content: {
type: "text",
text: `Please analyze the address ${address} on the ${network} network. Provide information about its balance, transaction count, and any other relevant information you can find.`
}
}
]
})
)
}