TechAILatest.newsTrackers
AI Agents / MCP

GitHub MCP Server 2.0 adds typed outputs and output schemas for agents that write code

GitHub released version 2.0.0 of its MCP server on 6 October 2026 with typed structured outputs and output schemas for clients on MCP spec 2026-07-28.

By Emre AlemdarPublished

A metal letterbox slot labelled GitHub on the dark front door of an office building, with a street reflected in the glass.Tech AI Latest
The GitHub letterbox at the company office on Spuistraat in Amsterdam, photographed in November 2023. Photo: Rrustema, CC0, via Wikimedia Commons

GitHub released version 2.0.0 of the GitHub MCP Server on 6 October 2026. The release gives its tools typed inputs, structured outputs and output schemas, aimed at agents that use code mode or programmatic tool calling. The schemas are only advertised to clients that support the 2026-07-28 MCP specification or later. Three patch releases followed by 21 October, fixing the Go module path, header validation and large file handling.

Key facts

  • Announced: 6 October 2026 (GitHub release notes for github-mcp-server v2.0.0)
  • Change: typed structured outputs and output schemas across issues, pull requests, repositories, search, Actions, security alerts, discussions and notifications
  • Compatibility: schemas are advertised only to clients on MCP specification 2026-07-28 or later
  • Follow-ups: v2.0.1 (7 October) fixed the Go module path; v2.0.2 (8 October) restored header validation; v2.0.3 (21 October) added pagination and large-file links
  • License: MIT; pricing for the hosted remote server is not stated in the announcement

What GitHub released

GitHub published version 2.0.0 of the GitHub MCP Server on 6 October 2026. The GitHub MCP Server is the company's open-source Model Context Protocol server, which lets AI agents read repositories, manage issues and pull requests, check Actions runs and review security alerts.

The release notes explain the reason for the major version. More agents now support what GitHub calls Code Mode or Programmatic Tool Calling, where the model writes code that calls tools instead of calling them one at a time. To support that, the server added structured outputs and output schemas, so a client knows the shape of each tool's result before it calls it. The pull requests in the release add typed inputs and outputs to tools for issues, pull requests, repositories, commits, search, GitHub Actions, security alerts, discussions, notifications and comments. A separate change caches the encoded tools/list schemas to cut repeated work.

What changed for MCP clients

The new schemas are only advertised to clients that declare support for the 2026-07-28 MCP specification or later. GitHub says its compound tools needed changes to the allowed output schemas that are not valid for older clients, so the server does not return those schemas to them. A client on an older protocol revision should therefore see the same tool shapes as before.

The 2.0 line needed three quick fixes. Version 2.0.1 on 7 October switched Go library users to the /v2 module path; the project README notes that the original v2.0.0 tag cannot be used as a Go module. Version 2.0.2 on 8 October restored HTTP header validation for typed tools. Version 2.0.3 on 21 October added cursor pagination to list_label, made get_file_contents return a resource link for files over 1 MB, and moved the build to Go 1.27.3 as a certificate authority mitigation.

Why it matters

Typed outputs matter more as agents move from calling one tool per turn to writing short programs that chain several calls. Without a schema, generated code has to guess field names in a result, which is a common source of failed runs. With one, a host can type-check or validate the code before running it. With more than 34,000 stars on its repository, GitHub's server is among the most visible MCP servers, so its adoption of the 2026-07-28 output schema rules gives client developers a large real-world target to test against.

The protocol-version gate is the other point to note. Rather than breaking older hosts, GitHub chose to serve the richer schemas only where the client has opted into the newer specification. That pattern, also used in the official MCP SDKs, is likely to become the norm as the 2026-07-28 revision spreads.

What to watch next

The release notes do not say when the hosted remote server picked up 2.0 or whether any client behavior changed for Copilot users. Watch for client support for 2026-07-28 in editors such as VS Code and in agent frameworks, since that decides who sees the new schemas. More MCP coverage is collected under AI Agents.

What changed

BeforeGitHub MCP Server 1.x tools returned results without published output schemas, so agents writing code against them had to infer result shapes
AfterVersion 2.0 gives tools typed inputs, structured outputs and output schemas, advertised to clients on MCP specification 2026-07-28 or later
Who it affectsDevelopers of MCP hosts and agents that use code mode or programmatic tool calling, and Go projects that import the server as a library

Questions people ask

Which clients see the new output schemas in GitHub MCP Server 2.0?
Only clients that advertise support for the 2026-07-28 MCP specification or later, according to the v2.0.0 release notes.
Do Go library users need to change anything?
Yes. Version 2.0.1 moved the module path to github.com/github/github-mcp-server/v2, and the README says the v2.0.0 tag cannot be used as a Go module.
Is the GitHub MCP Server free to use?
The server code is open source under the MIT license. Pricing for the hosted remote server is not stated in the announcement.

Sources

  1. GitHub MCP Server 2.0.0 (GitHub, 6 Oct 2026)
  2. GitHub MCP Server 2.0.1 (GitHub, 7 Oct 2026)
  3. GitHub MCP Server 2.0.2 (GitHub, 8 Oct 2026)
  4. GitHub MCP Server 2.0.3 (GitHub, 21 Oct 2026)
  5. GitHub MCP Server README (GitHub, 28 Oct 2026)

Reference pages

Spotted an error? See the corrections policy and tell the editor. Facts in this story come from the sources listed above; vendor claims are attributed.

Comments

Loading comments.

No links, no insults; comments that break the rules are not published. 0/1000

Related stories

All ai agents