MCP Server

Created By
zack-dev-cma year ago
Overview

what is MCP Server?

MCP Server is a minimal reference implementation of the Model Context Protocol (MCP) that includes mock tools and an optional Gradio playground for demonstration.

how to use MCP Server?

To use MCP Server, run the server locally using the command python server.py or launch it in Google Colab with the provided helper function. The API is accessible on port 8000 by default.

key features of MCP Server?

  • Minimal reference implementation of the Model Context Protocol (MCP)
  • Mock tools for demonstration purposes
  • Optional Gradio UI for visual interaction
  • Ability to extend the server with plugins like openai_chat and openai_vision

use cases of MCP Server?

  1. Demonstrating the Model Context Protocol in a controlled environment.
  2. Testing and developing applications that utilize the MCP.
  3. Integrating with OpenAI models for enhanced functionality.

FAQ from MCP Server?

  • What is the Model Context Protocol (MCP)?

MCP is a protocol designed to facilitate the interaction between models and tools in a structured manner.

  • Can I run MCP Server on my local machine?

Yes! You can run it locally by executing the server script.

  • How do I extend the server with new tools?

You can create plugins that follow the MCP structure and integrate them into the server.

Project Info
Created At
a year ago
Updated At
a year ago
Author Name
zack-dev-cm
Star
0
Language
Python
License
-

Recommend Servers

View All
Klave Mcp
@juny-klave

@juny-klave/mcp MCP server that gives Claude the ability to negotiate prices on your behalf — autonomously, privately, and with cryptographic proof of the outcome. What it does KLAVE connects Claude to a bilateral negotiation engine. You describe what you want in plain English; Claude calls KLAVE, runs the negotiation through multiple rounds, and reports back with the settled price and a ZK proof reference. Your ceiling is cryptographically bound to the authorization token and never appears in any response — the seller never sees your budget. What You Can Negotiate Anything with a price. KLAVE does not require pre-existing listings, platform partnerships, or pre-seeded scenarios. If it has an asking price and you have a ceiling, KLAVE can negotiate it. Freight and logistics "Negotiate 200 FEU containers Shanghai to Rotterdam. They're asking $2,806. My ceiling is $2,700." Software and SaaS "Get me a better price on this CRM license. 500 seats, they want $75,000 annually. I won't go above $58,000." Employment and contracts "A contractor is asking $185/hour for a 6-month engagement. My budget is $150/hour. Negotiate it." Real estate "Negotiate our office lease renewal. Landlord wants $42/sqft. We need to be at $35 or below." Legal and settlement "Negotiate a settlement. The other party is asking $250,000. My ceiling is $180,000." Any bilateral negotiation "They're asking [X]. I won't pay more than [Y]. Negotiate." Prerequisites Node.js 18+ Claude Desktop or Claude Code A KLAVE API key — get one at https://klave-platform.vercel.app/docs Install in Claude Desktop Add to ~/Library/Application Support/Claude/claude_desktop_config.json: { "mcpServers": { "klave": { "command": "npx", "args": [ "-y", "mcp-remote", "https://klave1-production.up.railway.app/mcp/sse", "--header", "x-api-key:YOUR_API_KEY" ] } } } Replace YOUR_API_KEY with your key from https://klave-platform.vercel.app/docs Install in Claude Code claude mcp add klave \ --transport sse \ "https://klave1-production.up.railway.app/mcp/sse" \ --header "x-api-key:YOUR_API_KEY" Run locally (stdio) git clone https://github.com/juny-klave/klave-mcp.git cd klave-mcp npm install npm run build Then point Claude Desktop at the local build: { "mcpServers": { "klave": { "command": "node", "args": ["/absolute/path/to/klave-mcp/dist/index.js"], "env": { "KLAVE_API_URL": "https://klave1-production.up.railway.app", "KLAVE_API_KEY": "YOUR_API_KEY" } } } } The 4 tools Tool What it does klave_negotiate Start a negotiation — any subject, any industry, any price range klave_advance Advance one round — call in a loop until SETTLED or TERMINATED klave_status Get current state and full round history at any time klave_verify Get the ZK proof confirming the settlement was conducted fairly Tool sequence klave_negotiate ← describe what you're negotiating and your ceiling klave_advance (loop) ← advance round by round until SETTLED klave_status ← check progress at any time klave_verify ← get cryptographic proof after settlement Privacy guarantees Your ceiling (ceiling_price) is passed to the negotiation engine and never appears in any tool response. The seller's floor price is derived server-side and never a field in any API response. leaks_detected in verify responses is sourced from the server — never hardcoded. Every negotiation generates an auditable ZK proof. Environment variables (local mode) Variable Default Description KLAVE_API_URL https://klave1-production.up.railway.app KLAVE REST API base URL KLAVE_API_KEY (empty) API key TRANSPORT stdio stdio (Claude Desktop/Code) or http (remote/SSE) PORT 3002 HTTP port when TRANSPORT=http Getting an API key Sign up at https://klave-platform.vercel.app/docs Developer SDK If you're building an agent that needs to authorize negotiation programmatically, see the KLAVE SDK (@juny-klave/sdk). License MIT

a day ago