mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7675] Proposal: built-in MCP server so AI assistants can read and edit your library #4240
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4240
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Oct 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7675
Originally assigned to: @Gunterlie, @SpicyMarinara on GitHub.
The problem
You can only change your characters, lorebooks, personas and presets by hand in the Marinara UI. AI assistants like Claude Desktop, Claude Code or Codex cannot see or edit them. There is an MCP server in
tools/dev-mcp, but it is a developer tool: it needs a local checkout of the code, it talks over stdio only, and it cannot reach an installed or remote Marinara.The idea
Marinara gets its own built-in MCP server. It is off unless you turn it on. When it is on, any MCP client can connect to your Marinara by URL and work with your library:
How you turn it on
Add one or two secrets to your
.envand restart:Then point your MCP client at
http://<your-marinara>/api/mcpand give it one of the tokens as a Bearer token.MCP_TOKENcan only read. Give this one to anything you do not fully trust.MCP_WRITE_TOKENcan also edit. Without it, write tools do not even show up./api/mcpdoes not exist.What it can do
Safety
What happens to dev-mcp
tools/dev-mcpstays for developer jobs that must run outside the engine: rebuild and restart with rollback, the sanitized sandbox, and reading logs while the engine is down. It does not do user jobs anymore once this ships.Status
/api/mcp, read-only tools, regression test that MCP is off by default and refuses calls without a valid tokendocs/CONFIGURATION.md,docs/REMOTE_ACCESS.md)Slice 1 is in progress. Feedback on the scope and the token setup is welcome.
@SpicyMarinara commented on GitHub (Oct 19, 2026):
Closing this for now to clear the board for the next release. It isn't a rejection: reopen it after the release when you pick it up again.