zchee / zchee/ganja-code

The mcp table in its own .mcp.toml

Open
#81 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

idea size:S verdict:do
Dominant language
Rust
Stars
2
Forks
0
Avg merge
1h
Merged PRs (30d)
17

Description

What it does

Moves the mcp table out of ganja.toml into a file of its own, .mcp.toml, so the file ganja mcp add writes is separate from the file a person comments by hand, and keys hoisted out of the table to avoid colliding with a server name can return to it.

Source

ganja-code-6acv (split the mcp table into .mcp.toml).

The bead is closed when this issue is published, with its external reference pointing here (#38).

File and line references in this issue are to main as of 75a7a92.

Against the three criteria

  • Direction (README): The README's only word on tools is "permission-gated tools" (README.md:6); it says nothing about MCP.
  • Today's terminal users: ganja mcp add edits ganja.toml through toml_edit so comments survive (D483, D536), and tool_defer_threshold sits at the top level to avoid colliding with a server of that name (D462).
  • Evidence: It changes the shape of the configuration, which is hard to take back. The bead lists four questions to answer before any code: which tiers .mcp.toml is discovered in and how it merges with a table still in the main file; additive or a clean cut; what ganja mcp add writes when neither file exists; whether the schema splits with it.

Depends on

Nothing.

Verdict

  • Verdict: do
  • Size: S — one commit, no plan.
  • Exception to the probe rule: no.
  • Date: 2026-09-19
  • Verdict ticket: #43

Theme: #55

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the current ganja mcp add handling of ganja.toml through toml_edit, with context from README.md. Resolve how .mcp.toml is discovered and merged, whether the change is additive or a clean cut, what happens when neither file exists, and whether the schema splits. Done means the chosen configuration behavior and command output are implemented consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.