mcp_profile 0.2.0 copy "mcp_profile: ^0.2.0" to clipboard
mcp_profile: ^0.2.0 copied to clipboard

AI persona definitions with template rendering, context injection, profile selection, and appraisal scoring for the MCP ecosystem.

MCP Profile #

Positioning: mcp_profile is an internal component of the MakeMind knowledge stack exposed through the mcp_knowledge facade. Application code should import package:mcp_knowledge/mcp_knowledge.dart — the symbols declared here are re-exported from there. Direct package:mcp_profile/ imports remain valid for advanced or integration scenarios but are discouraged in product code.

AI persona definitions with template rendering, context injection, profile selection, and appraisal scoring. Pluggable engines (appraisal / decision / expression) drive a unified runtime that exposes the mcp_bundle standard ports.

Components #

  • DefinitionProfile, sections, capability metadata, builder, registry, renderer.
  • Expression — formatter, policy, style, evaluator (templated profile prompts).
  • Appraisal — engine, metric definition / source, normalization, results.
  • Decision — evaluator, decision policy, policy condition, guidance.
  • Bundle — profile bundle spec.
  • Engines (re-exported for custom implementations and tests) — AppraisalEnginePort, DecisionEnginePort, ExpressionEnginePort, EnginePorts container.
  • Standard port adaptersMetricsPortAdapter, AppraisalPortAdapter, DecisionPortAdapter, ExpressionPortAdapter, ProfileSummariesPortAdapter implementing mcp_bundle Contract Layer.
  • Runtime — unified ProfileRuntime orchestrating Appraisal → Decision → Expression.
  • Feature modules — cache, versioning, concurrency, fact-graph integration.

Quick Start #

import 'package:mcp_profile/mcp_profile.dart';

final runtime = ProfileRuntime(
  registry: ProfileRegistry(),
  engines: EnginePorts(
    appraisal: StubAppraisalEnginePort(),
    decision: DefaultDecisionEnginePort(),
    expression: PassthroughExpressionEnginePort(),
    facts: factsPort,
    summaries: summariesPort,
    llm: llmPort,
  ),
);

final result = await runtime.apply(profileId, RuntimeProfileContext(...));

Support #

License #

MIT — see LICENSE.

0
likes
130
points
93
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

AI persona definitions with template rendering, context injection, profile selection, and appraisal scoring for the MCP ecosystem.

Homepage
Repository (GitHub)
View/report issues

Topics

#ai-personas #mcp #ai #dart #templates

License

MIT (license)

Dependencies

mcp_bundle, meta

More

Packages that depend on mcp_profile