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

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

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.

normal dep · 4 calls · source referencenormal dep · 2 calls · source referencenormal dep · 15 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 3 calls · source referencenormal dep · 7 calls · source referencenormal dep · 2 calls · source referencenormal dep · 4 calls · source referencenormal dep · 2 calls · source referencenormal dep · 2 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 1 calls · source referencenormal dep · 10 calls · source referencenormal dep · 4 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 16 calls · source referencenormal dep · 2 calls · source referencenormal dep · 3 calls · source referencenormal dep · 6 calls · source referencedev dep · 1 calls · source referencedev dep · 8 calls · source referencedev dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referenceapp-mcpL16 · 3,644 linescre8-app-mcpapp-agentL24 · 25,428 linescre8-app-agentapp-code_changeL22 · 2,183 linescre8-app-code_changeapp-gatewayL13 · 24,179 linescre8-app-gatewayapp-interpretL11 · 13,233 linescre8-app-interpretapp-knowledgeL15 · 15,649 linescre8-app-knowledgeapp-passportL10 · 4,486 linescre8-app-passportapp-passport-modelL4 · 2,434 linescre8-app-passport-modelapp-truthL7 · 20,485 linescre8-app-truthapp-viewL10 · 6,011 linescre8-app-viewapp-view-libL8 · 89,193 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-typesL6 · 2,860 linescre8-runtime-app-typesruntime-connection-catalo…L1 · 580 linescre8-runtime-connection-catalog-apiruntime-contractsL0 · 6,322 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-apiL7 · 158 linescre8-runtime-view-apiutil-cryptoL3 · 749 linescre8-util-cryptoapp-protocolL9 · 26,097 linescre8-app-protocolruntime-dispatch-apiL7 · 496 linescre8-runtime-dispatch-apiruntime-app-catalogL28 · 681 linescre8-runtime-app-catalogruntime-catalogL29 · 1,374 linescre8-runtime-catalogruntime-provider-toolsL31 · 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:234fn242846.4
mcp_tool_resultsrc/tool.rs:21fn711905.3
handle_mcp_http_requestsrc/handler.rs:19fn112233.7
handle_mcp_requestsrc/handler.rs:12fn31313.4
test_snapshotsrc/handler.rs:724fn2211442.8
clamp_ttl_secssrc/nonce_store.rs:307fn31102.7
extract_and_verifysrc/auth.rs:87fn92822.7
NonceStore::newsrc/nonce_store.rs:129method311412.7
normalize_gateway_errorsrc/tool.rs:951fn157102.6
canonical_args_digestsrc/auth.rs:199fn41322.5
dispatch_gateway_connection_with_callersrc/tool.rs:994fn294312.5
jsonrpc_resultsrc/handler.rs:387fn31602.5
NonceStore::issuesrc/nonce_store.rs:150method3741232.2
canonicalizesrc/auth.rs:212fn154102.2
jsonrpc_errorsrc/handler.rs:391fn71302.1
project_context_namessrc/tool.rs:1127fn235302
canonical_json_stringsrc/auth.rs:207fn41212
parse_hexsrc/tool.rs:745fn112301.9
call_toolsrc/handler.rs:747fn1411011.9
verified_auth_partssrc/auth.rs:132fn121161.9
base64_decodesrc/auth.rs:259fn41101.9
dispatch_gateway_connectionsrc/tool.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.6
strip_auth_fieldsrc/auth.rs:115fn41101.6
verify_envelopesrc/auth.rs:120fn62111.6
prepare_projected_argumentssrc/auth.rs:101fn123411.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/tool.rs:758fn72201.3
run_vm_shell_coresrc/tool.rs:420fn251331.2
parse_context_projectionsrc/tool.rs:1115fn115301.2
boot_and_runsrc/tool.rs:564fn345311.2
commands_to_scriptsrc/tool.rs:600fn124301.2

Outside the workspace

anyhow base64 cre8-vm getrandom serde serde_json sha2