概览
What is Infisical Model Context Protocol?
The Infisical Model Context Protocol server integrates with Infisical APIs through function calling, enabling AI assistants to manage Infisical resources programmatically. It is intended for developers who want to use AI tools to interact with their Infisical instance.
How to use Infisical Model Context Protocol?
Set the required environment variables (INFISICAL_UNIVERSAL_AUTH_CLIENT_ID, INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET) and optionally INFISICAL_HOST_URL. Run the server via npx -y @infisical/mcp. For Claude Desktop, add an entry in claude_desktop_config.json with the command and environment variables.
Key features of Infisical Model Context Protocol
- Create, read, update, and delete secrets
- List all secrets in a project
- Create a new project
- Create a new environment
- Create a new folder
- Invite members to a project
Use cases of Infisical Model Context Protocol
- AI assistant managing secrets and projects within Infisical
- Automating the creation of environments and folders
- Inviting team members to Infisical projects via an AI interface
FAQ from Infisical Model Context Protocol
What authentication is required?
You must provide a Machine Identity universal auth client ID (INFISICAL_UNIVERSAL_AUTH_CLIENT_ID) and client secret (INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET) as environment variables.
Can I use a custom Infisical host?
Yes. Set the optional INFISICAL_HOST_URL environment variable. It defaults to https://app.infisical.com.
How do I run the server?
Run npx -y @infisical/mcp in your terminal after setting the required environment variables.
What tools does the server provide?
The server exposes nine tools: create-secret, delete-secret, update-secret, list-secrets, get-secret, create-project, create-environment, create-folder, and invite-members-to-project.
How can I debug the server?
Use the MCP Inspector. First build the server with npm run build, then run npx @modelcontextprotocol/inspector node dist/index.js and connect via the inspector UI.