MCP 概念

令牌

仅返回给业主,从不在 URL 并且清理了一次在路上, 因为一个标志周围的东西 通常会打破它。

encrypted at restnever in a URLcleaned once
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

清洁什么清除

粘贴结果成果成果成果成果成果成果成果成果
 abc123 - 主导空间删除
"abc123" - 引号删除
Bearer abc123将这个词删除—— 添加是属于我们的
abc123  - 后方空间删除
abc 123 - 内部空间拒绝拒绝
为什么清洁不是礼貌

A leading space, quotes or a copied « Bearer » make some servers refuse the header without ever reading the token — and the refusal points at the token while the problem is what surrounds it. A trailing space leaves the header readable and fails authentication, which is worse because it looks like a wrong token.

一个空间空间 内 拒绝拒绝时 mcp_token_malformed 而不是修补:重新加入它将猜想是哪一种象征。

休息休息

加密,并解密 仅为认证的所有人。 (列表) 永远不携带; (c) () 获得 和 代理() 因为软件包需要它来联系服务器

从未在地址

地址以页眉为标题,地址以日志、裁判和历史为结尾;一个字母的证书是每个跳跃时的证书漏漏。

旋转 1

await api.mcp.update("example", { token: process.env.EXAMPLE_TOKEN_NEW });
await api.mcp.update("example", { token: null });   // remove it
import os

api.mcp.update("example", token=os.environ["EXAMPLE_TOKEN_NEW"])
api.mcp.update("example", token=None)   # remove it

不记录随带带带的是什么

get() 和 forAgent() 返回服务器对象中的标记。 登录该对象时将证明书写到您的日志去到何处 。