Weigh What a Server Costs

Your browser server earns its place in the festival project, because it gives your agent a way to see the search page that nothing else in the project offers. However, the last lesson ended on an open question. Should every project have that server, and what about the next one you’re tempted to add?

Every server you add brings whatever its credentials can reach, text from outside the project, and tool definitions that take up room in the context. In this lesson, you’ll weigh a proposed server with four questions before you add anything, and you’ll turn the answers into the narrowest setup that still does the job. Start with the issue tracker’s server, the one most projects get offered next.

Meet the Server You’re Tempted to Add

Tasks often start from an issue, so it’s tempting to let your agent read the tracker itself. The festival project has four open issues. For now, they’re listed in docs/issues.md, and later in the course, you’ll file them on GitHub, where a project’s issues usually live.

Issue #1 is the first one you’d hand to an agent. A visitor searches for “Fiddle” and doesn’t find the “green fiddle case with a ribbon”, because the search in src/search.js cares about capitalization.

GitHub publishes an MCP server for reading issues. It’s a remote server, so it runs on GitHub’s side, and your agent talks to it over HTTP with a token you give it.

Its README, checked in December 2026 at version 2.3.0, has a one-line setup for each agent and a default set of about forty-five tools in five groups: your account, repositories, issues, pull requests, and users. With it connected, “fix issue #1” could start with the agent fetching the issue for itself.

That one line is the moment to stop. Before you add any server, ask four questions:

  1. Reach: What could its credentials do at worst?
  2. Text: What untrusted text would it bring into the context?
  3. Alternatives: Does a file or a command your agent already runs do the job?
  4. Timing: Should it be on for every session, or only for this task?

Locked learning resources

Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Locked learning resources

The full lesson is for members only. Join us and get access to thousands of tutorials and a community of expert JavaScript developers.

Unlock This Lesson

Already a member? Sign-In

Become a Member to join the conversation.