Skip to content
AI News HubLIVE
More
Summary only

Harbor: An MCP gateway that connects AI clients to back end APIs via tools

Harbor is a production-grade Model Context Protocol (MCP) gateway that enables AI clients like Claude, Cursor, and GPT to interact with backend APIs without modifying them. It uses a 'Code Mode' approach, offering only five general-purpose MCP tools and letting AI write JavaScript that runs in an isolated V8 sandbox for API calls, authentication, circuit breaking, and audit logging. It supports OAuth 2.1, static tokens, JWT, and pluggable backends. The project is open-source on GitHub under Apache 2.0.

SourceHacker News AIAuthor: r0rshrk
Harbor: An MCP gateway that connects AI clients to back end APIs via tools
Report an error

The correction channel is not available yet. You can copy the article reference below for later.

Correction instructions

Summary only

Under the source content permission, this page provides an editorial summary, key points, and a link to the original article.

Key points and analysis

Article intelligence

EngineersIntermediate

Key points

  • Harbor is an MCP gateway using Code Mode: AI gets five tools and writes JavaScript to call APIs, avoiding one tool per endpoint.
  • V8 sandbox isolation ensures security; AI code cannot access network, filesystem, or framework internals.
  • Supports multiple auth methods (OAuth 2.1, static token, JWT) and pluggable backend adapters.
  • Built-in circuit breaker, retry, structured audit logs, and easy integration with Cursor and Claude Desktop.

Highlights and analysis are generated automatically and may contain errors. Check the original source.