Repository navigation
docs: add a guide to MCP servers (closes #27) - #51
Merged
Merged
Conversation
A short page about Plugins: which tools get the servers, connecting a service from the directory, adding a custom server, managing one, and where keys and sign-ins are kept. Linked from the README.
Owner
|
Thanks @Efer-Eder, merged. A clear guide with the screenshots in the right places, and it closes #27. It ships with 0.4.5. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
Adds
docs/mcp-servers.md, a guide to the Plugins page, and links it from the README (under "Automations, Git and everything else", next to "Let other agents use Friday"). Nothing in the app changes.It follows the five points in #27: what the page does and which tools get the servers, connecting a service from the directory, adding your own server by command, URL or pasted config, managing one, and where keys and sign-ins are kept. It ends with two lines on what it leaves out: a project's
.mcp.json, and Friday as an MCP server for other agents.Three screenshots are in a commit of their own (
docs/assets/mcp/, about 110 KB together). I said in the issue I wouldn't send any, then found I could take them frommainin a container (details below). If you'd rather not have them, or want to retake them in the desktop app, drop that commit and the three image lines.The README translations are not touched.
Four places where the guide differs from the issue or from the app's own words. I changed no code and no app text for any of them, and I'd like your call:
adapters.tsandrunner.ts, Claude Code, Codex, Amp and the ACP tools are handed them. The Custom server dialog says "Cursor reads only its own list", but Aider, Crush, Muse and Pi don't read them either, so the guide names all five. Is that right, and should the dialog say so too?src/connection-tools.tsgives the servers to Friday's own agent, andtest/connections.test.tscovers it, but I couldn't find a call toconnectionTools()in this repository (src/app.tsonly imports it). The guide leaves Friday Code out. Should it be on the list?connections.jsonat mode 666. The guide says 0600 for macOS and Linux, and for Windows only that the file sits in your user folder.FRIDAY_HOME. The README says it is where Friday keeps sessions and settings, butconnections.tsreadsFRIDAY_STATE_DIRor~/.friday, and nothing outside the tests setsFRIDAY_STATE_DIR. The guide says~/.friday/connections.jsonand doesn't mentionFRIDAY_HOME. Is that intended?Closes #27
How you checked it
538aba8, each statement checked against the source:src/runner/connections.ts,mcp-servers.ts,runner.ts,adapters.ts,local-api.ts, andsrc/client/McpServers.tsx,mcp-directory.tsx,mcp-catalog.ts. Button names and states are the strings in those components.mainhas moved since (Goose and Auggie, both over ACP, so "and the rest" covers them) and the branch still merges cleanly.parseConnectionandfillDraftin a temporary test (not in this PR): 11 tests, all pass. Theclaude mcp addline asks only forGITHUB_TOKEN; the JSON block gives two servers and asks only forAuthorization, keepingBearer. The same test checked that Codex is not handed an SSE server and gets keys in its environment only, that an ACP tool gets remote servers only with the capability, and the${VAR}rules for.mcp.json.mainat538aba8(0.4.4), started from source withnode bin/friday.mjsin a Linux container, driven by headless Chromium at 1280x800. I pasted the guide's JSON block into Custom server.filesystemis the real@modelcontextprotocol/server-filesystemand came back "connected: 14 tools";acmepoints atmcp.example.com, which doesn't answer, so it was saved turned off with its reason, as the guide says. No real service was signed in to.Not checked:
The desktop app, and the page on macOS or Windows. I only saw it in the browser, on Linux.
Signing in with a real provider, on any system (the test Try MCP sign-in on Windows and Linux and report back #26 asks for).
What each tool does with the servers once it has them. The guide only says what Friday hands over.
A stdio server answering on Windows: see the tests below.
npm run typecheckpassesnpm testpassesnpm testis unchecked because it does not pass on my machine (Windows, Node 24.16.0): 14 of 2390 tests fail, the same 14 that failed for me onmainwhen I sent #47. Four of them are intest/connections.test.ts, the ones that start a stdio server; the other 9 there pass. I ran the commandscripts/test.mjsbuilds with 4 workers instead of 6. This PR adds only Markdown and PNG files, which no test reads, so I'm leaving the verdict to CI.