We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hichana/goalstory-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { Client } from "@modelcontextprotocol/sdk/client/index.js";
import { StdioClientTransport } from "@modelcontextprotocol/sdk/client/stdio.js";
import { afterAll, beforeAll } from "vitest";
beforeAll(async () => {
await client.connect(transport);
});
afterAll(async () => {
await client.close();
});
const GOALSTORY_API = "http://127.0.0.1:4000";
const API_KEY = "admin";
const transport = new StdioClientTransport({
command: "npx",
args: ["-y", "goalstory-mcp", GOALSTORY_API, API_KEY],
});
export const client = new Client({
name: "goalstory-client",
version: "1.0.0",
});