Infisical MCP Server
OfficialInfisical 模型上下文协议
Infisical 模型上下文协议 (Model Context Protocol) 服务器允许你通过函数调用与 Infisical API 集成。该协议支持多种工具来与 Infisical 进行交互。
设置
环境变量
为了使用 MCP 服务器,你必须首先设置身份验证所需的环境变量。
INFISICAL_AUTH_METHOD: 要使用的身份验证方法。支持的值为universal-auth和access-token。默认为universal-auth。INFISICAL_UNIVERSAL_AUTH_CLIENT_ID: 机器身份通用认证客户端 ID。当INFISICAL_AUTH_METHOD为universal-auth时必需。INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET: 机器身份通用认证客户端密钥。当INFISICAL_AUTH_METHOD为universal-auth时必需。INFISICAL_TOKEN: 用于身份验证的访问令牌。这可以是个人访问令牌或机器身份访问令牌。当INFISICAL_AUTH_METHOD为access-token时必需。INFISICAL_HOST_URL: 可选设置自定义主机 URL。如果你是自托管 Infisical 或使用专用基础设施,这很有用。默认为https://app.infisical.com。
要使用 npx 运行 Infisical MCP 服务器,请使用以下命令:
npx -y @infisical/mcp在 Claude Desktop 中使用
将以下内容添加到你的 claude_desktop_config.json 中。有关更多详细信息,请参阅此处。
通用认证 (默认)
{
"mcpServers": {
"infisical": {
"command": "npx",
"args": ["-y", "@infisical/mcp"],
"env": {
"INFISICAL_HOST_URL": "https://<custom-host-url>.com",
"INFISICAL_UNIVERSAL_AUTH_CLIENT_ID": "<machine-identity-universal-auth-client-id>",
"INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET": "<machine-identity-universal-auth-client-secret>"
}
}
}
}访问令牌
{
"mcpServers": {
"infisical": {
"command": "npx",
"args": ["-y", "@infisical/mcp"],
"env": {
"INFISICAL_HOST_URL": "https://<custom-host-url>.com",
"INFISICAL_AUTH_METHOD": "access-token",
"INFISICAL_TOKEN": "<your-access-token>"
}
}
}
}Related MCP server: OpenAPI MCP Server
可用工具
工具 | 描述 |
| 创建一个新密钥 |
| 删除一个密钥 |
| 更新一个密钥 |
| 列出所有密钥 |
| 获取单个密钥 |
| 创建一个新项目 |
| 创建一个新环境 |
| 创建一个新文件夹 |
| 邀请一名或多名成员加入项目 |
| 列出所有项目 |
调试服务器
要调试你的服务器,可以使用 MCP Inspector。
首先构建服务器
npm run build在你的终端中运行以下命令:
# Start MCP Inspector and server
npx @modelcontextprotocol/inspector node dist/index.js说明
按照环境变量步骤中的说明设置环境变量。
运行命令启动 MCP Inspector。
在浏览器中打开 MCP Inspector UI,然后点击“连接”以启动 MCP 服务器。
你可以看到所有可用的工具并单独测试它们。
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityFmaintenanceA Model Context Protocol server that enables LLMs to interact with Plane.so, allowing them to manage projects and issues through Plane's API for streamlined project management workflows.640MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.6Apache 2.0
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol server that integrates with Atlassian Confluence and Jira, enabling AI assistants to search, create, and update content in these platforms through natural language interactions.1MIT
- AlicenseNot gradedqualityDmaintenanceProvides AI coding agents with direct access to secrets management (get, set, list, delete secrets, and list environments) through the Model Context Protocol, enabling secure secret operations during development.13MIT
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
MCP server for interacting with the Supabase platform
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/Infisical/infisical-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server