AI agents
Use Bulgur with an AI assistant
Connect an MCP client to list secret metadata and make controlled updates.
A narrow MCP toolset
Bulgur provides an MCP server over the CLI's standard input/output and a hosted HTTP endpoint. Its five tools list projects, list environments, list secret metadata, create a secret, and update a secret.
MCP does not provide a tool for reading secret values or deleting secrets. An MCP-scoped token is also limited by the API's operation and optional project/environment bounds.
- Metadata includes names, descriptions, tags, versions, sensitivity flags, and update times.
- Create and update return metadata, not the submitted value.
- An assistant can still write a value it already knows. Do not give it values that it should not be allowed to store or change.
Connect a local MCP client
Create an MCP-scoped API token in Bulgur and configure your MCP client to start the CLI. The token is supplied to the child process as an environment variable; use a project/environment-bound token when the client should be limited to one resource.
npm install -g bulgur@^1.3.0
claude mcp add bulgur -e BULGUR_TOKEN=blg_REPLACE_WITH_TOKEN -- bulgur mcpReplace the placeholder locally. Never commit a real token or paste it into a prompt, issue, or shared log. If run from a linked project directory, bulgur.json supplies default organization, project, and environment names.
What an assistant can ask Bulgur to do
MCP is a write-oriented management interface, not an execution proxy. Bulgur does not currently provide a tool that invokes an external service using a stored credential on the assistant's behalf.
- List secret names in the selected environment and check their metadata.
- Create a secret when you provide its name and value.
- Update a stored value and confirm the returned version metadata.