How infisical/infisical-mcp-server works
Infisical MCP Server exposes Infisical operations as MCP tools over stdio: an MCP client connects, discovers enabled tools, and invokes them; the server validates configuration and tool arguments, authenticates, then uses the Infisical SDK or API to perform operations. The README documents secret-value masking and tool allowlisting. The repository is a small single-file runtime, so domain responsibilities share src/index.ts; unsampled handler details are represented only where README capabilities support them.
Main entry points: index.ts Tool Dispatch
Components 15
MCP Interface
- Stdio Transport
src/index.ts - MCP Server
src/index.ts - Tool Catalog
src/index.ts - Tool Dispatch
src/index.ts
Configuration and Access
- Environment Config
src/index.ts - Authentication
src/index.ts - Secret Masking
src/index.ts
Secret Operations
- Secret CRUD
src/index.ts - Secret Listing
src/index.ts
Project Management
- Project Operations
src/index.ts - Environment Operations
src/index.ts - Folder Operations
src/index.ts - Membership Operations
src/index.ts
Other components
- MCP Client
- Infisical API
Connections 20
- MCP Client → Stdio Transport: connects over
README.md - Stdio Transport → MCP Server: connects transport
src/index.ts - MCP Client → MCP Server: discovers tools
README.md - MCP Server → Tool Catalog: lists tools
src/index.ts - MCP Server → Tool Dispatch: handles calls
src/index.ts - Environment Config → Authentication: configures credentials
README.md - Tool Dispatch → Authentication: authenticates
src/index.ts - Tool Dispatch → Secret CRUD: dispatches calls
src/index.ts - Tool Dispatch → Secret Listing: dispatches calls
src/index.ts - Tool Dispatch → Project Operations: dispatches calls
src/index.ts - Tool Dispatch → Environment Operations: dispatches calls
src/index.ts - Tool Dispatch → Folder Operations: dispatches calls
src/index.ts - Tool Dispatch → Membership Operations: dispatches calls
src/index.ts - Secret CRUD → Infisical API: manages secrets
- Secret Listing → Infisical API: lists secrets
src/index.ts - Project Operations → Infisical API: manages projects
src/index.ts - Environment Operations → Infisical API: creates environments
src/index.ts - Folder Operations → Infisical API: creates folders
- Membership Operations → Infisical API: invites members
src/index.ts - Secret CRUD → Secret Masking: masks responses
src/index.ts