pypi negotiate-mcpstdioMITupdated 2mo ago
Model Context Protocol (MCP) server for the negotiate.v1 protocol. Once installed in Claude Desktop, Cowork, Claude Code, or any other MCP-aware client, your Claude gains five native tools for negotiating with any negotiate.v1-compliant store.
negotiate mcp 能做什么?
negotiate-mcp
Model Context Protocol (MCP) server for the negotiate.v1 protocol. Once installed in Claude Desktop, Cowork, Claude Code, or any other MCP-aware client, your Claude gains five native tools for negotiating with any negotiate.v1-compliant store.
What you get
| Tool | Purpose |
|---|---|
discover_store(domain) |
Probe a domain to check if it's negotiable. Returns the protocol descriptor. |
list_products(domain) |
Enumerate negotiable products at the store. |
start_negotiation(domain, product_id) |
Open a chat session with the merchant agent. |
send_message(next_url, message) |
Send one shopper turn. |
read_history(history_url) |
Read the running history of a session. |
The agent uses these like a human would use a browser: discover the store, pick a product, start a chat, send turns until the deal closes.
mcp-name: io.github.sanjana-pier39/negotiate-mcp
Install
The recommended path uses uv — no virtualenv plumbing, picks the right Python automatically.
# install uv if you don't have it (macOS):
brew install uv
# then point Claude Desktop / Cowork / Claude Code at it (see below).
# uvx will install the package the first time it's invoked.
If you'd rather use plain pip:
pip install negotiate-mcp
Wire it into Claude Desktop
-
Open your Claude Desktop config:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add this entry under
mcpServers(creating the file if it doesn't exist):{ "mcpServers": { "negotiate-agent": { "command": "uvx", "args": ["negotiate-mcp"] } } } -
Quit and re-open Claude Desktop. The five tools should appear in any new conversation.
If you installed with plain pip instead of uv, replace the command/args block with:
"command": "negotiate-mcp",
"args": []
Wire it into Cowork or Claude Code
Same negotiate-mcp command. Add it to the corresponding MCP config in those clients (consult their docs for exact paths). The tool surface is identical.
Try it
Once installed, in a fresh chat:
Negotiate for a Dyson HP07 at negotiate.pier39.ai. Try to get it under $500. Bonus points for the engraved gift box.
Claude will call discover_store("negotiate.pier39.ai"), find the HP07 in the product list, call start_negotiation, then drive the conversation through send_message until closed: true. No prompt acrobatics needed.
Test standalone (no Claude required)
# Run the server on stdio:
uvx negotiate-mcp
# Or, if you've used pip:
python -m negotiate_mcp
Most useful when paired with the mcp CLI to inspect tool definitions and exercise them by hand.
Adding more stores
The connector works against any negotiate.v1-compliant store, not just the Atlas reference (negotiate.pier39.ai). As stores adopt the protocol, just point your shopper agent at their domain — the same five tools work everywhere.
See PROTOCOL.md for the full spec.
Develop locally
git clone https://github.com/sanjana-pier39/negotiate-mcp
cd negotiate-mcp
pip install -e .
python -m negotiate_mcp # runs on stdio
To publish a new version, see PUBLISH.md.
License
MIT.
安装
把 negotiate mcp 添加到你的客户端。选择你正在使用的那个。
claude mcp add negotiate-mcp -- uvx negotiate-mcpcodex mcp add negotiate-mcp -- uvx negotiate-mcpamp mcp add negotiate-mcp -- uvx negotiate-mcp{
"mcpServers": {
"negotiate-mcp": {
"command": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"negotiate-mcp": {
"command": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"negotiate-mcp","command":"uvx","args":["negotiate-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"negotiate-mcp": {
"command": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"negotiate-mcp": {
"command": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"negotiate-mcp": {
"command": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"negotiate-mcp": {
"type": "local",
"command": "uvx",
"args": [
"negotiate-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"negotiate-mcp": {
"command": {
"path": "uvx",
"args": [
"negotiate-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
uvx negotiate-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
评分
39 / 100
不完整
- 文档18/25
- 维护16/25
- 可信度13/20
- 能力0/15
- 安装体验12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 55 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
版本历史
| 版本 | 发布于 |
|---|---|
| 0.1.1最新 | 2026年5月3日 |