Skip to main content
Glama
init_server.ts464 B
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; // import { regElleAgent } from '../agents/elle.js'; import { regWeaviateTool } from '../tools/weaviate.js'; export function initializeServer(): McpServer { const server = new McpServer({ name: 'TianGong-MCP-Server-Local', version: '1.0.0', }); regWeaviateTool(server); // regElleAgent(server); return server; } export function getServer() { return initializeServer(); }

Latest Blog Posts

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/linancn/tiangong-ai-mcp-local'

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