# {{BIN_NAME}}

{{DESCRIPTION}}

An API-wrapper MCP server with built-in HTTP fetching, timeout handling, and parallel requests.

## Install

```bash
# Claude Code
claude mcp add {{PROJECT_NAME}} -- npx {{BIN_NAME}}

# Claude Desktop — add to claude_desktop_config.json
{
  "mcpServers": {
    "{{PROJECT_NAME}}": {
      "command": "npx",
      "args": ["{{BIN_NAME}}"]
    }
  }
}
```

## Tools

| Tool | Description |
|------|-------------|
| `fetch_url` | Fetch a URL with timeout, returns status + headers + body preview |
| `check_status` | Batch check if URLs are reachable (parallel) |

## Architecture

```
src/
├── index.ts      # MCP server + tool definitions
└── fetcher.ts    # HTTP client with timeout & error handling
```

The `fetcher.ts` module provides `fetchWithTimeout()` — a production-tested pattern from [webcheck-mcp](https://www.npmjs.com/package/webcheck-mcp).

## Development

```bash
npm install
npm run dev    # Start with hot reload
npm run build  # Compile TypeScript
npm publish    # Publish to npm
```

## License

MIT

---

Created with [mcp-quick](https://github.com/yifanyifan897645/mcp-quick)
