Skip to main content
Glama

Hedera MCP Server

by HGraphPunks
agentService.test.ts748 B
// test/unit/agentService.test.ts import { profileToMemo } from "../../src/services/profileUtil"; describe('Agent Service - profileToMemo', () => { it('should return a valid JSON string for a given profile object', () => { const profile = { name: "TestAgent", inboundTopicId: "0.0.12345", outboundTopicId: "0.0.12346", type: 1, capabilities: [0, 1], model: "gpt-4", creator: "Tester" }; const memo = profileToMemo(profile); expect(() => JSON.parse(memo)).not.toThrow(); const parsed = JSON.parse(memo); expect(parsed.name).toBe("TestAgent"); expect(parsed.inboundTopicId).toBe("0.0.12345"); }); });

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/HGraphPunks/hedera-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server