MCP.so
登录

MCP Server (Go)

@pyljain

基本信息

分类

其他

传输方式

stdio

作者

pyljain

关于 MCP Server

暂无概览

#mcp-server#json-rpc#database-querying

MCP Server 配置

暂无标准配置

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

代码仓库

MCP Server 工具

工具列表暂未提供

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

工具是从 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

常见问题

1

What runtime or dependencies are required?

Go 1.x and SQLite3 are required.

2

Where does the database file live?

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

3

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.

4

What transport does the server use?

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

5

Are there any known limits?

The README does not mention any specific limits.

评论

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