Skip to main content
Glama

Azion MCP Server Template

azion.config.ts2.08 kB
/** * This file was automatically generated based on your preset configuration. * * For better type checking and IntelliSense: * 1. Install azion as dev dependency: * npm install -D azion * * 2. Use defineConfig: * import { defineConfig } from 'azion' * * 3. Replace the configuration with defineConfig: * export default defineConfig({ * // Your configuration here * }) * * For more configuration options, visit: * https://github.com/aziontech/lib/tree/main/packages/config */ export default { build: { preset: 'typescript', entry: './src/index.ts', polyfills: true }, functions: [ { name: 'test-mcp', path: './functions/index.js' } ], applications: [ { name: 'test-mcp', rules: { request: [ { name: 'Execute Function', description: 'Execute function for all requests', active: true, criteria: [ [ { variable: '${uri}', conditional: 'if', operator: 'matches', argument: '^/' } ] ], behaviors: [ { type: 'run_function', attributes: { value: 'test-mcp' } } ] } ] }, functionsInstances: [ { name: 'test-mcp', ref: 'test-mcp' } ] } ], workloads: [ { name: 'test-mcp', active: true, infrastructure: 1, protocols: { http: { versions: ['http1', 'http2'], httpPorts: [80], httpsPorts: [443], quicPorts: null } }, deployments: [ { name: 'test-mcp', current: true, active: true, strategy: { type: 'default', attributes: { application: 'test-mcp' } } } ] } ] }

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/azionlearn-cloud/MCPHTTPEventsandNetworkLists'

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