MCP.so
登录

sova MCP Server

@The0wlGuy

基本信息

分类

其他

许可证

MIT license

传输方式

stdio

作者

The0wlGuy

关于 sova MCP Server

TypeScript framework for building MCP servers

sova MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "sova": {
      "command": "npx",
      "args": [
        "sova",
        "dev",
        "src/examples/addition.ts"
      ]
    }
  }
}

sova MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is sova?

sova is a TypeScript framework for building MCP (Model Context Protocol) servers that handle client sessions. It simplifies defining tools, resources, prompts and includes built‑in support for authentication, SSE, image/audio content, logging, and error handling. It is designed for developers who want to create MCP servers with minimal boilerplate.

How to use sova?

Install via npm install sova. Create a server instance, add tools (or resources/prompts) using the addTool method with Standard Schema parameters, then start the server with server.start({ transportType: "stdio" }) or "sse". Use the CLI for testing (npx sova dev <file>) and debugging (npx sova inspect <file>).

Key features of sova

  • Simple Tool, Resource, and Prompt definition.
  • Authentication and session management.
  • SSE transport with automated pings.
  • Image and audio content helpers (imageContent, audioContent).
  • Typed server events and progress notifications.
  • CLI for testing (dev) and debugging (inspect).

Use cases of sova

  • Building an MCP server that exposes tools for LLM interaction.
  • Creating a server with SSE for remote MCP communication.
  • Handling client sessions with authentication and logging.
  • Returning rich content (images, audio) from tool calls.
  • Implementing progress reporting and sampling in tools.

常见问题

1

How do I test or debug a sova server?

Use the CLI: `npx sova dev src/examples/addition.ts` to run a live test server, or `npx sova inspect src/examples/addition.ts` to open the MCP Inspector.

2

What are the runtime requirements and dependencies?

sova runs on Node.js with npm. It uses the Standard Schema specification; any validation library (Zod, ArkType, Valibot) that implements it can be used. Valibot additionally requires `@valibot/to-json-schema` as a peer dependency.

3

How do I return images or audio from a tool?

Use the built‑in `imageContent` and `audioContent` helpers. They accept a URL, file path, or buffer, and return the correct MCP content object.

4

How does sova handle errors intended for the user?

Throw a `UserError` instance inside a tool’s `execute` function. This error is shown to the user rather than causing an internal failure.

5

What transports does sova support?

sova supports stdio for local communication and SSE (Server‑Sent Events) for remote MCP connections. SSE is configured via `server.start({ transportType: "sse", sse: { endpoint, port } })`.

评论

其他 分类下的更多 MCP 服务器