MCP server for tangled

add MCP registry publishing: server.json for registry metadata and GitHub Actions workflow for automated publishing to PyPI and MCP registry on version tags

+65
+48
.github/workflows/publish-mcp.yml
··· 1 + name: publish to mcp registry 2 + 3 + on: 4 + push: 5 + tags: 6 + - 'v*' 7 + 8 + permissions: 9 + id-token: write 10 + contents: read 11 + 12 + jobs: 13 + publish: 14 + runs-on: ubuntu-latest 15 + steps: 16 + - uses: actions/checkout@v4 17 + 18 + - name: install uv 19 + uses: astral-sh/setup-uv@v5 20 + with: 21 + enable-cache: true 22 + 23 + - name: set up python 24 + run: uv python install 25 + 26 + - name: install dependencies 27 + run: uv sync --all-extras --dev 28 + 29 + - name: run tests 30 + run: uv run pytest 31 + 32 + - name: build package 33 + run: uv build 34 + 35 + - name: publish to pypi 36 + env: 37 + UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }} 38 + run: uv publish 39 + 40 + - name: install mcp publisher 41 + run: | 42 + npm install -g @modelcontextprotocol/publisher 43 + 44 + - name: login to mcp registry (github oidc) 45 + run: mcp-publisher login github-oidc 46 + 47 + - name: publish to mcp registry 48 + run: mcp-publisher publish
+17
server.json
··· 1 + { 2 + "$schema": "https://static.modelcontextprotocol.io/schemas/2025-09-29/server.schema.json", 3 + "name": "io.github.zzstoatzz/tangled-mcp", 4 + "title": "Tangled MCP", 5 + "description": "MCP server for Tangled git platform. Manage repositories, branches, and issues on tangled.org.", 6 + "version": "0.1.0", 7 + "packages": [ 8 + { 9 + "registryType": "pypi", 10 + "identifier": "tangled-mcp", 11 + "version": "0.1.0", 12 + "transport": { 13 + "type": "stdio" 14 + } 15 + } 16 + ] 17 + }