Skip to main content

MCP wrapper for NaaS.

Project description

No MCP

License: GPL v3 PyPI version

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.0"]
    }
  }
}

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

no_mcp_server-0.2.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

no_mcp_server-0.2.0-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file no_mcp_server-0.2.0.tar.gz.

File metadata

  • Download URL: no_mcp_server-0.2.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for no_mcp_server-0.2.0.tar.gz
Algorithm Hash digest
SHA256 16f639d10f524a428723afd20240a60189d26e87e6ebc5395cc4866329b9c495
MD5 892b40c7260bf998857a2ca973e29ba1
BLAKE2b-256 8a375d5aea97d663202c35d574892430eca49f21bdef6ed7837e64a69066f043

See more details on using hashes here.

File details

Details for the file no_mcp_server-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: no_mcp_server-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for no_mcp_server-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3855a09d6cd76ae907be0e5539a0370816526fdb3a812de893ab28f217b79813
MD5 9b2b8801bf7323f7de37a2495b08bd2b
BLAKE2b-256 727a656dfe49a907db92a325129382736e014c334253f3e5f0cbac9d20dadb28

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page