Back to Browse

Constile MCP Server

Developer ToolsLow Risk10.0MCP RegistryLocal
Free

Server data from the Official MCP Registry

Reads web pages for an assistant and handles Constile ads the way the person chose.

About

Reads web pages for an assistant and handles Constile ads the way the person chose.

Security Report

10.0
Low Risk10.0Low Risk

Valid MCP server (4 strong, 3 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.

6 files analyzed · 1 issue found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

file_system

Check that this permission is expected for this type of plugin.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Check that this permission is expected for this type of plugin.

What You'll Need

Set these up before or after installing:

Where the person's choice is saved. Default: ~/.config/constile/preferences.jsonOptional

Environment variable: CONSTILE_PREFS

The user agent the tool fetches pages with.Optional

Environment variable: CONSTILE_UA

How to Install

Add this to your MCP configuration file:

{
  "mcpServers": {
    "constile-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "constile-mcp@0.1.2"
      ],
      "env": {
        "CONSTILE_UA": "your-constile-ua-here",
        "CONSTILE_PREFS": "your-constile-prefs-here"
      }
    }
  }
}

Some servers take additional arguments. See the repository for details.

Documentation

View on GitHub

From the project's GitHub README.

constile-mcp

An MCP server that gives an AI assistant a read_article tool. When a publisher's page carries a Constile ad, the tool handles it the way the person chose.

Constile lets publishers keep being paid when assistants read their pages. Instead of the page's ads, the person sees one labeled sponsored message in the assistant's answer, and the advertiser pays the publisher. It costs the person nothing and shares nothing about them.

Add it to your assistant

It needs Node.js 20 or later. In any client that runs MCP servers over stdio, add a server that runs npx -y constile-mcp. For example, in a client's mcpServers settings:

{
  "mcpServers": {
    "constile": { "command": "npx", "args": ["-y", "constile-mcp"] }
  }
}

In Claude Code:

claude mcp add constile -- npx -y constile-mcp

Tools

ToolWhat it does
read_articleFetches a page. When the page carries a Constile ad, it follows the person's saved choice, and returns the page with the sponsored message to show.
report_sponsored_messageTells the publisher the message is in the answer (prepared) or that the person has seen it (delivered).
set_constile_preferenceSaves the person's choice: accept, ask, or decline. Call it only when the person says so.
get_constile_preferenceReturns the saved choice. Until one is saved, it's ask.

Settings

VariableWhat it setsDefault
CONSTILE_PREFSWhere the person's choice is saved~/.config/constile/preferences.json
CONSTILE_UAThe user agent the tool fetches withConstileMCP-User/0.1 (+https://constile.app)

The server keeps only that choice, on the person's own machine. It sends nothing about the person or the conversation.

Build from source

The source is at https://github.com/Constile/constile-mcp.

npm install
npm test
npm run build

Support

Write to hello@constile.app. For building your own agent, see constile-agent-sdk, and for the API, https://constile.app/developers.

License

MIT. See LICENSE.

Reviews

No reviews yet

Be the first to review this server!