We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mikeysrecipes/nostr-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { NostrClient } from "../nostr-client.js";
describe("NostrClient", () => {
const _config = {
nsecKey: process.env.NOSTR_NSEC_KEY || "",
relays: (process.env.NOSTR_RELAYS || "").split(","),
};
let _client: NostrClient;
beforeEach(() => {
//_client = new NostrClient(config);
});
afterEach(async () => {});
describe("connect", () => {
it("should connect to relays successfully", async () => {
// TODO: Implement test
expect(true).toBe(true);
});
});
describe("postNote", () => {
it("should throw NOT_CONNECTED error when not connected", async () => {
// TODO: Implement test
expect(true).toBe(true);
});
});
});