Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
897d5b7
XDG instructions support (#31)
usabarashi Aug 31, 2025
ac0a87f
Refactor configuration handling and remove unused setup code
usabarashi Aug 31, 2025
d7485fd
Merge pull request #32 from usabarashi/fix/delete-dead-code
usabarashi Aug 31, 2025
7a546bc
ci(deps): bump cachix/install-nix-action from 31.5.2 to 31.6.0
dependabot[bot] Sep 1, 2025
c32a252
deps(deps): bump thiserror from 1.0.69 to 2.0.15
dependabot[bot] Sep 1, 2025
bb2c2be
Merge pull request #33 from usabarashi/dependabot/github_actions/cach…
usabarashi Sep 2, 2025
141bf3c
Merge branch 'develop' into dependabot/cargo/thiserror-2.0.15
usabarashi Sep 2, 2025
9921017
Merge pull request #34 from usabarashi/dependabot/cargo/thiserror-2.0.15
usabarashi Sep 2, 2025
15a8560
deps(deps): bump the patch-updates group across 1 directory with 4 up…
dependabot[bot] Sep 3, 2025
877fe12
Merge pull request #36 from usabarashi/dependabot/cargo/patch-updates…
usabarashi Sep 4, 2025
40400d3
Improve the instructions (#37)
usabarashi Sep 6, 2025
e988083
Potential fix for code scanning alert no. 1: Workflow does not contai…
usabarashi Sep 7, 2025
7da0df9
Merge pull request #38 from usabarashi/fix/Workflow-does-not-contain-…
usabarashi Sep 7, 2025
5b7265e
Refactor Serena MCP configuration and update dependencies
usabarashi Sep 18, 2025
aaee623
Merge branch 'develop' into task/Specify-Serena-settings-using-the-MC…
usabarashi Sep 18, 2025
d114b59
Remove cache-dir argument from Serena MCP configuration
usabarashi Sep 18, 2025
4997653
Merge pull request #39 from usabarashi/task/Specify-Serena-settings-u…
usabarashi Sep 18, 2025
80b077c
Compatible with the cancellation protocol (#40)
usabarashi Sep 29, 2025
7b01677
deps(deps): bump the patch-updates group with 6 updates
dependabot[bot] Oct 1, 2025
cc89f75
deps(deps): bump tempfile in the minor-updates group
dependabot[bot] Oct 1, 2025
a103294
ci(deps): bump cachix/install-nix-action from 31.6.0 to 31.7.0
dependabot[bot] Oct 1, 2025
a5e651c
ci(deps): bump softprops/action-gh-release from 2.3.2 to 2.3.3
dependabot[bot] Oct 1, 2025
3538006
Merge pull request #41 from usabarashi/dependabot/cargo/patch-updates…
usabarashi Oct 2, 2025
11ddf88
Merge branch 'develop' into dependabot/cargo/minor-updates-2d8dee542f
usabarashi Oct 2, 2025
971627c
Merge pull request #42 from usabarashi/dependabot/cargo/minor-updates…
usabarashi Oct 2, 2025
0e6fa15
Merge branch 'develop' into dependabot/github_actions/cachix/install-…
usabarashi Oct 2, 2025
ffd7014
Merge pull request #43 from usabarashi/dependabot/github_actions/cach…
usabarashi Oct 2, 2025
cc2c5a9
Merge branch 'develop' into dependabot/github_actions/softprops/actio…
usabarashi Oct 2, 2025
4f21034
Merge pull request #44 from usabarashi/dependabot/github_actions/soft…
usabarashi Oct 2, 2025
466ae34
Merge branch 'main' into develop
usabarashi Oct 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/branch-restrictions.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
name: Branch Restrictions

permissions:
contents: read

on:
pull_request:
branches:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

- name: Install Nix with cache
uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
uses: cachix/install-nix-action@9280e7aca88deada44c930f1e2c78e21c3ae3edd # v31.7.0
with:
nix_path: nixpkgs=channel:nixos-unstable
github_access_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
git push origin "${TAG_NAME}"

- name: Install Nix
uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
uses: cachix/install-nix-action@9280e7aca88deada44c930f1e2c78e21c3ae3edd # v31.7.0

- name: Setup Cachix
uses: cachix/cachix-action@0fc020193b5a1fa3ac4575aa3a7d3aa6a35435ad # v16
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
echo "ARCHIVE_NAME=${ARCHIVE_NAME}" >> $GITHUB_ENV

- name: Create GitHub Release
uses: softprops/action-gh-release@72f2c25fcb47643c292f7107632f7a47c1df5cd8 # v2.3.2
uses: softprops/action-gh-release@6cbd405e2c4e67a21c47fa9e383d020e4e28b836 # v2.3.3
with:
tag_name: ${{ steps.create_tag.outputs.TAG_NAME }}
name: VOICEVOX CLI ${{ steps.create_tag.outputs.TAG_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-flake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Install Nix
uses: cachix/install-nix-action@fc6e360bedc9ee72d75e701397f0bb30dce77568 # v31.5.2
uses: cachix/install-nix-action@9280e7aca88deada44c930f1e2c78e21c3ae3edd # v31.7.0
with:
nix_path: nixpkgs=channel:nixos-unstable

Expand Down
25 changes: 20 additions & 5 deletions .mcp.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,27 @@
{
"mcpServers": {
"serena": {
"command": "nix",
"command": "uvx",
"args": [
"develop",
"-c",
"serena-mcp-wrapper"
]
"--from",
"git+https://github.com/oraios/serena",
"serena",
"start-mcp-server",
"--context",
"ide-assistant",
"--enable-web-dashboard",
"false",
"--project",
"."
],
"env": {
"HOME": "./.project-home",
"XDG_DATA_HOME": "./.project-home/.local/share",
"XDG_CACHE_HOME": "./.project-home/.cache",
"UV_CACHE_DIR": "./.project-home/.cache/uv",
"UV_TOOL_DIR": "./.project-home/.local/uv/tools",
"CARGO_HOME": "./.project-home/.cargo"
}
}
}
}
28 changes: 22 additions & 6 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,16 +57,32 @@ voicevox-mcp-server # MCP protocol server for AI assistant integ
- `list_voice_styles`: Query available voice styles with optional filtering by speaker or style name

### Instruction System
The MCP server dynamically loads behavior instructions to guide AI assistant interactions:
The MCP server dynamically loads behavior instructions to guide AI assistant interactions.

1. **Environment variable**: `VOICEVOX_MCP_INSTRUCTIONS` pointing to custom file
2. **Executable directory**: `INSTRUCTIONS.md` bundled with binary
3. **Current directory**: `INSTRUCTIONS.md` for development
**Loading Priority (XDG Base Directory compliant):**

1. **Environment variable**: `VOICEVOX_MCP_INSTRUCTIONS` (highest priority)
2. **XDG user config**: `$XDG_CONFIG_HOME/voicevox/VOICEVOX.md` (user-specific settings)
3. **Config fallback**: `~/.config/voicevox/VOICEVOX.md` (when XDG_CONFIG_HOME is not set)
4. **Executable directory**: `VOICEVOX.md` bundled with the binary (distribution default)
5. **Current directory**: `VOICEVOX.md` in working directory (development use)

**Configuration examples:**

**Configuration example:**
```bash
# Method 1: Environment variable (highest priority)
export VOICEVOX_MCP_INSTRUCTIONS=/path/to/custom/instructions.md
voicevox-mcp-server

# Method 2: XDG_CONFIG_HOME (if set)
mkdir -p $XDG_CONFIG_HOME/voicevox
cp custom-instructions.md $XDG_CONFIG_HOME/voicevox/VOICEVOX.md
voicevox-mcp-server

# Method 3: XDG user configuration
mkdir -p ~/.config/voicevox
cp custom-instructions.md ~/.config/voicevox/VOICEVOX.md
voicevox-mcp-server
```

Server operates normally without instruction files. Default behavior defined in [INSTRUCTIONS.md](INSTRUCTIONS.md).
Server operates normally without instruction files. Default behavior defined in [VOICEVOX.md](VOICEVOX.md).
Loading