1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 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
89calls out
7calls in
239call-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.
Declared but never named in this crate's source: cre8-platform-time (normal).
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:237 | fn | 24 | 2 | 8 | 4 | 6.5 | |
| mcp_tool_resultsrc/tools.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 | |
| canonicalizesrc/auth.rs:215 | fn | 15 | 4 | 1 | 0 | 3.1 | |
| canonical_json_stringsrc/auth.rs:210 | fn | 4 | 1 | 2 | 1 | 3.1 | |
| 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.8 | |
| extract_and_verifysrc/auth.rs:88 | fn | 9 | 2 | 8 | 2 | 2.7 | |
| NonceStore::newsrc/nonce_store.rs:129 | method | 3 | 1 | 14 | 1 | 2.7 | |
| normalize_gateway_errorsrc/tools.rs:951 | fn | 15 | 7 | 1 | 0 | 2.6 | |
| canonical_args_digestsrc/auth.rs:200 | fn | 6 | 1 | 3 | 1 | 2.6 | |
| dispatch_gateway_connection_with_callersrc/tools.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 | |
| jsonrpc_errorsrc/handler.rs:391 | fn | 7 | 1 | 3 | 0 | 2.1 | |
| project_context_namessrc/tools.rs:1127 | fn | 23 | 5 | 3 | 0 | 2 | |
| parse_hexsrc/tools.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:133 | fn | 12 | 1 | 1 | 6 | 1.9 | |
| base64_decodesrc/auth.rs:262 | fn | 4 | 1 | 1 | 0 | 1.9 | |
| dispatch_gateway_connectionsrc/tools.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.7 | |
| strip_auth_fieldsrc/auth.rs:116 | fn | 4 | 1 | 1 | 0 | 1.6 | |
| verify_envelopesrc/auth.rs:121 | fn | 6 | 2 | 1 | 1 | 1.6 | |
| prepare_projected_argumentssrc/auth.rs:102 | 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/tools.rs:758 | fn | 7 | 2 | 2 | 0 | 1.3 | |
| run_vm_shell_coresrc/tools.rs:420 | fn | 25 | 1 | 3 | 3 | 1.2 | |
| parse_context_projectionsrc/tools.rs:1115 | fn | 11 | 5 | 3 | 0 | 1.2 | |
| boot_and_runsrc/tools.rs:564 | fn | 34 | 5 | 3 | 1 | 1.2 | |
| commands_to_scriptsrc/tools.rs:600 | fn | 12 | 4 | 3 | 0 | 1.2 |
Outside the workspace
anyhow base64 cre8-vm getrandom serde serde_json sha2