独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
T

tedeh/jayson

JSON-RPC 2.0 client and server for Node.js

装之前:有可直接复制的命令 · 许可证未标注 · 链接可访问

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
取自该仓库的安装命令
npm install --global jayson

解析自我们于 2026-11-05 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
npm install --global jayson
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npm install --global jayson。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# Jayson

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

Jayson is a [JSON-RPC 2.0][jsonrpc-spec] and [1.0][jsonrpc1-spec] compliant server and client written in JavaScript for [node.js][node.js] that aims to be as simple as possible to use.
[jsonrpc-spec]: http://jsonrpc.org/spec.html
[jsonrpc1-spec]: http://json-rpc.org/wiki/specification
[node.js]: http://nodejs.org/
[jayson-npm]: https://www.npmjs.com/package/jayson
[badge-npm]: https://img.shields.io/npm/v/jayson.svg
[badge-downloads-month]: https://img.shields.io/npm/dm/jayson.svg
[![npm version][badge-npm]][jayson-npm]
[![npm][badge-downloads-month]][jayson-npm]
## Table of contents
Features
Example
Installation
Changelog
Requirements
Class Documentation
Running tests
Typescript
Usage
Client
Interface description
Browser usage
Notifications
Batches
Callback syntactic sugar
Events
Server
Interface description
Many interfaces at the same time
Using the server as a relay
Method routing
Method definition
Events
Errors
CORS
Context
Revivers and replacers
Named parameters
Promises
Batches
Browser client
FAQ
Recommended usage
Contributing
## Features
Servers that can listen to several interfaces at the same time
Supports both HTTP and TCP client and server connections
Server-side method routing
Relaying of requests to other servers
JSON reviving and replacing for transparent serialization of complex objects
CLI client
Promises
Fully tested to comply with the [official JSON-RPC 2.0 specification][jsonrpc-spec]
Also supports [JSON-RPC 1.0][jsonrpc1-spec]
## Example
A basic JSON-RPC 2.0 server via HTTP:
Server example in examples/simpleexample/server.js:
javascript
const jayson = require('jayson');
// create a server
const server = new jayson.server({
add: function (args, callback) {
callback(null, args[0] + args[1]);
},
});
server.http().listen(3000);
Client example in examples/simpleexample/client.js invoking add on the above server:
javascript
const jayson = require('jayson');
// create a client
const client = new jayson.client.http({
port: 3000,
});
// invoke "add"
client.request('add', [1, 1], function (err, response) {
if (err) {
throw err;
console.log(response.result); // 2
});
## Installation
Install the latest version of jayson from npm by executing npm install jayson in your shell. Do a global install with npm install --global jayson if you want the jayson client CLI in your PATH.
## Changelog (only notable milestones/changes)
5.0.0
Removed uuid package dependency. Now native (node or browser) crypto implementation is used to generate uuids. If your browser doesn't have it: provide your own generator as described below.
Removed stream-json package dependency. TCP and TLS messages must now end with the configured delimiter (\n by default); concatenated JSON without delimiters is no longer supported. This probably breaks backwards compatibility. If you require advanced parsing in TCP or TLS streams, see the section on recommended use.
4.1.0
New server option maxBatchLength
4.0.0
Remove lodash dependency which should halve bundle size. There might be minor incompatibilities if you pass funky object or array types to jayson methods.
3.6.4
Websocket client and server support
3.6.1
JSON-RPC 2.0 notifications no longer have id property unless overridden
3.3.3
Promise support for browser client
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/tedeh-jayson/)
来源
awesome · https://github.com/tedeh/jayson
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引