Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chatmcp/mcprouter
/ types & classes
Types & classes
57 in github.com/chatmcp/mcprouter
⨍
Functions
213
◇
Types & classes
57
↓ 1 callers
TypeAlias
APIErrorCode
service/api/context.go:15
Struct
APIContext
APIContext is the context for the API request
service/api/context.go:30
Struct
APIResponse
service/api/context.go:23
Struct
APIServer
APIServer as the proxy server for API request
service/api/server.go:11
Struct
AddServerRequest
handler/api/beta/add-server.go:10
Struct
BaseRequest
BaseRequest is the base request for all JSON-RPC requests.
service/jsonrpc/base.go:4
Struct
BaseResponse
BaseResponse is the base response for all JSON-RPC responses.
service/jsonrpc/base.go:11
Struct
CallToolParams
CallToolParams is the params for the call tool method.
service/jsonrpc/tool.go:25
Struct
CallToolRequest
handler/api/v1/call-tool.go:15
Struct
CallToolResult
CallToolResult is the result for the call tool method.
service/jsonrpc/tool.go:39
Interface
Client
Client is a client that can send and receive messages to and from the server.
service/mcpclient/client.go:13
Struct
ClientCapabilities
ClientCapabilities is the capabilities of the client.
service/jsonrpc/base.go:24
Struct
ClientInfo
ClientInfo is the info of the client.
service/jsonrpc/base.go:17
Struct
ClusterRedisClient
ClusterRedisClient wraps cluster Redis client to implement RedisHandler
util/redis.go:39
Struct
DBConfig
DBConfig is the config for the database
util/db.go:13
Struct
Error
Error is a JSON-RPC error.
service/jsonrpc/error.go:6
Struct
GetServerRequest
handler/api/beta/get-server.go:12
Struct
GetServerRequest
handler/api/v1/get-server.go:9
Struct
GetServersRequest
handler/api/beta/get-servers.go:9
Struct
GetUserRequest
handler/api/beta/get-user.go:9
Struct
InitializeParams
InitializeParams is the params for the initialize method.
service/jsonrpc/initialize.go:4
Struct
InitializeResult
InitializeResult is the result for the initialize method.
service/jsonrpc/initialize.go:11
Struct
ListServersRequest
handler/api/v1/list-servers.go:9
Struct
ListToolsRequest
handler/api/v1/list-tools.go:11
Struct
ListToolsResult
ListToolsResult is the result for the list tools method.
service/jsonrpc/tool.go:20
Struct
Notification
Notification is a JSON-RPC notification.
service/jsonrpc/notification.go:6
Struct
Project
Project is the model for the project table
model/project.go:14
Struct
ProjectFilter
ProjectFilter contains filter options for querying projects
model/project.go:73
Struct
ProxyInfo
ProxyInfo is the info for the proxy
service/proxy/proxy.go:13
Struct
RedisConfig
RedisConfig is the config for the redis
util/redis.go:15
Interface
RedisHandler
RedisHandler interface abstracts Redis and Cluster client operations
util/redis.go:25
Struct
Request
Request is a JSON-RPC request.
service/jsonrpc/request.go:6
Struct
Response
Response is a JSON-RPC response.
service/jsonrpc/response.go:6
Struct
RestClient
RestClient is a client that uses HTTP to communicate with the backend mcp server.
service/mcpclient/rest.go:20
Struct
SSEContext
SSEContext is the context for SSE request
service/proxy/context.go:14
Struct
SSEServer
SSEServer as the proxy server for SSE request
service/proxy/server.go:11
Struct
SSESession
SSESession is a session for SSE request
service/proxy/session.go:11
Struct
SSEWriter
SSEWriter is a writer for SSE response
service/proxy/writer.go:12
Struct
SaveUserRequest
handler/api/beta/save-user.go:9
Struct
Server
service/mcpserver/server.go:10
Struct
Server
model/server.go:8
Struct
ServerCapabilities
ServerCapabilities is the capabilities of the server.
service/jsonrpc/base.go:39
Struct
ServerConfig
ServerConfig is the config for the remote mcp server
service/mcpserver/config.go:18
Struct
ServerInfo
ServerInfo is the info of the server.
service/jsonrpc/base.go:33
TypeAlias
ServerKeyStatus
model/serverkey.go:5
Struct
ServerLog
ServerLog is the model for the server log
model/serverlog.go:10
Struct
Serverkey
Serverkey is the model for the serverkey table
model/serverkey.go:13
Struct
StdRedisClient
StdRedisClient wraps standard Redis client to implement RedisHandler
util/redis.go:34
Struct
StdioClient
StdioClient is a client that uses stdin and stdout to communicate with the backend mcp server.
service/mcpclient/stdio.go:20
Struct
Tool
Tool is a tool that can be called by the server.
service/jsonrpc/tool.go:13
Struct
Tool
model/tool.go:11
Struct
ToolInputSchema
ToolInputSchema is the schema for the tool input.
service/jsonrpc/tool.go:4
Struct
ToolResultContent
service/jsonrpc/tool.go:31
Struct
UpdateServerRequest
handler/api/beta/update-server.go:9
Struct
User
model/user.go:10
Struct
Validator
Validator: custom validator
service/api/validate.go:8
Struct
redisManager
redisManager safely manages all Redis connections
util/redis.go:44