GitHub’s open-source MCP server drew many contributors, but grew to more than 100 tools. Sam found that the larger tool set increased context use and made agents less reliable. Tool sets and dynamic discovery offered ways to narrow what agents could access, but most users kept the default settings.
Scaling GitHub for your Agents
Speaker
Sam Morrow, who leads development of GitHub’s MCP server, discusses how GitHub has scaled and improved it at AI Engineer Europe in London.
The team reduced initial context use by about 49% by focusing tools on common tasks, then grouped CRUD operations. Tailoring the pull request list output cut its token use by more than 75%. The team also moved multi-step API work to the server, improving success rates to over 95% and reducing agent round trips.
Sam described risks from long-lived, overprivileged access tokens stored where agents can reach them. GitHub’s remote server uses OAuth 2.1, and the team added PKCE support to GitHub’s authorization server. It also filters tools based on personal access token scopes and supports step-up OAuth, which lets users grant additional scopes when needed.
GitHub runs a stateless setup with Redis for session storage and creates a fresh server instance for each request, adding tools based on configuration and policy. The server handled around 7 million tool calls a week without session affinity. An Insiders mode gives users access to experiments, including MCP apps for reviewing AI-generated issues before posting.
Sam expects server discovery to become more automatic and tool use to become more compositional, with thousands of tools becoming normal. He pointed to tool search APIs from Anthropic and OpenAI, and encouraged experimentation with custom clients and MCP CLIs. GitHub’s local server had over 11 million Docker downloads, nearly 30,000 stars, and 126 contributors.
Takeaways
- Keep an eye on the full tool set an agent receives: more choices can increase context use and reduce reliability.
- Measure output tokens as well as tool descriptions; shaping a response around common needs can cut context substantially.
- Move multi-step operations to the server when that reduces agent round trips and failure opportunities.
- Use scoped tokens and step-up authorization so agents can start with limited access and request more when needed.
- For stateless scaling, build the request’s tool set from configuration and policy rather than relying on a long-lived server session.
Mentioned in this talk
Search inside this talk
What was claimed 14
- works atSam Morrow works at
GitHub
Senior Software Engineer (Copilot Agent Services; leads GitHub MCP Server)“I lead development of GitHub's MCP server”
YouTube Verified2 sources· Talk, Web· archived
- feature
Figma MCP server: Groups related product tools into configurable tool sets and supports dynamic tool selection
“I quickly added tool sets, a grouping concept for related product tools”
YouTube Unverified1 source· Talk
- metric
Figma MCP server: Approximately 49% reduction in initial context load from focusing tools on the general case
“that was about a 49% reduction in the initial load”
YouTube Unverified1 source· Talk
- metric
Figma MCP server: More than 75% fewer output tokens for the list pull requests tool after tailoring its output
“we actually lost more than 75% of the tokens used in the output”
YouTube Unverified1 source· Talk
- metric
Figma MCP server: Tool success rate is roughly over 95%
“The success rate is roughly over 95% at this point”
YouTube Unverified1 source· Talk
- uses
Figma MCP server uses OAuth
“Our remote server supports OAuth 2.1”
YouTube Unverified1 source· Talk
- feature
Figma MCP server: Filters tools based on personal access token scopes and supports step-up OAuth scope challenges
“we immediately filter the tools based on the token's scopes”
YouTube Unverified1 source· Talk
- uses
Figma MCP server uses
Redis
Session storage“we've been using Redis for session storage”
YouTube Unverified1 source· Talk











