Skip to content

docs: add a guide to MCP servers (closes #27) - #51

Merged
splashxmoon merged 2 commits into
splashxmoon:mainfrom
Efer-Eder:docs/mcp-guide
Nov 28, 2026
Merged

splashxmoon merged 2 commits into
splashxmoon:mainfrom
Efer-Eder:docs/mcp-guide

Conversation

@Efer-Eder

Copy link
Copy Markdown
Contributor

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 from main in 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:

  1. Which tools get the servers. The issue says every coding tool. From adapters.ts and runner.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?
  2. Friday Code. src/connection-tools.ts gives the servers to Friday's own agent, and test/connections.test.ts covers it, but I couldn't find a call to connectionTools() in this repository (src/app.ts only imports it). The guide leaves Friday Code out. Should it be on the list?
  3. Windows. The app and the README say the keys are in "a file only you can read". The file is written with mode 0600, which restricts nothing on Windows: a test run here left connections.json at mode 666. The guide says 0600 for macOS and Linux, and for Windows only that the file sits in your user folder.
  4. FRIDAY_HOME. The README says it is where Friday keeps sessions and settings, but connections.ts reads FRIDAY_STATE_DIR or ~/.friday, and nothing outside the tests sets FRIDAY_STATE_DIR. The guide says ~/.friday/connections.json and doesn't mention FRIDAY_HOME. Is that intended?

Closes #27

How you checked it

  • Written from the code at 538aba8, each statement checked against the source: src/runner/connections.ts, mcp-servers.ts, runner.ts, adapters.ts, local-api.ts, and src/client/McpServers.tsx, mcp-directory.tsx, mcp-catalog.ts. Button names and states are the strings in those components. main has moved since (Goose and Auggie, both over ACP, so "and the rest" covers them) and the branch still merges cleanly.
  • The two examples in the guide, and every form the paste box is said to take, went through parseConnection and fillDraft in a temporary test (not in this PR): 11 tests, all pass. The claude mcp add line asks only for GITHUB_TOKEN; the JSON block gives two servers and asks only for Authorization, keeping Bearer . 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.
  • Screenshots: main at 538aba8 (0.4.4), started from source with node bin/friday.mjs in a Linux container, driven by headless Chromium at 1280x800. I pasted the guide's JSON block into Custom server. filesystem is the real @modelcontextprotocol/server-filesystem and came back "connected: 14 tools"; acme points at mcp.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 typecheck passes

  • npm test passes

npm test is 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 on main when I sent #47. Four of them are in test/connections.test.ts, the ones that start a stdio server; the other 9 there pass. I ran the command scripts/test.mjs builds 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.

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.
Copilot AI balanced review requested due to automatic review settings November 27, 2026 16:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@splashxmoon
splashxmoon merged commit dd633da into splashxmoon:main Nov 28, 2026
3 checks passed
@splashxmoon

Copy link
Copy Markdown
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Write a short guide to MCP servers in Friday

3 participants