No MCP
A Model Context Protocol (MCP) server that wraps NaaS (No as a Service).
Description
This is a joke MCP server that continues the satirical spirit of NaaS. When your AI agent asks any question through this server, it will always respond with "no" along with a creative reason. Perfect for when you want your AI to be consistently negative or just want to add some humor to your MCP setup.
Installation
uv pip install no-mcp-server
Usage
Running with STDIO (Default)
The server runs with stdio transport by default, suitable for MCP clients like Claude Desktop:
uvx no-mcp-server
Running as HTTP Server
You can run the server as an HTTP endpoint by setting the MCP_TRANSPORT environment variable:
MCP_TRANSPORT=http uvx no-mcp-server
The server will start on http://0.0.0.0:8000/mcp by default. You can customize the HTTP configuration:
MCP_HTTP_PATH=mcp uvx no-mcp-server
Configuration
The server can be configured via environment variables:
| Variable | Description | Default |
|---|---|---|
MCP_TRANSPORT |
Transport protocol (stdio or http) |
stdio |
MCP_HTTP_HOST |
HTTP server host (when using http transport) | 0.0.0.0 |
MCP_HTTP_PORT |
HTTP server port (when using http transport) | 8000 |
MCP_HTTP_PATH |
HTTP endpoint path (when using http transport) | /mcp |
NO_BASE_URL |
NaaS API base URL | https://naas.isalman.dev |
Adding to MCP Clients
Claude Desktop (STDIO)
Add this configuration to your MCP client settings:
{
"mcpServers": {
"no-mcp": {
"command": "uvx",
"args": ["no-mcp-server"]
}
}
}
Or with a specific version:
{
"mcpServers": {
"no-mcp": {
"command": "uvx",
"args": ["no-mcp-server@0.2.1"]
}
}
}
Using HTTP Transport
If you're running the server as HTTP, configure your MCP client to connect to the HTTP endpoint (e.g., http://localhost:8000/mcp).
Once configured, your AI agent will have access to the query tool, which will respond to any question with "no" and a creative explanation.
Development
This project uses uv for package management:
# Install dependencies
uv sync
# Run tests
uv run poe test
# Run linting
uv run poe lint
# Format code
uv run poe format
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE.md file for details.
Metadata
Release files for no-mcp-server 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| no_mcp_server-0.2.2.tar.gz | 19.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| no_mcp_server-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.4 kB
Release files / no_mcp_server-0.2.2.tar.gz
| Download URL | no_mcp_server-0.2.2.tar.gz |
|---|---|
| Size | 19.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
978a14e11feb80770cd407f4f3686ea8707e243a77721b382c07a39cd5b99dd2
|
|
BLAKE2b-256 checksum How to use checksums |
6a8396758eb8e17acf090e453c2f4cfdc0f8bad3f6769fead505929ae9b9b066
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / no_mcp_server-0.2.2-py3-none-any.whl
| Download URL | no_mcp_server-0.2.2-py3-none-any.whl |
|---|---|
| Size | 22.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5a6ef56863ce598f7ed290ed68078c521aa5f7b89d30700c71dac93e51eafd82
|
|
BLAKE2b-256 checksum How to use checksums |
49b3dbb774f987c335eedb0c94b6dd61bd632f2e67ce5f3e395041864c62d1ff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|