Skip to main content
Glama
MichaelCPHP

mcp-anvil-lite

by MichaelCPHP
README.md
# MCP Anvil Lite (free)

A **minimal, correct** starting point for a [Model Context Protocol](https://modelcontextprotocol.io) server in TypeScript — stdio transport, one tool, on the stable SDK. Clone it, wire it into Claude Desktop, and you have a working MCP server in minutes.

```bash
npm install
npm run build
npm start          # runs the stdio server
npm test
```

### Use it with Claude Desktop

```json
{
  "mcpServers": {
    "anvil-lite": { "command": "node", "args": ["/absolute/path/to/mcp-anvil-lite/dist/stdio.js"] }
  }
}
```

Add your own tool: copy the `echo` block in `src/server.ts`, change the Zod schema + handler. Done.

---

## Going to production? → **MCP Anvil Pro**

This lite kit is deliberately minimal. When you need to *ship*, the Pro kit hands you the parts that take a week to get right — and the security gotchas most tutorials quietly skip:

| | Lite (this) | **Pro** |
|---|:---:|:---:|
| stdio transport | ✓ | ✓ |
| Streamable HTTP transport | — | ✓ |
| Auth — API key + OAuth (JWKS) | — | ✓ |
| Example tools | 1 | 4 (with SSRF / path-traversal / SQLi guards) |
| DNS-rebinding protection | — | ✓ |
| Request-size / response caps | — | ✓ |
| Docker + deploy configs | — | ✓ |
| Protocol integration test suite | basic | full |
| Zero-to-deployed guide | — | ✓ |

**Ship a production MCP server in an hour, not a week → [mcpanvil.dev](https://mcpanvil.dev)**

## License

MIT — use it freely.

TDQS

A3.9/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no risk of confusion between tools. The tool's purpose is clearly distinct by default.

Naming Consistency5/5

With a single tool named 'echo', there is no inconsistency. The name is simple and follows a common pattern for this type of tool.

Tool Count3/5

A single tool is minimal, but for a server named 'anvil-lite' offering only an echo function, it is borderline appropriate. The count is at the lower end of acceptable for a limited-scope server.

Completeness5/5

The server's purpose appears to be providing a trivial echo utility. A single tool is fully sufficient to fulfill that purpose, with no gaps.

Maintenance

ActivityInactive
ResponsivenessNo issues