Skip to content
This repository was archived by the owner on May 31, 2026. It is now read-only.
igmarinPublic archive

About

Agent MCP Runtime

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Agent MCP Runtime

Agent MCP Runtime Logo

⚠️ Archived: This project served as a Rust learning project and ecosystem prototype. The registry resolution logic (PackResolverService, RegistryManifest, TileManifest) is being ported to rails-ai-bridge. This repository is archived.

MIT License Rust Gemini CodeRabbit Pull Request Reviews

Part of the AI Skill Ecosystem

This repo is one of 6 in a composable AI skill ecosystem:

Repo Role
ruby-core-skills 15 shared Ruby skills + process discipline
rails-agent-skills 28 Rails-specific skills + 9 agents
hanakai-yaku 35 Hanami/dry-rb skills + 10 agents
agnostic-planning-skills 10 planning skills + 4 agents
agent-mcp-runtime Rust CLI runtime (pack resolution, MCP)
ruby-skill-bench Benchmark/eval engine

See the Ecosystem Overview for the full architecture. See the Design Overview for the full design details.

Key Features

  • Strict Compile-Time Safety: Zero unsafe code permitted (unsafe_code = "deny") and strict workspace linting gates.
  • Asynchronous ReAct Runner: Orchestrates reasoning and action loops using customizable LLM providers via a factory service (LlmProviderFactory).
  • Model Context Protocol (MCP) Client: Integrates external tools by spawning long-running subprocesses and exchanging JSON-RPC 2.0 messages over stdout/stdin with isolated stream runners.
  • Dynamic Context Merging: Connects to dynamic context provider tools (MCP HTTP) and maps outputs to database, routes, controller, or model context tiers in a framework-agnostic manner.
  • Mockable Skill Pack Caching: Employs git resolvers (SkillSourceResolver) backed by a mockable GitRunner interface for fully offline, fast testing and safe error cleanup.
  • TDD Frontmatter Parser: Parses Markdown frontmatter to extract metadata for agent skills/tools.
  • GitHub Actions CI/CD: Automatic code formatting, strict clippy checks, test suites, and vulnerability scanning (rustsec/audit-check).

Architecture

graph TD
    User([Task Request]) --> Runner[AgentRunner]
    Runner --> Parser[FrontmatterParser]
    Runner --> Provider[LlmProvider Trait]
    Runner --> Tool[Tool Trait]
    Provider --> MockProvider[MockLlmProvider]
    Tool --> MockTool[MockTool]
    Tool --> McpTool[McpTool]
    McpTool --> Client[McpClient]
    Client --> Subprocess[MCP Server Subprocess]
Loading

For detailed information about the system and ecosystem, refer to the following documentation:

  • 🏗️ Ecosystem Overview: Architecture map and repository interaction logic.
  • 🚀 Migration Guide: Reorganization details, list of moved/new skills, and code migration steps.
  • 📐 System Architecture: Deep dive into the ReAct loop engine, traits, and subprocess client.
  • 🤖 Agent Guidelines: Instructions, strict constraints, and contribution history for AI agents.
  • ♊ Gemini Integration: Gemini setup, model recommendations, and JSON payload structures.
  • 🛡️ Security Policy: Vulnerability reporting, memory safety configuration, and dependency audits.
  • 🏁 Getting Started: Prerequisites, building steps, and unit testing guidelines.

Installation

Quick Install (Recommended)

No dependencies required — download a pre-built binary for your platform:

curl -fsSL https://raw.githubusercontent.com/igmarin/agent-mcp-runtime/main/install.sh | bash

The script automatically detects your OS and architecture, downloads the correct binary, and installs it to ~/.local/bin.

Alternative Methods

Manual download — grab a binary from GitHub Releases and place it in your PATH.

From source — if you have Rust installed:

cargo install agent-mcp-runtime

Verify Installation

agent-mcp-runtime --version

Getting Started

Prerequisites

Ensure you have Rust (stable 1.74+) installed (only required for building from source).

Building and Testing

Check out docs/getting_started.md for more details.

  1. Verify Formatting

    cargo fmt --check
  2. Run Lints & Clippy

    cargo clippy --all-targets -- -D warnings
  3. Run Test Suite

    cargo test

Repository Health

We practice strict repository hygiene. Every commit is audited in GitHub Actions CI for formatting, clippy warnings, tests correctness, and dependency security audits via Cargo Audit.

About

Agent MCP Runtime

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages