UNPKG

systemprompt-mcp-core

Version:

A specialized Model Context Protocol (MCP) server that integrates with systemprompt.io to provide powerful prompt management capabilities. This server enables seamless creation, management, and versioning of system prompts and agents through MCP. It works

16 lines (15 loc) 531 B
import { PromptMessage } from "@modelcontextprotocol/sdk/types.js"; import { Prompt } from "@modelcontextprotocol/sdk/types.js"; import { JSONSchema7 } from "json-schema"; /** * Represents a sampling prompt that extends the base MCP Prompt. * Used for generating sampling prompts and handling sampling operations. */ export interface SamplingPrompt extends Prompt { messages: PromptMessage[]; _meta: { complexResponseSchema?: JSONSchema7; responseSchema?: JSONSchema7; callback: string; }; }