GetMcp.js 320 B

12345678910111213141516
  1. const API = require('../../../lib/API')
  2. class GetMcp extends API {
  3. constructor() {
  4. super()
  5. this.noEncrypt()
  6. this.setPath('/aiAssistantMcp')
  7. this.setMethod('GET')
  8. }
  9. async onRequest(req, res) {
  10. return res.json({ status: 'ok' })
  11. }
  12. }
  13. module.exports.GetMcp = GetMcp