We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DollhouseMCP/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
validate-setup.tsā¢1.43 kB
#!/usr/bin/env tsx
/**
* Validate Test Environment Setup
* Run this to check if your GitHub integration tests are properly configured
*
* SECURITY NOTE: This is a validation utility for test environments.
* Audit logging (DMCP-SEC-006) is not required as this only validates
* test configuration and doesn't perform security-sensitive operations.
*/
import { setupTestEnvironment } from './setup-test-env.js';
async function validate() {
console.log('\nš Validating GitHub Integration Test Setup\n');
try {
const env = await setupTestEnvironment();
console.log('\nā All checks passed! Your environment is ready for testing.\n');
console.log('š Configuration Summary:');
console.log(` Token: ${env.githubToken.substring(0, 10)}...`);
console.log(` Repository: ${env.testRepo}`);
console.log(` User: ${env.githubUser}`);
console.log(` Cleanup: ${env.cleanupAfter ? 'Yes' : 'No'}`);
console.log(` Persona Prefix: ${env.personaPrefix}`);
console.log('\nš Ready to run tests! Use:');
console.log(' npm run test:e2e:real');
console.log('');
process.exit(0);
} catch (error) {
console.error('\nā Setup validation failed:\n');
console.error(error);
console.error('\nš Please check the README for setup instructions.');
console.error(' Path: test/e2e/README.md\n');
process.exit(1);
}
}
validate();