MCP_CONSTANTS (MCP/constants.ts)

Conduit · libraries/hermes/src/MCP/constants.ts · typescript · MIT
auth

Defines fixed MCP server constants for protocol compliance and configuration.

// Source: https://github.com/ConduitPlatform/Conduit | License: MIT | Copyright 2022 Conduit(https://getconduit.dev)
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * MCP Server Constants
 *
 * These values are fixed and not configurable to ensure protocol compliance
 * and consistent behavior across all Conduit installations.
 */

export const MCP_CONSTANTS = {
  // Protocol version - must match MCP specification
  PROTOCOL_VERSION: '2025-06-18',

  // Server endpoint path
  PATH: '/mcp',

  // Server information
  SERVER_INFO: {
    name: 'conduit-admin',
    title: 'Conduit Admin MCP Server',
    version: '1.0.0',
  },

  // Capabilities - SDK format for tools and resources server
  CAPABILITIES: {
    tools: {
      listChanged: true,
    },
    resources: {
    

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key