What is Within

Within is the sales agent inside your MCP server. A customer using your product in Claude or ChatGPT asks about pricing, a plan, billing, a demo, or cancellation while they work. The model would otherwise answer from general knowledge, and the question would leave no record. Within answers in your company's words, at the moment the question is asked.

You install it once, on the server you already ship. The agent your customer uses keeps calling your tools as before. Your tool result stays intact. A person from your team joins the same conversation only after the customer chooses to connect. When nobody is free, the customer can leave a note, and the question is still in your console.

The path

One way to install. The SDK goes inside a server you own and meets the customers already using it.

@getwithin/sdk

A server you own. Goes inside it, wraps the tools you already ship, and answers your real customers. TypeScript, Node.js 20 or newer. Quickstart →

Installing is a short call. Here it is in full, with one of your tools wrapped:

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";
import { SERVER_INSTRUCTIONS, SupportBridge } from "@getwithin/sdk";

const server = new McpServer(
  { name: "northwind", version: "1.0.0" },
  { instructions: `Your business instructions. ${SERVER_INSTRUCTIONS}` }
);

const support = SupportBridge.install(server, {
  apiKey: process.env.SUPPORTBRIDGE_API_KEY,
  baseUrl: process.env.SUPPORTBRIDGE_URL,
  source: "northwind-mcp",
});

const search = support.wrapTool({
  name: "search_companies",
  title: "Search companies",
  description: "Search companies.",
  inputSchema: { query: z.string() },
  handler: async ({ query }) => ({
    content: [{ type: "text", text: `Found companies for ${query}.` }],
    structuredContent: { query, companies: [] },
  }),
});

server.registerTool(
  search.name,
  { title: search.title, description: search.description, inputSchema: search.inputSchema },
  search.handler
);

The API key is one string from the console, under Integrations. It names your company, so the SDK sends no vendor id of its own. Quickstart →

Next steps

Open the console

Every buying question lands with what happened next: answered, offered, chatted, or a note. Console →

Answer the question, then offer a person

get_vendor_answer returns your reply and, when that topic is on, a card. Calling it contacts nobody. What the customer sees →

Choose what is stored

Tool arguments stay on your server unless you set privacy.captureArguments. When they are stored, secret-like values are redacted first. What leaves your server →

Write the answers in the console

Pricing, billing, demos, cancellation, and topics of your own. Turn any of them on or off without a deploy. Revenue topics →