MCP.so
登录

VectorMCP MCP Server

@sergiobayona

基本信息

分类

记忆与知识

许可证

MIT

传输方式

stdio

作者

sergiobayona

关于 VectorMCP MCP Server

A server implementation for the Model Context Protocol (MCP) in Ruby.

VectorMCP MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

VectorMCP MCP Server 工具

工具列表暂未提供

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

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is VectorMCP?

VectorMCP is a Ruby implementation of the Model Context Protocol (MCP) server-side specification. It provides a framework for exposing tools, resources, prompts, roots, sampling, middleware, and security over the MCP streamable HTTP transport.

How to use VectorMCP?

Install the gem (gem install vector_mcp), create a VectorMCP::Server, register tools (using either the class-based VectorMCP::Tool DSL or the block-based register_tool API), and call server.run(port: 8080). Optionally mount the server in a Rack or Rails app via server.rack_app.

Key features of VectorMCP

  • Streamable HTTP transport with session management and resumability
  • Class-based tools via VectorMCP::Tool and block-based register_tool API
  • Rack and Rails mounting through server.rack_app
  • Opt-in authentication, authorization, and middleware hooks
  • Image-aware tools, resources, and prompts; roots and server-initiated sampling
  • Token-based field anonymization middleware for sensitive data

Use cases of VectorMCP

  • Build a custom MCP server to expose business tools to LLM clients
  • Integrate MCP endpoints into an existing Ruby on Rails application
  • Create a secure, authenticated API for AI-driven tool invocation
  • Implement a compliant MCP server with streaming and session support

常见问题

1

What runtime dependencies does VectorMCP require?

Ruby 3.2 or later is required. The gem has no other mandatory runtime dependencies beyond the Ruby standard library.

2

What transport does VectorMCP use?

VectorMCP ships with streamable HTTP as its built-in transport. It supports `POST /mcp` for JSON-RPC, `GET /mcp` for SSE streams, and `DELETE /mcp` for session termination.

3

How does authentication work in VectorMCP?

Authentication is opt-in. You can enable API key authentication or a custom strategy. For OAuth 2.1 (RFC 9728) support, provide a `resource_metadata_url:` to enable automatic discovery and the OAuth dance.

4

Can I use VectorMCP with Rails?

Yes. VectorMCP provides a `VectorMCP::Rails::Tool` base class for ActiveRecord-backed tools and a full guide for mounting the server in `config/routes.rb`.

5

Is VectorMCP compliant with the MCP specification?

Yes. The server advertises MCP protocol version `2025-11-25` and accepts `2025-03-26` and `2024-11-05` headers for compatibility.

评论

记忆与知识 分类下的更多 MCP 服务器