docs

Plug-and-Play Documentation

docs.sh — Copy-paste snippets
[ _ ][ 🗗 ][ X ]

Your GitHub repository is your most important DevRel blog. Tested configs, copy-paste ready.

--tool@MCP Discovery Endpoint (.well-known/mcp.json)

Lets Claude, ChatGPT, and other MCP clients auto-discover your server without per-client manual setup.

install
npm install express
javascript
const express = require("express");
const app = express();

app.get("/.well-known/mcp.json", (_req, res) => {
  res.json({
    name: "example-mcp-server",
    transports: [{ type: "http", url: "https://api.example.com/mcp" }],
    capabilities: ["tools", "resources"],
  });
});

app.listen(3000);