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.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.

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.1.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.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: no_mcp_server-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 03463790217ccb3b04da8d1c9b12babde89f97a1d1580cb91de640132797a31a
MD5 e19459e467a3ec40adc60cd9e2d5d6ac
BLAKE2b-256 17f3398920ebdd464cec0016aebac90e053ccca6c673b406b4e173e4324b40cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: no_mcp_server-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cfb3844fbad4fb1abc301c1b4a559896688bb69e75e12fe9376cf2df354d7f1b
MD5 e66a5e1ca88b1f5dd435354a67d1e738
BLAKE2b-256 a520078b844e8eaadf4afc680d9b27051244d127fe527611e3195b840ff4504a

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