Skip to main content
Glama

Targetprocess MCP Server

test-config.ts913 B
// Test configuration using environment variables only export const testConfig = { domain: process.env.TP_DOMAIN!, username: process.env.TP_USERNAME!, password: process.env.TP_PASSWORD!, apiUrl: `https://${process.env.TP_DOMAIN!}`, apiV1Url: `https://${process.env.TP_DOMAIN!}/api/v1`, userId: process.env.TP_USER_ID!, userEmail: process.env.TP_USER_EMAIL! }; // Validate required environment variables if (!testConfig.domain || !testConfig.username || !testConfig.password) { throw new Error('Missing required environment variables: TP_DOMAIN, TP_USERNAME, TP_PASSWORD'); } if (!testConfig.userId || !testConfig.userEmail) { throw new Error('Missing required environment variables: TP_USER_ID, TP_USER_EMAIL'); } // Helper to get expected URL for tests export const getExpectedUrl = (path: string): string => { return `${testConfig.apiV1Url}${path.startsWith('/') ? path : '/' + path}`; };

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/aaronsb/apptio-target-process-mcp'

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