mcp-agent-template

v0.2.0
io.github.amineutron/mcp-agent-template Checked 1 day ago Published 29 days ago

Enterprise MCP guard: roles, allowlist policy, human confirmation, JSONL audit log, example tools.

Values you need

VariableWhat it is
MCP_AGENT_TEMPLATE_ROLEoptional Caller role: lecteur (read-only), operateur, admin. Defaults to lecteur.
MCP_AGENT_TEMPLATE_CONFIRMoptional elicit: the server asks the human; client: the client confirms itself from destructiveHint.
MCP_AGENT_TEMPLATE_AUDIT_DIRoptional Directory of the JSONL audit log.

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add mcp-agent-template -- uvx mcp-agent-template==0.2.0 serve
Add to claude_desktop_config.json
{
  "mcpServers": {
    "mcp-agent-template": {
      "args": [
        "mcp-agent-template==0.2.0",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "mcp-agent-template": {
      "args": [
        "mcp-agent-template==0.2.0",
        "serve"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "mcp-agent-template": {
      "args": [
        "mcp-agent-template==0.2.0",
        "serve"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.mcp-agent-template]
command = "uvx"
args = ["mcp-agent-template==0.2.0", "serve"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: list_tickets, get_ticket, create_ticket, close_ticket, delete_ticket, search_directory, get_user, group_members, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json