Xano MCP 服务器
用于与 Xano API 交互的模型上下文协议 (MCP) 服务器实现。该服务器提供通过 MCP 接口管理 Xano 数据库操作的工具和资源。
特征
使用 Xano API 进行安全身份验证
使用 TypeScript 进行类型安全的 API 交互
基于环境的配置
MCP 兼容接口
工作区管理工具
表内容操作(创建、读取、更新)
使用详细信息改进错误处理
安装
配置
复制示例环境文件:
使用您的 Xano 凭证更新
.env
文件:
发展
项目结构
可用的 MCP 工具
工作区工具
get_workspaces
:列出所有可用的工作区
表格工具
create_table
:在工作区中创建新表get_table_content
:从支持分页的表中获取内容add_table_content
:向表中添加新内容update_table_content
:更新表中现有内容get_all_tables
:列出工作区中的所有表及其详细信息
使用示例
使用工作区
管理表
环境变量
多变的 | 描述 | 必需的 | 默认 |
XANO_API_密钥 | 您的 Xano API 身份验证密钥 | 是的 | - |
XANO_API_URL | Xano API 端点 URL | 是的 | - |
NODE_ENV | 环境(开发/生产) | 不 | 发展 |
API 超时 | API 请求超时(以毫秒为单位) | 不 | 10000 |
错误处理
服务器提供以下详细的错误消息:
参数无效
身份验证失败
API 请求失败
内容验证错误
未知工具请求
安全
环境变量用于敏感配置
包含 TruffleHog 配置以防止秘密泄露
API 密钥和敏感数据永远不会提交到存储库
贡献
创建功能分支
进行更改
提交拉取请求
执照
国际学习中心
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.
通过模型上下文协议 (MCP) 接口实现与 Xano API 的交互,为 Xano 数据库操作提供安全且类型安全的管理。
Related Resources
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol (MCP) server that provides programmatic access to the Supabase Management API. This server allows AI models and other clients to manage Supabase projects and organizations through a standardized interface.Last updated -8846
- AsecurityFlicenseAqualityEnables AI assistants to manage Xano databases through the Model Context Protocol, allowing users to create, modify, and delete tables, edit schemas, and extract API documentation.Last updated -97
- AsecurityFlicenseAqualityImplements the Model Context Protocol (MCP) to provide AI models with a standardized interface for connecting to external data sources and tools like file systems, databases, or APIs.Last updated -1136
- -securityAlicense-qualityA Model Context Protocol (MCP) implementation for connecting to and working with various database systems.Last updated -2618MIT License