weather-alerts-api-v0-1-1-mcp
README.md
# Weather & Alerts API
## Capabilities
- 5 tools
- 4 resources
- 1 prompt
## Transport
`streamable-http`
Base URL: `http://localhost:3500/mcp`
## Authentication
`bearer`
Set `MCP_AUTH_TOKEN` in the environment. The server will require `Authorization: Bearer <token>` on every request.
## Run and verify
Copy `.env.example` to `.env` and fill the token and upstream values. HTTP tool calls use the OpenAPI server URL, or `UPSTREAM_BASE_URL` when set; `UPSTREAM_AUTHORIZATION` supplies upstream credentials.
For HTTP, set `MCP_SERVER_URL` and run `node tests/contract/run.mjs`. Integration calls require `MCP_TEST_ARGUMENTS` (a JSON object mapping tool names to test arguments) and `node tests/integration/run.mjs`. Use a test upstream because tool calls execute real operations. For stdio, use `MCP_STDIO_COMMAND` containing a JSON array such as `["node","dist/index.js"]` instead of an HTTP URL. All protocol runners require Node.js 20+. Native unit tests use npm test, pytest or mvn test.
## License
`MIT`
---
_Generated by ForgeQ MCP Generation._
## Run locally
```bash
npm install
npm run build
export MCP_AUTH_TOKEN=dce5a7cf87f501c965f4279169b3a8767b34d5118b98b50769c155bf2db14544
npm start # listens on http://localhost:3500/mcp
```