Skip to content
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.

crates/cre8-app-mcp · level 15 · 4,447 lines (3,647 code) · 12 files · 277 fns (71 tests) · cyclomatic Σ 493

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).

normal dep · 4 callsnormal dep · 2 callsnormal dep · 15 callsnormal dep · 2 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 3 callsnormal dep · 7 callsnormal dep · 2 callsnormal dep · 4 callsnormal dep · 2 callsnormal dep · 2 callsnormal dep · 0 calls · never namednormal dep · 1 callsnormal dep · 10 callsnormal dep · 4 callsnormal dep · 1 callsnormal dep · 0 callsnormal dep · 16 callsnormal dep · 2 callsnormal dep · 3 callsnormal dep · 5 callsdev dep · 1 callsdev dep · 8 callsdev dep · 1 callsnormal dep · 0 callsnormal dep · 1 callsnormal dep · 0 callsapp-mcpL15 · 3,647 linescre8-app-mcpapp-agentL23 · 25,432 linescre8-app-agentapp-code_changeL21 · 2,183 linescre8-app-code_changeapp-gatewayL12 · 23,741 linescre8-app-gatewayapp-interpretL10 · 13,240 linescre8-app-interpretapp-knowledgeL14 · 14,274 linescre8-app-knowledgeapp-passportL9 · 3,816 linescre8-app-passportapp-passport-modelL4 · 2,418 linescre8-app-passport-modelapp-truthL6 · 20,464 linescre8-app-truthapp-viewL9 · 5,933 linescre8-app-viewapp-view-libL7 · 86,830 linescre8-app-view-libconduit-hrpL4 · 3,791 linescre8-conduit-hrpplatform-envL3 · 316 linescre8-platform-envplatform-timeL3 · 65 linescre8-platform-timeruntime-app-catalog-apiL0 · 96 linescre8-runtime-app-catalog-apiruntime-app-typesL5 · 2,860 linescre8-runtime-app-typesruntime-connection-catalo…L1 · 446 linescre8-runtime-connection-catalog-apiruntime-contractsL0 · 6,077 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-mcp-projection-apiL4 · 91 linescre8-runtime-mcp-projection-apiruntime-schema-apiL0 · 36 linescre8-runtime-schema-apiruntime-view-apiL6 · 158 linescre8-runtime-view-apiutil-cryptoL3 · 749 linescre8-util-cryptoapp-protocolL8 · 25,151 linescre8-app-protocolruntime-dispatch-apiL6 · 496 linescre8-runtime-dispatch-apiruntime-app-catalogL27 · 676 linescre8-runtime-app-catalogruntime-catalogL28 · 1,314 linescre8-runtime-catalogruntime-provider-toolsL30 · 50 linescre8-runtime-provider-tools

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
sign_argssrc/auth.rs:237fn242846.5
mcp_tool_resultsrc/tools.rs:21fn711905.3
handle_mcp_http_requestsrc/handler.rs:19fn112233.7
handle_mcp_requestsrc/handler.rs:12fn31313.4
canonicalizesrc/auth.rs:215fn154103.1
canonical_json_stringsrc/auth.rs:210fn41213.1
test_snapshotsrc/handler.rs:724fn2211442.8
clamp_ttl_secssrc/nonce_store.rs:307fn31102.8
extract_and_verifysrc/auth.rs:88fn92822.7
NonceStore::newsrc/nonce_store.rs:129method311412.7
normalize_gateway_errorsrc/tools.rs:951fn157102.6
canonical_args_digestsrc/auth.rs:200fn61312.6
dispatch_gateway_connection_with_callersrc/tools.rs:994fn294312.5
jsonrpc_resultsrc/handler.rs:387fn31602.5
NonceStore::issuesrc/nonce_store.rs:150method3741232.2
jsonrpc_errorsrc/handler.rs:391fn71302.1
project_context_namessrc/tools.rs:1127fn235302
parse_hexsrc/tools.rs:745fn112301.9
call_toolsrc/handler.rs:747fn1411011.9
verified_auth_partssrc/auth.rs:133fn121161.9
base64_decodesrc/auth.rs:262fn41101.9
dispatch_gateway_connectionsrc/tools.rs:981fn71611.7
response_textsrc/handler.rs:781fn101901.7
NonceStore::consumesrc/nonce_store.rs:192method303961.7
jsonrpc_resultsrc/bin/mcp_control_plane/run.rs:259fn31401.7
strip_auth_fieldsrc/auth.rs:116fn41101.6
verify_envelopesrc/auth.rs:121fn62111.6
prepare_projected_argumentssrc/auth.rs:102fn123411.5
jsonrpc_is_validsrc/handler.rs:31fn31101.5
route_mcp_methodsrc/handler.rs:35fn121131.5
bind_legacy_transport_access_tokensrc/handler.rs:377fn92301.5
test_project_mcp_toolssrc/handler.rs:682fn301301.5
indented_pretty_jsonsrc/bin/mcp_tool_projection_demo/run.rs:85fn31301.4
prune_nonce_storesrc/nonce_store.rs:238fn41201.4
mcp_callsrc/handler.rs:952fn31411.3
parse_addrsrc/tools.rs:758fn72201.3
run_vm_shell_coresrc/tools.rs:420fn251331.2
parse_context_projectionsrc/tools.rs:1115fn115301.2
boot_and_runsrc/tools.rs:564fn345311.2
commands_to_scriptsrc/tools.rs:600fn124301.2

Outside the workspace

anyhow base64 cre8-vm getrandom serde serde_json sha2