IC

indragiek/context

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

806 stars 36 forks 质量 54 趋势 22MIT

模型上下文协议(MCP)的原生macOS客户端

概览

一个漂亮的、完全原生的 macOS 客户端,适用于模型上下文协议(MCP),使开发者能够与他们的 MCP 服务器交互并调试。 Context 是一款原生的 macOS 应用,使测试和调试 MCP 服务器变得简单。它提供可视化界面,用于调用工具、预览资源并实时监控日志。专为 MCP 服务器开发者打造,支持多条同时连接,并在开发过程中提供所需的调试可视化。 虽然当前功能集涵盖了基础内容,但 Context 正在积极开发为一个全面的 MCP 调试套件。未来版本将包括更完整的 MCP 规范支持、高级调试工具如追踪和代理,以及一个集成的聊天客户端,可以访问 MCP 服务器暴露的所有功能。

概述(AI 翻译)

一个漂亮的、完全原生的 macOS 客户端,适用于模型上下文协议(MCP),使开发者能够与他们的 MCP 服务器交互并调试。

概述

Context 是一款原生的 macOS 应用,使测试和调试 MCP 服务器变得简单。它提供可视化界面,用于调用工具、预览资源并实时监控日志。专为 MCP 服务器开发者打造,支持多条同时连接,并在开发过程中提供所需的调试可视化。

虽然当前功能集涵盖了基础内容,但 Context 正在积极开发为一个全面的 MCP 调试套件。未来版本将包括更完整的 MCP 规范支持、高级调试工具如追踪和代理,以及一个集成的聊天客户端,可以访问 MCP 服务器暴露的所有功能。

特色

  • 原生macOS应用程序,采用Swift和SwiftUI构建
  • 同时连接多个MCP服务器
  • 自动导入 MCP 服务器,来源于 Cursor、Claude Code、Claude Desktop、Windsurf 和 VS Code
  • 基于 JSON 模式的自动生成工具调用界面
  • 基于模板的动态提示生成

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Context

A beautiful, fully native macOS client for the Model Context Protocol (MCP) that empowers developers to interact with and debug their MCP servers.

Overview

Context is a native macOS app that makes it easy to test and debug MCP servers. It provides a visual interface to invoke tools, preview resources, and monitor logs in real-time. Built specifically for MCP server developers, it supports multiple simultaneous connections and provides the debugging visibility you need during development.

While the current feature set covers the essentials, Context is actively being developed into a comprehensive MCP debugging suite. Future releases will include more complete MCP specification support, advanced debugging tools like tracing and proxying, and an integrated chat client that can access all functionality exposed by MCP servers.

Features

  • Native macOS application built with Swift and SwiftUI
  • Connect to multiple MCP servers simultaneously
  • Auto-import of MCP servers from Cursor, Claude Code, Claude Desktop, Windsurf, and VS Code
  • Auto-generated UI for tool invocation based on JSON Schema
  • Dynamic prompt generation with template-based arguments
  • Built-in resource previews with syntax highlighting and QuickLook support
  • Real-time log streaming with filtering and structured log viewing
  • Comprehensive MCP specification support (work in progress)
  • OAuth with dynamic client registration and metadata discovery
  • Support for stdio and Streamable HTTP transports (including HTTP+SSE backward compatibility)

Screenshots

MCP Feature Support

Supported MCP Protocol Version: 2025-03-26

Support for protocol version 2025-06-18 is a work-in-progress

Feature Status
Transports
stdio ✅ Supported
Streamable HTTP ✅ Supported
HTTP+SSE ✅ Supported
Authentication
OAuth 2.1 (IETF DRAFT) ✅ Supported
OAuth 2.0 Auth Server Metadata ✅ Supported
OAuth 2.0 Dynamic Client Registration ✅ Supported
OAuth 2.0 Protected Resource Metadata ✅ Supported
Core Features
Ping ✅ Supported
Prompts ✅ Supported
Resources ✅ Supported
Tools ✅ Supported
Logging ✅ Supported
Advanced Features
Roots ✅ Supported
Sampling ❌ Not Supported
Elicitation ❌ Not Supported
Completion ✅ Supported
Pagination ✅ Supported
Progress ❌ Not Supported

Project Structure

  • Context/ - The macOS application source code
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →