Silon API Docs
Search and read Silon's multi-channel messaging API reference and SDK guides.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"docs": {
"url": "https://silon.tech/mcp"
}
}
}远程端点
https://silon.tech/mcpstreamable-http它能做什么
工具清单
工具(5)
🟢fetch(id)
Fetch a Silon API reference document as Markdown by its id. ``id`` is a value returned by ``search`` (``op:<operationId>``, ``tag:<Name>`` or ``doc:<anchor>``). For an operation the Markdown includes the method and path, parameters, request/response schemas and ready-to-run curl / Python / Node code samples.
输入模式
{
"type": "object",
"properties": {
"id": {
"title": "Id",
"type": "string"
}
},
"required": [
"id"
],
"title": "fetchArguments"
}🟢get_server_instructions
Return MCP server instructions (if any). Always call first.
输入模式
{
"type": "object",
"properties": {},
"title": "_get_server_instructionsArguments"
}🟢list_sdks
List the official Silon client SDKs — one per language. Returns each SDK's language id, package name, one-line install command, source repo, import statement and sync/async style. To read a language's full guide call ``fetch`` with ``sdk:<lang>`` (e.g. ``sdk:python``); for the idiomatic call for a specific API operation use ``sdk_snippet``.
输入模式
{
"type": "object",
"properties": {},
"title": "list_sdksArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "list_sdksOutput"
}⚪sdk_snippet(operation_id, lang)
Idiomatic SDK code for one API operation in one language. ``operation_id`` is an OpenAPI operationId (e.g. ``createMessage``, ``listContacts`` — the ``op:<operationId>`` ids returned by ``search``). ``lang`` is one of: python, node, java, dotnet, go, dart, php, ruby. Returns the ready-to-run snippet (client construction + the call) using that SDK's real classes and method names.
输入模式
{
"type": "object",
"properties": {
"operation_id": {
"title": "Operation Id",
"type": "string"
},
"lang": {
"title": "Lang",
"type": "string"
}
},
"required": [
"operation_id",
"lang"
],
"title": "sdk_snippetArguments"
}🟢search(query, limit)
Search the Silon API reference for operations, tags and guide sections. Returns ranked matches, each with a stable ``id`` (e.g. ``op:createMessage``, ``tag:Messages``, ``doc:authentication``). Pass an ``id`` to the ``fetch`` tool to read the full documentation for that entry.
输入模式
{
"type": "object",
"properties": {
"query": {
"title": "Query",
"type": "string"
},
"limit": {
"default": 10,
"title": "Limit",
"type": "integer"
}
},
"required": [
"query"
],
"title": "searchArguments"
}输出模式
{
"type": "object",
"properties": {
"result": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Result",
"type": "array"
}
},
"required": [
"result"
],
"title": "searchOutput"
}社区
证据