Skip to main content
Glama

delete_project

Remove a project permanently by its ID using a session ID with Taiga MCP Bridge. This action is irreversible and ensures automated project management cleanup.

Instructions

Deletes a project by its ID. This is irreversible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
project_idYes
session_idYes

Implementation Reference

  • The main handler function for the 'delete_project' MCP tool. It authenticates the session, calls the Taiga API to delete the project by ID, and returns a success status or raises errors.
    @mcp.tool("delete_project", description="Deletes a project by its ID. This is irreversible.") def delete_project(session_id: str, project_id: int) -> Dict[str, Any]: """Deletes a project by ID.""" logger.warning( f"Executing delete_project ID {project_id} for session {session_id[:8]}...") taiga_client_wrapper = _get_authenticated_client(session_id) # Use wrapper variable name try: # Use pytaigaclient syntax: client.resource.delete(id=...) taiga_client_wrapper.api.projects.delete(id=project_id) logger.info(f"Project {project_id} deleted successfully.") return {"status": "deleted", "project_id": project_id} except TaigaException as e: logger.error( f"Taiga API error deleting project {project_id}: {e}", exc_info=False) raise e except Exception as e: logger.error( f"Unexpected error deleting project {project_id}: {e}", exc_info=True) raise RuntimeError(f"Server error deleting project: {e}")

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/talhaorak/pytaiga-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server