Skip to main content
Glama
eslint.config.mjs1.2 kB
import pluginHeader from "eslint-plugin-header"; import tseslint from "typescript-eslint"; import eslintConfigPrettier from "eslint-config-prettier"; import validateToolNamesRule from "./eslint-rules/tool-name-lint-rule.js"; pluginHeader.rules.header.meta.schema = false; // workaround for https://github.com/Stuk/eslint-plugin-header/issues/57 export default tseslint.config( // Global ignores { ignores: ["dist/**", "coverage/**", "src/version.ts"], }, // Basic rule set tseslint.configs.recommended, tseslint.configs.strict, tseslint.configs.stylistic, // Copyright { files: ["src/**/*.ts"], ignores: ["src/index.ts"], plugins: { header: pluginHeader, }, rules: { "header/header": ["error", "line", [" Copyright (c) Microsoft Corporation.", " Licensed under the MIT License."], 2], }, }, // Tool name validation for MCP tools { files: ["src/tools/*.ts"], plugins: { custom: { rules: { "validate-tool-names": validateToolNamesRule, }, }, }, rules: { "custom/validate-tool-names": "error", }, }, // Prettier integration (must be last) eslintConfigPrettier );

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/magemaclean/azure-devops-mcp'

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