attach_tags

Attach one or more tags to a MantisBT issue. Each tag can be specified either by ID or by name. If a tag name is provided that does not exist yet, MantisBT will create it automatically (requires tag_create_threshold permission, default: REPORTER). Requires tag_attach_threshold permission (default...

Server MantisBT MCP Server @dpesch/mantisbt-mcp-server
Category Write
Risk class Medium
Parameters 22 required

What attach_tags does on MantisBT MCP Server

AI agents use attach_tags to create or update resources in MantisBT MCP Server — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your MantisBT MCP Server environment.

ParameterTypeRequiredDescription
tags array Yes Tags to attach — each entry needs at least id or name
issue_id integer Yes Numeric issue ID

Parameters from the server's own tool schema.

Why attach_tags needs a policy

This tool creates or modifies data reversibly. Attaching tags changes issue state and may create new tags, but these changes are non-destructive and can be undone by detaching tags (evidenced by the sibling tool 'detach_tag').

From the tool's definition Tool description states 'Attach one or more tags to a MantisBT issue' and 'If a tag name is provided that does not exist yet, MantisBT will create it automatically'. This modifies issue metadata by adding tags and potentially creates new tag entities.

Questions about attach_tags

What does the attach_tags tool do? +

Attach one or more tags to a MantisBT issue. Each tag can be specified either by ID or by name. If a tag name is provided that does not exist yet, MantisBT will create it automatically (requires tag_create_threshold permission, default: REPORTER). Requires tag_attach_threshold permission (default: REPORTER). It is categorised as a Write tool in the MantisBT MCP Server MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.

What parameters does attach_tags accept? +

attach_tags accepts 2 parameters: tags, issue_id. Required: tags, issue_id. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on attach_tags? +

Register the MantisBT MCP Server MCP server in PolicyLayer and add a rule for attach_tags: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches MantisBT MCP Server. Nothing to install.

What risk level is attach_tags? +

attach_tags is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.

Can I rate-limit attach_tags? +

Yes. Add a rate_limit block to the attach_tags rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block attach_tags completely? +

Set action: deny in the PolicyLayer policy for attach_tags. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides attach_tags? +

attach_tags is provided by the MantisBT MCP Server MCP server (@dpesch/mantisbt-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.