Glide API MCP Server
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 authenticationget_app
: Get app informationget_tables
: List app tablesget_table_rows
: Get table dataadd_table_row
: Add new rowupdate_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:
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:
Note: The runtime configuration will override any environment variables for the current session.
3. Security Best Practices
- Never commit API keys to version control
- Use environment variables in the MCP settings file
- Regularly rotate your API keys
- Set appropriate file permissions on the settings file
Development
Install dependencies:
Build the server:
For development with auto-rebuild:
Usage Examples
- Get app information:
- Add a row to a table:
You must be authenticated.
Facilitates secure and type-safe interactions with both v1 and v2 of the Glide API, allowing users to manage app data and perform CRUD operations on tables via a Model Context Protocol interface.