Skip to main content
Glama

NestJS MCP Server Module

by rekog-labs
MIT License
32,416
470
  • Apple
  • Linux
simple.tool.ts383 B
import { Injectable } from '@nestjs/common'; import { Tool } from '../../src'; @Injectable() export class SimpleTool { @Tool({ name: 'simple-tool', description: 'A simple tool that gets the user by name', }) async sayHello() { return { content: [ { type: 'text', text: `Hello, from simple tool!`, }, ], }; } }

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/rekog-labs/MCP-Nest'

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