Glide API MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides a comprehensive interface to the Glide API (v1 & v2), allowing management of Glide apps, tables, and data with tools for retrieving app information, listing tables, fetching table data, adding new rows, and updating existing rows.

Glide API MCP 服务器

用于与 Glide API(v1 和 v2)交互的模型上下文协议服务器。

特征

  • 支持 Glide API v1 和 v2
  • 通过环境变量来保护 API 密钥处理
  • 类型安全的 TypeScript 实现
  • 全面的错误处理

可用工具

  • set_api_version :配置 API 版本和身份验证
  • get_app :获取应用信息
  • get_tables :列出应用程序表
  • get_table_rows :获取表数据
  • add_table_row :添加新行
  • update_table_row :更新现有行

安全设置

1.环境变量

服务器支持通过 MCP 设置文件中的环境变量进行安全配置。请将您的 API 凭据添加到 MCP 设置文件中:

{ "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 } } } }

此方法通过以下方式保证您的 API 密钥的安全:

  • 将其存储在配置文件中而不是代码中
  • 使其脱离版本控制
  • 无需修改代码即可轻松更新

2. 运行时配置

虽然环境变量是配置服务器的推荐方式,但您也可以使用set_api_version工具在运行时设置或覆盖 API 版本和密钥:

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

注意:运行时配置将覆盖当前会话的任何环境变量。

3. 安全最佳实践

  1. 切勿将 API 密钥提交到版本控制
  2. 在 MCP 设置文件中使用环境变量
  3. 定期轮换您的 API 密钥
  4. 在设置文件上设置适当的文件权限

发展

安装依赖项:

npm install

构建服务器:

npm run build

对于使用自动重建的开发:

npm run watch

使用示例

  1. 获取应用信息:
use_mcp_tool({ server_name: "glide-api", tool_name: "get_app", arguments: { appId: "your-app-id" } });
  1. 向表中添加一行:
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" } } });

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

促进与 Glide API v1 和 v2 的安全和类型安全的交互,允许用户通过模型上下文协议接口管理应用程序数据并对表执行 CRUD 操作。

  1. Features
    1. Available Tools
      1. Secure Setup
        1. 1. Environment Variables
        2. 2. Runtime Configuration
        3. 3. Security Best Practices
      2. Development
        1. Usage Examples
          ID: a5s2vwxii4