Skip to main content
Glama

Informix MCP Server

main.ts788 B
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js"; import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js"; import { z } from "zod"; // 1. Create the server const server = new McpServer({ name: "informix-mcp", version: "1.0.0", description: "Informix MCP server", }); // 2. Define the tools server.tool( "get-tables", // title "Get all tables in the database", // description { database: z.string().describe("The database to get the tables from"), }, async ({ database }) => { return { content: [ { type: "text", text: "Tables in the database", }, ], }; } ); // 3. Listen for requests const transport = new StdioServerTransport(); await server.connect(transport);

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/litoralcreativo/informix-mcp'

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