MCP.so
登录

MCP Server (Go)

@pyljain

关于 MCP Server (Go)

暂无概览

基本信息

分类

其他

运行时

go

传输方式

stdio

发布者

pyljain

配置

暂无标准配置

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

代码仓库

工具

未检测到工具

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

概览

What is MCP Server (Go)?

A Go implementation of a Model Context Protocol (MCP) server that provides database querying capabilities through a JSON-RPC interface, integrating with SQLite and supporting Server-Sent Events for real‑time communication.

How to use MCP Server (Go)?

Clone the repository, run go mod download to install dependencies, then execute go run main.go to start the server on port 8777. All requests must include an Authorization header with the token "abcd". Use the / endpoint (GET) to establish an SSE connection and /messages/{sessionID} (POST) to send JSON‑RPC requests for tools like query, tools/list, and tools/call.

Key features of MCP Server (Go)

  • JSON‑RPC 2.0 protocol implementation
  • Server‑Sent Events (SSE) for real‑time communication
  • SQLite database integration
  • Tool‑based architecture for extensible functionality
  • Token‑based authentication support (hardcoded token “abcd”)

Use cases of MCP Server (Go)

  • Execute SQL queries against a SQLite database via JSON‑RPC
  • List all available tables in the database
  • Integrate with AI agents or chatbots that follow the Model Context Protocol

FAQ from MCP Server (Go)

What runtime or dependencies are required?

Go 1.x and SQLite3 are required.

Where does the database file live?

The server uses an SQLite database file named mcp.db located in the project root.

How is authentication handled?

The server uses a simple token‑based system with a hardcoded token “abcd”. All requests must include an Authorization: Bearer <token> header.

What transport does the server use?

It uses a combination of Server‑Sent Events (SSE) for streaming and HTTP POST for JSON‑RPC requests.

Are there any known limits?

The README does not mention any specific limits.

评论

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