Overview
Connect Claude Code to a Tangled repository through the open-source tangled-mcp server so it can look up open tickets, work on one locally, and file follow-up tickets you approve.
Problem or Objective
- Which agents turn an issue report into a fix?
- Which agents track commitments, follow-ups and status across a team’s tools?
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Tangled · tangled-mcp · uv
- Prerequisites
- Requires Claude Code, uv to run the server locally, and a Tangled account with an app password for write tools; reads need no credentials.
How It Works
Install uv, then add the tangled-mcp server to Claude Code with the read-only command from its README; reads go through Tangled's public index and need no credentials. Ask Claude Code to list the open issues of your repository, pick one, read the related files and commits, and work on it in your local checkout like any other coding task. When you also want Claude to file or update tickets, create a Tangled app password and add the server again with the write variables from the README. Have Claude draft each new ticket (title, body, labels) in the chat first; you read it, edit if needed, and reply with an explicit yes before it calls the create or comment tool. Keep delete and state-change tools for actions you ask for by name.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Claude Code.
- Connect the toolsConnect the tools this workflow relies on: Tangled, tangled-mcp, uv.
- Check the prerequisitesRequires Claude Code, uv to run the server locally, and a Tangled account with an app password for write tools; reads need no credentials.
- Gather your detailsCollect what the prompt asks for: Tangled repository in owner/repo form, Issue to work on, Path to your local checkout, Labels you use on the repository.
- Run the starter promptPaste the starter prompt below into Claude Code and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at code.claude.com before you rely on it.
Practical Starter Prompt: Work a Tangled ticket and draft follow-ups
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Using the tangled MCP server, list the open issues in [Tangled repository in owner/repo form] and show me the five most recent with one line each. Then read issue [Issue to work on] and the files it mentions in my local checkout at [Path to your local checkout], and propose a fix as a diff without committing. If the work reveals separate problems, draft each follow-up ticket here with a title, body and labels from [Labels you use on the repository]. Do not call any create, update, comment, state or delete tool until I approve that specific ticket with an explicit yes.Start with the read-only server (no credentials) until you are happy with how Claude reads tickets. Add the write variables only when you want it to file tickets, and approve each draft in the chat before it is created. Review any code change as you would a colleague's before committing it.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Claude Code docs cover connecting external tools through MCP and warn to trust each server first. The tangled-mcp README lists read tools for repositories, issues and pulls that need no credentials, and write tools for issues and comments that need an app password. No cited page measures how well the agent picks or fixes tickets.
Limitations and Considerations
tangled-mcp is a third-party server; read its code before giving it write access. Write access uses an app password, so store it in your local environment rather than in a shared project file, and revoke it when you stop. The README also describes a hosted instance that takes credentials in request headers; for write access a local install keeps your password on your machine. Issues and comments you file are visible to collaborators, so approve each one before it is sent. Model use in Claude Code costs money or plan quota. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
Original Implementation
The code published by the people behind this use case.
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About anthropics/claude-code
The SECRET Claude Code Upgrade That Has Everyone Going Nuts (Full Guide) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)About anthropics/claude-code
The only Claude Code guide you'll ever need (Opus 4.5) (opens in a new tab)
The title names the project, the description links the project website.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Connect Claude Code to tools via MCP - Claude Code Docs (opens in a new tab)
Project documentation · code.claude.com · Undated · Source checked 25 Nov 2026, 12:10 UTC
What this source supports
- MCP servers give Claude Code access to your tools, databases, and APIs.
- Verify you trust each server before connecting it.
- Stdio servers run as local processes on your machine.
- zzstoatzz/tangled-mcp README (opens in a new tab)
Project documentation · github.com · Undated · Source checked 27 Nov 2026, 14:41 UTC
What this source supports
- writes (issues, comments, states) go to the repository's knot with a service-auth token your PDS mints, and require an app password.

