no-as-a-service-mcp
by bashu
README.md
# no-as-a-service-mcp
MCP server that gives you a reason to say no.
Inspired by [No-as-a-Service](https://github.com/hotheadhacker/no-as-a-service). Connect it to any
[MCP](https://modelcontextprotocol.io) client, and your assistant gets a `reason` tool that returns a random,
creative way to say no.
```
you: Can you cover my shift on Saturday? Use the reason tool to answer.
assistant: In a different season of life, I might say yes—but not right now.
```
## Connecting a client
The server speaks MCP over Streamable HTTP at `/mcp`, without authentication. Point your client at
`https://<your-host>/mcp`. For example, with [Claude Code](https://docs.claude.com/en/docs/claude-code):
```sh
claude mcp add --transport http no https://<your-host>/mcp
```
It has one tool, `reason`, which takes no arguments.
## Running locally
Requires Python 3.14+ and [uv](https://docs.astral.sh/uv/).
```sh
uv sync
uv run fastmcp run server.py --transport http --reload
```
The server listens on `http://127.0.0.1:8000/mcp` and restarts when you change the code. Try it with the
[FastMCP CLI](https://gofastmcp.com):
```sh
uv run fastmcp call http://127.0.0.1:8000/mcp reason
```
## Docker
```sh
docker build -t no-as-a-service-mcp .
docker run --rm -p 8000:8000 no-as-a-service-mcp
```
The container listens on all interfaces, on the port from `PORT` (8000 by default).
## Deploying with Dokku
```sh
dokku apps:create no
git remote add dokku dokku@<your-dokku-host>:no
git push dokku main
```
Dokku builds the image from the `Dockerfile` and runs the `web` process from the `Procfile` on the port it assigns.
## Credits
Reasons come from [No-as-a-Service](https://github.com/hotheadhacker/no-as-a-service) by hotheadhacker.
## License
MIT
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues