MCPcopy Create free account

hub / github.com/chatmcp/mcprouter / types & classes

Types & classes57 in github.com/chatmcp/mcprouter

↓ 1 callersTypeAliasAPIErrorCode
service/api/context.go:15
StructAPIContext
APIContext is the context for the API request
service/api/context.go:30
StructAPIResponse
service/api/context.go:23
StructAPIServer
APIServer as the proxy server for API request
service/api/server.go:11
StructAddServerRequest
handler/api/beta/add-server.go:10
StructBaseRequest
BaseRequest is the base request for all JSON-RPC requests.
service/jsonrpc/base.go:4
StructBaseResponse
BaseResponse is the base response for all JSON-RPC responses.
service/jsonrpc/base.go:11
StructCallToolParams
CallToolParams is the params for the call tool method.
service/jsonrpc/tool.go:25
StructCallToolRequest
handler/api/v1/call-tool.go:15
StructCallToolResult
CallToolResult is the result for the call tool method.
service/jsonrpc/tool.go:39
InterfaceClient
Client is a client that can send and receive messages to and from the server.
service/mcpclient/client.go:13
StructClientCapabilities
ClientCapabilities is the capabilities of the client.
service/jsonrpc/base.go:24
StructClientInfo
ClientInfo is the info of the client.
service/jsonrpc/base.go:17
StructClusterRedisClient
ClusterRedisClient wraps cluster Redis client to implement RedisHandler
util/redis.go:39
StructDBConfig
DBConfig is the config for the database
util/db.go:13
StructError
Error is a JSON-RPC error.
service/jsonrpc/error.go:6
StructGetServerRequest
handler/api/beta/get-server.go:12
StructGetServerRequest
handler/api/v1/get-server.go:9
StructGetServersRequest
handler/api/beta/get-servers.go:9
StructGetUserRequest
handler/api/beta/get-user.go:9
StructInitializeParams
InitializeParams is the params for the initialize method.
service/jsonrpc/initialize.go:4
StructInitializeResult
InitializeResult is the result for the initialize method.
service/jsonrpc/initialize.go:11
StructListServersRequest
handler/api/v1/list-servers.go:9
StructListToolsRequest
handler/api/v1/list-tools.go:11
StructListToolsResult
ListToolsResult is the result for the list tools method.
service/jsonrpc/tool.go:20
StructNotification
Notification is a JSON-RPC notification.
service/jsonrpc/notification.go:6
StructProject
Project is the model for the project table
model/project.go:14
StructProjectFilter
ProjectFilter contains filter options for querying projects
model/project.go:73
StructProxyInfo
ProxyInfo is the info for the proxy
service/proxy/proxy.go:13
StructRedisConfig
RedisConfig is the config for the redis
util/redis.go:15
InterfaceRedisHandler
RedisHandler interface abstracts Redis and Cluster client operations
util/redis.go:25
StructRequest
Request is a JSON-RPC request.
service/jsonrpc/request.go:6
StructResponse
Response is a JSON-RPC response.
service/jsonrpc/response.go:6
StructRestClient
RestClient is a client that uses HTTP to communicate with the backend mcp server.
service/mcpclient/rest.go:20
StructSSEContext
SSEContext is the context for SSE request
service/proxy/context.go:14
StructSSEServer
SSEServer as the proxy server for SSE request
service/proxy/server.go:11
StructSSESession
SSESession is a session for SSE request
service/proxy/session.go:11
StructSSEWriter
SSEWriter is a writer for SSE response
service/proxy/writer.go:12
StructSaveUserRequest
handler/api/beta/save-user.go:9
StructServer
service/mcpserver/server.go:10
StructServer
model/server.go:8
StructServerCapabilities
ServerCapabilities is the capabilities of the server.
service/jsonrpc/base.go:39
StructServerConfig
ServerConfig is the config for the remote mcp server
service/mcpserver/config.go:18
StructServerInfo
ServerInfo is the info of the server.
service/jsonrpc/base.go:33
TypeAliasServerKeyStatus
model/serverkey.go:5
StructServerLog
ServerLog is the model for the server log
model/serverlog.go:10
StructServerkey
Serverkey is the model for the serverkey table
model/serverkey.go:13
StructStdRedisClient
StdRedisClient wraps standard Redis client to implement RedisHandler
util/redis.go:34
StructStdioClient
StdioClient is a client that uses stdin and stdout to communicate with the backend mcp server.
service/mcpclient/stdio.go:20
StructTool
Tool is a tool that can be called by the server.
service/jsonrpc/tool.go:13
StructTool
model/tool.go:11
StructToolInputSchema
ToolInputSchema is the schema for the tool input.
service/jsonrpc/tool.go:4
StructToolResultContent
service/jsonrpc/tool.go:31
StructUpdateServerRequest
handler/api/beta/update-server.go:9
StructUser
model/user.go:10
StructValidator
Validator: custom validator
service/api/validate.go:8
StructredisManager
redisManager safely manages all Redis connections
util/redis.go:44