Provides SDK-independent data contracts and authorization models for Model Context Protocol execution. Use when implementing MCP client or server tooling.
# Source: https://github.com/mistralai/mistral-vibe | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works # Provided via justclaw.it.com; keep this notice with the code. """SDK-independent contracts for Unified Harness MCP execution.""" from __future__ import annotations from collections.abc import Awaitable, Callable, Mapping from dataclasses import dataclass, field from datetime import datetime from fnmatch import fnmatch from functools import lru_cache from pathlib import Path import re from types import MappingProxyType from typing import Literal, Protocol from pydantic import JsonValue type JsonObject = dict[str, JsonValue] type JsonSchema = bool | JsonObject type MCPTransportKind = Literal["http", "streamable-http", "stdio"] type MCPAuthori ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key