We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/j0hanz/fs-context-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import assert from 'node:assert/strict';
import { describe, it } from 'node:test';
import { searchFiles } from '../../../lib/file-operations/search-files.js';
import { withFileOpsFixture } from '../fixtures/file-ops-hooks.js';
void describe('searchFiles edge cases', () => {
withFileOpsFixture((getTestDir) => {
void it('searchFiles handles complex glob patterns', async () => {
const result = await searchFiles(getTestDir(), '**/*.{ts,md}');
assert.ok(result.results.length > 0);
});
void it('searchFiles handles negation in exclude patterns', async () => {
const result = await searchFiles(getTestDir(), '**/*', ['**/docs/**']);
assert.strictEqual(
result.results.every((r) => !r.path.includes('docs')),
true
);
});
});
});