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

Uploaded Python 3

File details

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

File metadata

  • Download URL: no_mcp_server-0.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 978a14e11feb80770cd407f4f3686ea8707e243a77721b382c07a39cd5b99dd2
MD5 85ab7cc216d54c1bed012d1f7f28f9e6
BLAKE2b-256 6a8396758eb8e17acf090e453c2f4cfdc0f8bad3f6769fead505929ae9b9b066

See more details on using hashes here.

File details

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

File metadata

  • Download URL: no_mcp_server-0.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6ef56863ce598f7ed290ed68078c521aa5f7b89d30700c71dac93e51eafd82
MD5 88494f2c9fedca0631bffc053a4f4800
BLAKE2b-256 49b3dbb774f987c335eedb0c94b6dd61bd632f2e67ce5f3e395041864c62d1ff

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