glide-api-mcp-server

MCP.Pizza Chef: knmurphy

The glide-api-mcp-server is a Model Context Protocol server designed to facilitate interaction with the Glide API versions 1 and 2. It offers a secure and type-safe TypeScript implementation, ensuring reliable and maintainable integration. The server supports secure API key management through environment variables, enabling safe authentication without exposing sensitive credentials. It provides comprehensive error handling to maintain stability during API interactions. Key tools include setting API version and authentication, retrieving app information, listing tables, and managing table rows (adding and updating). This MCP server is ideal for developers looking to integrate Glide apps into AI workflows or automation pipelines with confidence and ease.

Use This MCP server To

Integrate Glide app data into AI-driven workflows Automate data retrieval from Glide apps Manage Glide app tables and rows programmatically Securely handle Glide API authentication in MCP Switch between Glide API v1 and v2 seamlessly Build AI copilots that interact with Glide apps Fetch app metadata for dynamic AI context Update Glide app data from AI agents

README

Glide API MCP Server

A Model Context Protocol server for interacting with the Glide API (v1 & v2).

Features

  • Support for both Glide API v1 and v2
  • Secure API key handling through environment variables
  • Type-safe TypeScript implementation
  • Comprehensive error handling

Available Tools

  • set_api_version: Configure API version and authentication
  • get_app: Get app information
  • get_tables: List app tables
  • get_table_rows: Get table data
  • add_table_row: Add new row
  • update_table_row: Update existing row

Secure Setup

1. Environment Variables

The server supports secure configuration through environment variables in the MCP settings file. Add your API credentials to the MCP settings file:

{
  "mcpServers": {
    "glide-api": {
      "command": "node",
      "args": ["path/to/build/index.js"],
      "env": {
        "GLIDE_API_KEY": "your-api-key-here",
        "GLIDE_API_VERSION": "v2"  // or "v1" for v1 API
      }
    }
  }
}

This approach keeps your API key secure by:

  • Storing it in a configuration file rather than in code
  • Keeping it out of version control
  • Making it easy to update without modifying code

2. Runtime Configuration

While environment variables are the recommended way to configure the server, you can also set or override the API version and key at runtime using the set_api_version tool:

use_mcp_tool({
  server_name: "glide-api",
  tool_name: "set_api_version",
  arguments: {
    version: "v2",
    apiKey: "your-api-key"
  }
});

Note: The runtime configuration will override any environment variables for the current session.

3. Security Best Practices

  1. Never commit API keys to version control
  2. Use environment variables in the MCP settings file
  3. Regularly rotate your API keys
  4. Set appropriate file permissions on the settings file

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Usage Examples

  1. Get app information:
use_mcp_tool({
  server_name: "glide-api",
  tool_name: "get_app",
  arguments: {
    appId: "your-app-id"
  }
});
  1. Add a row to a table:
use_mcp_tool({
  server_name: "glide-api",
  tool_name: "add_table_row",
  arguments: {
    appId: "your-app-id",
    tableId: "your-table-id",
    values: {
      column1: "value1",
      column2: "value2"
    }
  }
});

glide-api-mcp-server FAQ

How do I securely provide my Glide API key to the MCP server?
You configure your API key using environment variables in the MCP settings file, ensuring credentials are not hardcoded and remain secure.
Can I use both Glide API v1 and v2 with this MCP server?
Yes, the server supports both API versions and allows you to switch between them via the `set_api_version` tool.
What programming language is the glide-api-mcp-server implemented in?
It is implemented in TypeScript, providing type safety and maintainability.
How does the server handle errors during API calls?
It includes comprehensive error handling to ensure stable operation and clear error reporting.
How do I configure the MCP server to use a specific Glide API version?
Use the `set_api_version` tool or set the `GLIDE_API_VERSION` environment variable to either 'v1' or 'v2'.
What operations can I perform on Glide app tables using this MCP server?
You can list tables, retrieve table rows, add new rows, and update existing rows.
Is the glide-api-mcp-server compatible with multiple LLM providers?
Yes, it is designed to work with any MCP client, enabling integration with OpenAI, Anthropic Claude, Google Gemini, and others.
How do I start the glide-api-mcp-server?
Run the server using Node.js with the provided command and arguments, ensuring environment variables for API key and version are set.