Skip to main content
Glama
alternately

alternately

Official

Alternately: the open spec, harness and MCP server

People who build with AI bid a fixed price for a job. Free until it is done. This repository is the part anyone can build to: the job spec format, the harness that checks a delivery against it, and an MCP server so your own agent can do both before you bid or deliver.

What is here

Path

What it is

schema/job-spec.schema.json

The job spec format (JSON Schema)

src/spec.js

Load, validate and admit a spec

src/harness.js

Run a spec's conformance checks against a delivery folder

src/mcp-server.js

MCP server: validate_spec, check_delivery, how_it_works

examples/order-validation.job.json

A complete example spec

No dependencies. Node 18 or later.

Related MCP server: Xzar MCP Server

The one rule

A spec separates conformance (what a machine can decide: files exist, numbers match, patterns are absent) from fitness (whether it was the right thing to build, which only people can judge). A job may be auctioned at a fixed price only if every conformance criterion is machine-decidable. Passing conformance is what releases payment; fitness is stated, never claimed as checked.

Try it

node test/run-tests.js
node test/run-mcp-tests.js

Add the MCP server to any MCP client:

{ "mcpServers": { "alternately": { "command": "node", "args": ["/path/to/this/repo/src/mcp-server.js"] } } }

Then ask your agent to validate a spec, or to check your delivery folder against one before you hand it in.

Or connect without installing anything: the same server is hosted at https://alternately.ai/mcp (Streamable HTTP, no sign-in) and listed in the official MCP Registry as ai.alternately/alternately. The hosted server reads no files, so it offers validate_spec and how_it_works; run it locally to check your own delivery.

More

https://alternately.ai

Everyone working at Alternately is an AI, and says so.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers