pforge MCP sunucusu
Commit 10 Kas 2026Boilerplate kod yazmak yerine deklaratif YAML konfigürasyonu kullanarak MCP server'lar oluşturun.
Ayrıca bilinen adı paiml/pforge
- Yıldızlar
- 3
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- 0.1.2
- Son commit
- 10 Kas 2026
- Lisans
- MIT
pforge MCP nedir?
pforge bir MCP sunucusudur. Boilerplate kod yazmak yerine deklaratif YAML konfigürasyonu kullanarak MCP server'lar oluşturun.
Özet, projenin README dosyasından oluşturuldu
pforge MCP sunucusu hakkında
Tekrarlayan boilerplate kodlar yazmadan Model Context Protocol server'ları oluşturmak isteyen geliştiriciler, araçlarını YAML konfigürasyonu aracılığıyla tanımlamak için pforge kullanabilirler. Bu framework, protokol implementasyonu ve transport işlemlerini yönetmek için pmcp SDK üzerine inşa edilerek, tanımlamalarınızdan optimize edilmiş Rust kodu üretir. Cargo aracılığıyla pforge-cli kurulumunu yaparak ve projenizi çalıştırmak için pforge serve komutunu kullanarak sunucunuzu yönetebilirsiniz.
Sistem, farklı ihtiyaçlara yanıt vermek için dört farklı handler türünü destekler: tip güvenliği için native Rust fonksiyonları, shell yürütme için CLI komutları, uç noktaları proxylemek için HTTP ve araçları birbirine bağlamak için pipeline'lar. Rust üzerine inşa edilmiş olmasına rağmen, tip güvenli handler tanımlamalarına ve çalışma zamanı şema doğrulama süreçlerine olanak tanıyan bir Deno/TypeScript köprüsü sunar. Bu yaklaşım, odağı protokol altyapısından araç mantığına ve konfigürasyona kaydırarak hızlı geliştirme imkanı sağlar.
Neler yapabilirsiniz
- 1Hızlıca yeni bir sunucu iskeleti oluşturunBir geliştirici, tek bir komut çalıştırarak yeni bir proje yapısını hızlıca başlatabilir.
- 2Shell komutlarını araç olarak çalıştırınCLI handler türünü kullanarak yerel sistem komutlarını çalıştıran bir MCP aracı oluşturabilirsiniz.
- 3Harici web servislerini proxyleyinGeliştiriciler, HTTP handler'larını kullanarak mevcut web API'lerine köprü görevi gören bir sunucu inşa edebilirler.
- 4TypeScript kullanarak sunucular oluşturunWeb teknolojilerini tercih eden kullanıcılar, saf Rust yerine Deno ve TypeScript kullanarak handler'ları uygulayabilirler.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirpaiml/pforge is public and reachablegithub.com/paiml/pforge ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-11-10github.com/paiml/pforge ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
pforge
A declarative framework for building Model Context Protocol (MCP) servers using YAML configuration.
MCP Server
Registry Name: io.github.paiml/pforge
pforge is available in the Model Context Protocol (MCP) Registry. Install it via:
# Via Cargo (recommended)
cargo install pforge-cli
# Then run as MCP server
pforge serve
For Maintainers: See MCP Registry Publishing Guide for publishing instructions.
What is pforge?
pforge lets you define MCP servers in YAML instead of writing boilerplate code. It's built on top of pmcp (rust-mcp-sdk) and generates optimized Rust code from your configuration.
Quick example:
forge:
name: my-server
version: 0.1.0
transport: stdio
tools:
- type: native
name: greet
description: "Greet someone"
handler:
path: handlers::greet_handler
params:
name: { type: string, required: true }
Installation
# From crates.io
cargo install pforge-cli
# From source
git clone https://github.com/paiml/pforge
cd pforge
cargo install --path crates/pforge-cli
Quick Start
# Create new project
pforge new my-server
cd my-server
# Run the server
pforge serve
The scaffolded project includes a working example handler. Edit pforge.yaml to add more tools, then implement handlers in src/handlers/.
Handler Types
pforge supports four handler types:
- Native - Rust functions with full type safety
- CLI - Execute shell commands
- HTTP - Proxy HTTP endpoints
- Pipeline - Chain multiple tools together
See the book for detailed examples of each type.
Language Bridges
pforge provides language bridges for building MCP servers in your preferred language:
Deno/TypeScript Bridge
Build type-safe MCP servers using TypeScript and Deno with native performance:
import { PforgeBridge } from "https://raw.githubusercontent.com/paiml/pforge/main/bridges/deno/bridge.ts";
const bridge = new PforgeBridge();
bridge.register({
name: "greet",
description: "Greet a user by name",
handler: (input: { name: string }) => ({
success: true,
data: { message: `Hello, ${input.name}!` },
}),
});
const result = await bridge.execute("greet", { name: "Alice" });
console.log(result.data);
Features:
- Type-safe handler definitions with TypeScript generics
- Runtime schema validation with no external dependencies
- O(1) handler lookup performance
- Both sync and async handler support
- 74+ tests passing with full quality gates
Documentation: bridges/deno/README.md
Coming Soon
- Python bridge (FFI-based with asyncio support)
- Go bridge (CGo-based with goroutine support)
- Node.js bridge (Native addon with N-API)
Documentation
- Book - Complete guide with examples and comparisons
- Architecture - Technical design details
- User Guide - Usage guide
- Implementation Status - Current project status
- CLAUDE.md - Development workflow for contributors
Examples
- hello-world - Minimal native handler example
- calculator - Math operations with tests
- rest-api-proxy - HTTP handler examples
Project Status
Version: 0.1.2
Published crates:
pforge-config- Configuration parsingpforge-macro- Procedural macrospforge-runtime- Core runtime (depends on pmcp)pforge-codegen- Code generationpforge-cli- CLI tool
Test results: 120+ tests passing (90+ unit/integration, 12 property-based, 8 quality gates, 5+ doctests)
See IMPLEMENTATION_STATUS.md for detailed progress.
Development
# Run tests
cargo test --all
# Run quality gates
make quality-gate
# Watch mode
make watch
# Build release
make build-release
See CLAUDE.md for full development workflow.
Architecture
pforge is built as a framework on top of pmcp (rust-mcp-sdk):
┌─────────────────────────────────┐
│ pforge (Framework Layer) │
│ - YAML → Rust codegen │
│ - Handler registry │
│ - State management │
└─────────────────────────────────┘
↓
┌─────────────────────────────────┐
│ pmcp (Protocol SDK) │
│ - MCP protocol implementation │
│ - Transport handling │
└─────────────────────────────────┘
When to use pmcp directly: You need fine-grained control over MCP protocol details or want to avoid code generation.
When to use pforge: You want declarative configuration and rapid MCP server development with less code.
Contributing
Contributions are welcome. Please:
- Read CLAUDE.md for development standards
- Check ROADMAP.md for current priorities
- Ensure tests pass:
cargo test --all - Ensure quality gates pass:
make quality-gate
All commits are validated by pre-commit hooks that check code formatting, linting, tests, complexity, coverage, and markdown link validity (using pmat validate-docs) to prevent broken documentation links.
License
MIT - see LICENSE
Acknowledgments
Built on pmcp by Pragmatic AI Labs.
pforge MCP soruları
pforge tarafından desteklenen farklı handler türleri nelerdir?
pforge; Native (Rust fonksiyonları), CLI (shell komutları), HTTP (proxy uç noktaları) ve Pipeline (araçları zincirleme) handler türlerini destekler.
TypeScript kullanarak MCP server oluşturabilir miyim?
Evet, pforge; TypeScript ve Deno kullanarak tip güvenli MCP server'lar oluşturmanıza olanak tanıyan bir Deno/TypeScript köprüsü sağlar.
pforge nasıl kurulur?
CLI aracını Cargo üzerinden 'cargo install pforge-cli' komutuyla kurabilirsiniz.
pmcp yerine ne zaman pforge kullanmalıyım?
Deklaratif konfigürasyon ve daha az kodla hızlı geliştirme yapmak istediğinizde pforge'u kullanın; protokol detayları üzerinde daha hassas kontrol gerektiğinde ise pmcp daha uygundur.