Skip to content
MCP server

Pforge

Rust framework for defining MCP servers declaratively in YAML instead of boilerplate code

Pricing
Open source
Platforms
CLI, Linux, macOS
Version
0.1.2
Listing updated
today

Similar MCP servers

About Pforge

Pforge is an open-source MCP server for developer tools. It is available on CLI, Linux, macOS, Windows and self-hosted.

The README describes pforge as a way to define Model Context Protocol servers in a YAML file rather than hand-writing the server code. A config lists tools and their parameters, and the framework generates Rust code from it, built on the pmcp protocol SDK. Tools can be backed by native Rust handlers, shell commands, HTTP endpoints, or chained pipelines.

Developers start with a scaffolding command that creates a project with a working example handler, then add tools by editing the YAML file and implementing handlers in the source tree. A TypeScript/Deno bridge is documented, with Python, Go and Node.js bridges listed as planned work.

The project is aimed at Rust and TypeScript developers who want less protocol plumbing and prefer declarative configuration. The README also notes that pmcp is the better choice when fine-grained protocol control or no code generation is needed.

What it does

YAML-driven tool definitions
Tools, parameters and server settings are declared in a configuration file that generates the server code.
Four handler types
Tools can be backed by native Rust functions, shell commands, HTTP proxies or multi-tool pipelines.
Built on pmcp
The protocol layer and transport handling come from the pmcp Rust SDK.
Deno/TypeScript bridge
A bridge lets TypeScript handlers be registered and executed with runtime schema validation.
Published Rust crates
Config, macro, runtime, codegen and CLI components are published on crates.io.

Good for

  • Exposing a shell command or internal HTTP API to AI clients as MCP tools
  • Building a Rust-based MCP server without writing protocol boilerplate
  • Writing MCP tool handlers in TypeScript via the Deno bridge
  • Chaining several existing tools into a single pipeline tool

Pricing

Open source

Free and open source under the MIT license.

Pforge FAQ

How do I install pforge?

The README recommends installing the pforge-cli crate with Cargo, then running pforge serve to start the server.

Which languages are supported for handlers?

Rust is the native handler language and a Deno/TypeScript bridge is documented. Python, Go and Node.js bridges are listed as coming soon.

What license does pforge use?

The README states that pforge is released under the MIT license.

Is Pforge free?

Yes. Pforge is open source, so you can use and self-host it for free.

What are the best alternatives to Pforge?

The closest alternatives to Pforge are Pmcp, MCP Server Template, MCP Ts Template, Deixis and Forgejo / Codeberg / Gitea.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.

How AIPoweredBot checks servers