1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off
cre8-app-mcp mcp cargo crate
McpApp — Model Context Protocol surface: auth, handler, and tool registration.
20workspace deps
5direct dependents
23transitive dependents
90calls out
7calls in
236call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 277 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| sign_argssrc/auth.rs:234 | fn | 24 | 2 | 8 | 4 | 6.4 | |
| mcp_tool_resultsrc/tool.rs:21 | fn | 7 | 1 | 19 | 0 | 5.3 | |
| handle_mcp_http_requestsrc/handler.rs:19 | fn | 11 | 2 | 2 | 3 | 3.7 | |
| handle_mcp_requestsrc/handler.rs:12 | fn | 3 | 1 | 3 | 1 | 3.4 | |
| test_snapshotsrc/handler.rs:724 | fn | 22 | 1 | 14 | 4 | 2.8 | |
| clamp_ttl_secssrc/nonce_store.rs:307 | fn | 3 | 1 | 1 | 0 | 2.7 | |
| extract_and_verifysrc/auth.rs:87 | fn | 9 | 2 | 8 | 2 | 2.7 | |
| NonceStore::newsrc/nonce_store.rs:129 | method | 3 | 1 | 14 | 1 | 2.7 | |
| normalize_gateway_errorsrc/tool.rs:951 | fn | 15 | 7 | 1 | 0 | 2.6 | |
| canonical_args_digestsrc/auth.rs:199 | fn | 4 | 1 | 3 | 2 | 2.5 | |
| dispatch_gateway_connection_with_callersrc/tool.rs:994 | fn | 29 | 4 | 3 | 1 | 2.5 | |
| jsonrpc_resultsrc/handler.rs:387 | fn | 3 | 1 | 6 | 0 | 2.5 | |
| NonceStore::issuesrc/nonce_store.rs:150 | method | 37 | 4 | 12 | 3 | 2.2 | |
| canonicalizesrc/auth.rs:212 | fn | 15 | 4 | 1 | 0 | 2.2 | |
| jsonrpc_errorsrc/handler.rs:391 | fn | 7 | 1 | 3 | 0 | 2.1 | |
| project_context_namessrc/tool.rs:1127 | fn | 23 | 5 | 3 | 0 | 2 | |
| canonical_json_stringsrc/auth.rs:207 | fn | 4 | 1 | 2 | 1 | 2 | |
| parse_hexsrc/tool.rs:745 | fn | 11 | 2 | 3 | 0 | 1.9 | |
| call_toolsrc/handler.rs:747 | fn | 14 | 1 | 10 | 1 | 1.9 | |
| verified_auth_partssrc/auth.rs:132 | fn | 12 | 1 | 1 | 6 | 1.9 | |
| base64_decodesrc/auth.rs:259 | fn | 4 | 1 | 1 | 0 | 1.9 | |
| dispatch_gateway_connectionsrc/tool.rs:981 | fn | 7 | 1 | 6 | 1 | 1.7 | |
| response_textsrc/handler.rs:781 | fn | 10 | 1 | 9 | 0 | 1.7 | |
| NonceStore::consumesrc/nonce_store.rs:192 | method | 30 | 3 | 9 | 6 | 1.7 | |
| jsonrpc_resultsrc/bin/mcp_control_plane/run.rs:259 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| strip_auth_fieldsrc/auth.rs:115 | fn | 4 | 1 | 1 | 0 | 1.6 | |
| verify_envelopesrc/auth.rs:120 | fn | 6 | 2 | 1 | 1 | 1.6 | |
| prepare_projected_argumentssrc/auth.rs:101 | fn | 12 | 3 | 4 | 1 | 1.5 | |
| jsonrpc_is_validsrc/handler.rs:31 | fn | 3 | 1 | 1 | 0 | 1.5 | |
| route_mcp_methodsrc/handler.rs:35 | fn | 12 | 1 | 1 | 3 | 1.5 | |
| bind_legacy_transport_access_tokensrc/handler.rs:377 | fn | 9 | 2 | 3 | 0 | 1.5 | |
| test_project_mcp_toolssrc/handler.rs:682 | fn | 30 | 1 | 3 | 0 | 1.5 | |
| indented_pretty_jsonsrc/bin/mcp_tool_projection_demo/run.rs:85 | fn | 3 | 1 | 3 | 0 | 1.4 | |
| prune_nonce_storesrc/nonce_store.rs:238 | fn | 4 | 1 | 2 | 0 | 1.4 | |
| mcp_callsrc/handler.rs:952 | fn | 3 | 1 | 4 | 1 | 1.3 | |
| parse_addrsrc/tool.rs:758 | fn | 7 | 2 | 2 | 0 | 1.3 | |
| run_vm_shell_coresrc/tool.rs:420 | fn | 25 | 1 | 3 | 3 | 1.2 | |
| parse_context_projectionsrc/tool.rs:1115 | fn | 11 | 5 | 3 | 0 | 1.2 | |
| boot_and_runsrc/tool.rs:564 | fn | 34 | 5 | 3 | 1 | 1.2 | |
| commands_to_scriptsrc/tool.rs:600 | fn | 12 | 4 | 3 | 0 | 1.2 |
Outside the workspace
anyhow base64 cre8-vm getrandom serde serde_json sha2