Infisical Model Context Protocol
@mikeysrecipes
Overview
What is Infisical Model Context Protocol?
The Infisical Model Context Protocol server enables AI assistants to integrate with Infisical APIs through function calling, allowing them to manage secrets, projects, environments, folders, and project members. It is designed for developers using Infisical for secret management.
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), then run the server using npx -y @infisical/mcp. Configure it in Claude Desktop by adding the server details to claude_desktop_config.json.
Key features of Infisical Model Context Protocol
- Create, read, update, and delete secrets
- List all secrets in a project
- Create new projects and environments
- Create folders within projects
- Invite members to projects
Use cases of Infisical Model Context Protocol
- Allow an AI assistant to fetch a secret value during a development workflow
- Automate secret rotation by updating secrets programmatically
- Create a new project and environment from a chat interface
- Onboard team members to an Infisical project via natural language commands
- Manage folder structure inside Infisical without leaving your IDE
FAQ from Infisical Model Context Protocol
What is the Infisical Model Context Protocol server?
It is a server that implements the Model Context Protocol to expose Infisical API actions as tools, letting AI assistants (like Claude) interact with Infisical.
How do I authenticate the server?
You must set the environment variables INFISICAL_UNIVERSAL_AUTH_CLIENT_ID and INFISICAL_UNIVERSAL_AUTH_CLIENT_SECRET with your Machine Identity universal auth credentials.
Can I use a custom Infisical host?
Yes. Set the optional INFISICAL_HOST_URL environment variable. The default value is https://app.infisical.com.
What tools are available?
The server provides tools to manage secrets (create-secret, delete-secret, update-secret, list-secrets, get-secret), projects (create-project, invite-members-to-project), environments (create-environment), and folders (create-folder).
How can I debug the server?
Use the MCP Inspector: build the server with npm run build, then run npx @modelcontextprotocol/inspector node dist/index.js, set the environment variables, and connect in the Inspector UI.