mcpgateway/__init__.py |
(no class) |
8 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/admin.py |
(no class) |
414 |
69 |
0 |
44 |
17 |
79% |
mcpgateway/alembic/env.py |
(no class) |
24 |
5 |
0 |
4 |
2 |
75% |
mcpgateway/alembic/versions/b77ca9d2de7e_uuid_pk_and_slug_refactor.py |
(no class) |
175 |
161 |
0 |
22 |
0 |
7% |
mcpgateway/alembic/versions/e4fc04d1a442_add_annotations_to_tables.py |
(no class) |
21 |
12 |
0 |
4 |
0 |
36% |
mcpgateway/alembic/versions/e75490e949b1_add_improved_status_to_tables.py |
(no class) |
17 |
8 |
0 |
0 |
0 |
53% |
mcpgateway/bootstrap_db.py |
(no class) |
22 |
3 |
2 |
2 |
1 |
83% |
mcpgateway/cache/__init__.py |
(no class) |
3 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/cache/resource_cache.py |
CacheEntry |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/cache/resource_cache.py |
ResourceCache |
36 |
4 |
0 |
10 |
2 |
87% |
mcpgateway/cache/resource_cache.py |
(no class) |
20 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/cache/session_registry.py |
SessionBackend |
20 |
0 |
0 |
16 |
0 |
100% |
mcpgateway/cache/session_registry.py |
SessionRegistry |
354 |
182 |
0 |
124 |
11 |
52% |
mcpgateway/cache/session_registry.py |
(no class) |
43 |
4 |
0 |
0 |
0 |
91% |
mcpgateway/cli.py |
(no class) |
29 |
0 |
2 |
10 |
1 |
97% |
mcpgateway/config.py |
Settings |
34 |
2 |
0 |
14 |
3 |
90% |
mcpgateway/config.py |
(no class) |
160 |
11 |
0 |
22 |
4 |
92% |
mcpgateway/db.py |
Base |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
ToolMetric |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
ResourceMetric |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
ServerMetric |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
PromptMetric |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
Tool |
29 |
4 |
0 |
8 |
3 |
81% |
mcpgateway/db.py |
Resource |
21 |
21 |
0 |
8 |
0 |
0% |
mcpgateway/db.py |
ResourceSubscription |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
Prompt |
20 |
20 |
0 |
4 |
0 |
0% |
mcpgateway/db.py |
Server |
16 |
16 |
0 |
4 |
0 |
0% |
mcpgateway/db.py |
Gateway |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
SessionRecord |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
SessionMessageRecord |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/db.py |
(no class) |
309 |
23 |
3 |
14 |
5 |
90% |
mcpgateway/federation/__init__.py |
(no class) |
3 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/federation/discovery.py |
DiscoveredPeer |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/federation/discovery.py |
LocalDiscoveryService |
12 |
4 |
0 |
4 |
1 |
69% |
mcpgateway/federation/discovery.py |
DiscoveryService |
123 |
89 |
0 |
36 |
5 |
27% |
mcpgateway/federation/discovery.py |
(no class) |
41 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/federation/forward.py |
ForwardingError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/federation/forward.py |
ForwardingService |
97 |
50 |
0 |
38 |
9 |
44% |
mcpgateway/federation/forward.py |
(no class) |
25 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/handlers/__init__.py |
(no class) |
2 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/handlers/sampling.py |
SamplingError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/handlers/sampling.py |
SamplingHandler |
72 |
3 |
0 |
44 |
4 |
94% |
mcpgateway/handlers/sampling.py |
(no class) |
15 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/main.py |
DocsAuthMiddleware |
9 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/main.py |
MCPPathRewriteMiddleware |
14 |
4 |
0 |
6 |
2 |
70% |
mcpgateway/main.py |
(no class) |
709 |
203 |
0 |
78 |
24 |
69% |
mcpgateway/models.py |
Role |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
LogLevel |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
TextContent |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
JSONContent |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ImageContent |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ResourceContent |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
PromptReference |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ResourceReference |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
CompleteRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
CompleteResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Implementation |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ModelHint |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ModelPreferences |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ClientCapabilities |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ServerCapabilities |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
InitializeRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
InitializeResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Message |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
SamplingMessage |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
CreateMessageResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
PromptArgument |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Prompt |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
PromptResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Tool |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ToolResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Resource |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ResourceTemplate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ListResourceTemplatesResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
FileUrl |
3 |
1 |
0 |
2 |
1 |
60% |
mcpgateway/models.py |
Root |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ProgressToken |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Progress |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
JSONRPCRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
JSONRPCResponse |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
JSONRPCError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
SSEEvent |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
WebSocketMessage |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ResourceUpdateNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ResourceListChangedNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
PromptListChangedNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ToolListChangedNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
CancelledNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
ProgressNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
LoggingNotification |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
FederatedTool |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
FederatedResource |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
FederatedPrompt |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
Gateway |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/models.py |
(no class) |
203 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
BaseModelWithConfigDict |
4 |
4 |
0 |
2 |
0 |
0% |
mcpgateway/schemas.py |
ToolMetrics |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceMetrics |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ServerMetrics |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
PromptMetrics |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
JsonPathModifier |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
AuthenticationValues |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ToolCreate |
14 |
10 |
0 |
8 |
1 |
23% |
mcpgateway/schemas.py |
ToolUpdate |
14 |
10 |
0 |
8 |
1 |
23% |
mcpgateway/schemas.py |
ToolRead |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ToolInvocation |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ToolResult |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceCreate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceUpdate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceRead |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceSubscription |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ResourceNotification |
1 |
1 |
0 |
0 |
0 |
0% |
mcpgateway/schemas.py |
PromptArgument |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
PromptCreate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
PromptUpdate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
PromptRead |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
PromptInvocation |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
GatewayCreate |
30 |
24 |
0 |
16 |
2 |
17% |
mcpgateway/schemas.py |
GatewayUpdate |
29 |
23 |
0 |
16 |
2 |
18% |
mcpgateway/schemas.py |
GatewayRead |
20 |
10 |
0 |
12 |
3 |
47% |
mcpgateway/schemas.py |
FederatedTool |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
FederatedResource |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
FederatedPrompt |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
RPCRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
RPCResponse |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
EventMessage |
1 |
1 |
0 |
0 |
0 |
0% |
mcpgateway/schemas.py |
AdminToolCreate |
6 |
1 |
0 |
2 |
1 |
75% |
mcpgateway/schemas.py |
AdminGatewayCreate |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
StatusToggleRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
StatusToggleResponse |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ListFilters |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
ServerCreate |
3 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/schemas.py |
ServerUpdate |
3 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/schemas.py |
ServerRead |
12 |
4 |
0 |
8 |
2 |
70% |
mcpgateway/schemas.py |
GatewayTestRequest |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
GatewayTestResponse |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/schemas.py |
(no class) |
339 |
1 |
0 |
0 |
0 |
99% |
mcpgateway/services/__init__.py |
(no class) |
5 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/completion_service.py |
CompletionError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/completion_service.py |
CompletionService |
52 |
6 |
0 |
26 |
2 |
90% |
mcpgateway/services/completion_service.py |
(no class) |
18 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/gateway_service.py |
GatewayError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/gateway_service.py |
GatewayNotFoundError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/gateway_service.py |
GatewayNameConflictError |
7 |
1 |
0 |
2 |
1 |
78% |
mcpgateway/services/gateway_service.py |
GatewayConnectionError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/gateway_service.py |
GatewayService |
351 |
210 |
0 |
128 |
20 |
37% |
mcpgateway/services/gateway_service.py |
(no class) |
62 |
3 |
0 |
0 |
0 |
95% |
mcpgateway/services/logging_service.py |
LoggingService |
41 |
5 |
0 |
10 |
0 |
90% |
mcpgateway/services/logging_service.py |
(no class) |
14 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/prompt_service.py |
PromptError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/prompt_service.py |
PromptNotFoundError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/prompt_service.py |
PromptNameConflictError |
7 |
1 |
0 |
2 |
1 |
78% |
mcpgateway/services/prompt_service.py |
PromptValidationError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/prompt_service.py |
PromptService |
217 |
85 |
0 |
70 |
17 |
56% |
mcpgateway/services/prompt_service.py |
(no class) |
46 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/resource_service.py |
ResourceError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/resource_service.py |
ResourceNotFoundError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/resource_service.py |
ResourceURIConflictError |
7 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/services/resource_service.py |
ResourceValidationError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/resource_service.py |
ResourceService |
241 |
25 |
0 |
82 |
10 |
87% |
mcpgateway/services/resource_service.py |
(no class) |
54 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/root_service.py |
RootServiceError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/root_service.py |
RootService |
48 |
6 |
0 |
10 |
0 |
90% |
mcpgateway/services/root_service.py |
(no class) |
21 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/server_service.py |
ServerError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/server_service.py |
ServerNotFoundError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/server_service.py |
ServerNameConflictError |
7 |
1 |
0 |
2 |
1 |
78% |
mcpgateway/services/server_service.py |
ServerService |
186 |
65 |
0 |
70 |
22 |
65% |
mcpgateway/services/server_service.py |
(no class) |
41 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolNotFoundError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolNameConflictError |
7 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolValidationError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolInvocationError |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/services/tool_service.py |
ToolService |
275 |
36 |
0 |
90 |
2 |
90% |
mcpgateway/services/tool_service.py |
(no class) |
59 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/translate.py |
_PubSub |
15 |
0 |
0 |
4 |
0 |
100% |
mcpgateway/translate.py |
StdIOEndpoint |
33 |
1 |
3 |
8 |
2 |
93% |
mcpgateway/translate.py |
(no class) |
150 |
27 |
2 |
28 |
5 |
79% |
mcpgateway/transports/__init__.py |
(no class) |
5 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/base.py |
Transport |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/base.py |
(no class) |
13 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/sse_transport.py |
SSETransport |
55 |
2 |
0 |
10 |
2 |
94% |
mcpgateway/transports/sse_transport.py |
(no class) |
22 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/stdio_transport.py |
StdioTransport |
41 |
0 |
0 |
8 |
0 |
100% |
mcpgateway/transports/stdio_transport.py |
(no class) |
14 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/streamablehttp_transport.py |
EventEntry |
0 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/transports/streamablehttp_transport.py |
InMemoryEventStore |
26 |
0 |
0 |
12 |
1 |
97% |
mcpgateway/transports/streamablehttp_transport.py |
SessionManagerWrapper |
21 |
2 |
0 |
4 |
2 |
84% |
mcpgateway/transports/streamablehttp_transport.py |
(no class) |
95 |
3 |
0 |
10 |
0 |
97% |
mcpgateway/transports/websocket_transport.py |
WebSocketTransport |
64 |
1 |
0 |
18 |
2 |
96% |
mcpgateway/transports/websocket_transport.py |
(no class) |
16 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/utils/create_jwt_token.py |
(no class) |
54 |
0 |
27 |
10 |
0 |
100% |
mcpgateway/utils/create_slug.py |
(no class) |
12 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/utils/db_isready.py |
(no class) |
76 |
0 |
45 |
12 |
1 |
99% |
mcpgateway/utils/redis_isready.py |
(no class) |
44 |
6 |
40 |
10 |
1 |
87% |
mcpgateway/utils/services_auth.py |
(no class) |
33 |
0 |
0 |
6 |
0 |
100% |
mcpgateway/utils/verify_credentials.py |
(no class) |
45 |
0 |
0 |
12 |
0 |
100% |
mcpgateway/validation/__init__.py |
(no class) |
2 |
0 |
0 |
0 |
0 |
100% |
mcpgateway/validation/jsonrpc.py |
JSONRPCError |
9 |
0 |
0 |
2 |
0 |
100% |
mcpgateway/validation/jsonrpc.py |
(no class) |
49 |
9 |
0 |
32 |
9 |
78% |
mcpgateway/version.py |
(no class) |
126 |
24 |
0 |
16 |
4 |
80% |
mcpgateway/wrapper.py |
(no class) |
217 |
29 |
11 |
50 |
9 |
86% |