Skip to main content
Glama

MCP-Prototype

by llxxbb
eslint.config.mcp.js1.11 kB
import prettier from 'eslint-config-prettier'; import { includeIgnoreFile } from '@eslint/compat'; import js from '@eslint/js'; import globals from 'globals'; import { fileURLToPath } from 'node:url'; import ts from 'typescript-eslint'; const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url)); export default ts.config( includeIgnoreFile(gitignorePath), js.configs.recommended, ...ts.configs.recommended, prettier, { languageOptions: { globals: { ...globals.browser, ...globals.node } }, rules: { // typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects. // see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors 'no-undef': 'off' } }, { files: ['src/mcp/**/*'], languageOptions: { parserOptions: { project: './tsconfig.mcp.json', parser: ts.parser } }, rules: { 'prefer-const': 'error', 'max-lines': ['warn', 200], 'max-depth': ['warn', 4] } } );

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/llxxbb/mcp-prototype'

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