REQ-MCP

← Requirements

26 requirements: 26 implemented, 26 tested, 0 passing.

requirementtierimplemented bytests
REQ-MCP-001
MCPServerBase holds the shared logic; concrete servers override only deltas
NOT_RUN
20 functionsBashServer
DiagnosticsServer
FilesystemServer
GitServer
WebServer
anchor_key
anchor_key
configure
execute
get_permission_pattern
init_builtins
inject_anchor_if_needed
list_tools
register_core_tools
register_fs_tools
register_git_tools
register_tool
set_working_dir
set_working_dir_all
skip_duplicate_check
1 direct · 368 reached through calls
369 tests: 369 absent
REQ-MCP-002
Tool results always cross boundaries as a ServerResponse JSON envelope
NOT_RUN
17 functionsbuild_directive
build_response
directive_type_name
disconnected_error
dispatch
execute
execute
execute
execute
execute_tool
extract_and_process_directives
extract_directive_array
make_git_response
parse_tool_result_text
route_external_or_unknown
route_plugin_call
serialize_response
0 direct · 128 reached through calls
128 tests: 128 absent
REQ-MCP-003
ToolRegistry dispatch is defensive about unknown and null tools
NOT_RUN
7 functionsdispatch
get_definitions
get_tool
get_tools_json
has_tool
register_tool
register_tool
0 direct · 325 reached through calls
325 tests: 325 absent
REQ-MCP-004
Plugin C ABI is pure C, version-locked, and exported under hidden visibility
NOT_RUN
8 functionscreate_instance
load
resolve_and_check_version
resolve_and_init
resolve_factory_symbols
resolve_instance_symbols
resolve_symbols
take_string
0 direct · 232 reached through calls
232 tests: 232 absent
REQ-MCP-005
Configured plugins load loudly or fail loudly — never silently skipped
NOT_RUN
4 functionscreate_instance
load
load_plugins
resolve_and_check_version
0 direct · 232 reached through calls
232 tests: 232 absent
REQ-MCP-006
Plugin instances get serialised calls and ordered teardown
NOT_RUN
6 functionsconfigure
execute
list_tools
set_working_dir
shutdown
~PluginServer
0 direct · 245 reached through calls
245 tests: 245 absent
REQ-MCP-007
Tool calls route by server prefix uniformly across all three server kinds
NOT_RUN
23 functionsappend_external_tools
append_plugin_tools
append_prefixed_tools
connect_external_server
execute
execute
external_tools_without_readonly_hint
extract_local_name
extract_prefix
get_server
init_builtins
list_server_info
list_tools
list_tools
list_tools
list_tools
query_tools
route_external_call
route_external_or_unknown
route_plugin_call
route_tool_call
server_names
tools_without_readonly_hint
0 direct · 278 reached through calls
278 tests: 278 absent
REQ-MCP-008
Plugin tools are argument-validated on the same terms as built-ins
NOT_RUN
5 functionscheck_schema
get_tool_schema
get_tools_json
list_tools
plugin_tool_schema
0 direct · 63 reached through calls
63 tests: 63 absent
REQ-MCP-009
Operator permission gate with deny precedence and server-derived patterns
NOT_RUN
13 functionsadd_permission
add_permission
args_to_pattern
check_approval
check_approval_pc
execute
get_permission_pattern
get_permission_pattern
get_permission_pattern
is_allowed
is_denied
is_explicitly_allowed
pattern_matches
0 direct · 79 reached through calls
79 tests: 79 absent
REQ-MCP-010
Per-identity MCP key authorization is opt-in but default-deny once enabled
NOT_RUN
13 functionscheck_access
check_mcp_authorization
entropic_check_mcp_key
entropic_deserialize_mcp_keys
entropic_grant_mcp_key
entropic_grant_mcp_key_from
entropic_list_mcp_keys
entropic_revoke_mcp_key
entropic_serialize_mcp_keys
find_best_match
has_access
is_enforced
server_wildcard
0 direct · 108 reached through calls
108 tests: 108 absent
REQ-MCP-011
Every tool declares its required access level, defaulting to WRITE
NOT_RUN
21 functionscheck_access
check_mcp_authorization
get_required_access_level
has_access
register_introspection_tools
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
required_access_level
0 direct · 266 reached through calls
266 tests: 266 absent
REQ-MCP-012
Tool calls pass an ordered precondition pipeline with typed rejection kinds
NOT_RUN
15 functionscheck_anti_spiral_hard_block
check_approval
check_approval_pc
check_call_preconditions
check_dup_or_approval
check_mcp_authorization
check_tier_allowed
process_single_call
process_tool_calls
requires_approval
requires_approval
requires_approval
should_stop_batch
sort_tool_calls
truncate_to_limit
0 direct · 58 reached through calls
58 tests: 58 absent
REQ-MCP-013
Tool arguments are validated against the declared JSON schema before dispatch
NOT_RUN
14 functionsDelegateTool
PipelineTool
check_enum
check_property_constraints
check_range
check_required_fields
check_schema
check_type
get_tool_schema
load_tool_definition
normalize_args
render_response_format
serialize_args
validate_tool_args
0 direct · 347 reached through calls
347 tests: 347 absent
REQ-MCP-014
A locked tier's allowed_tools list is enforced at dispatch time
NOT_RUNcheck_tier_allowed
wire_tool_executor
0 direct · 132 reached through calls
132 tests: 132 absent
REQ-MCP-015
Duplicates, errors, and denials return corrective guidance, not bare failure
NOT_RUN
16 functionscheck_dup_or_approval
check_duplicate
check_repeated_failure
create_circuit_breaker_message
create_denied_message
create_duplicate_message
create_error_message
finalize_tool_call
handle_duplicate
record_tool_call
skip_duplicate_check
skip_duplicate_check
skip_duplicate_check
skip_duplicate_check
tool_call_key
tool_error_json
1 direct · 60 reached through calls
61 tests: 61 absent
REQ-MCP-016
Anti-spiral tracking warns softly then hard-blocks repeated identical tools
NOT_RUN
5 functionscheck_anti_spiral_hard_block
check_repeated_failure
check_spiral_blocks
effective_hard_block_threshold
update_anti_spiral_tracking
0 direct · 58 reached through calls
58 tests: 58 absent
REQ-MCP-017
PRE/POST_TOOL_CALL hooks fire on every exit path, PRE may rewrite the args and POST the result
NOT_RUN
7 functionsapply_pre_tool_modification
build_post_tool_json
build_pre_tool_json
finalize_tool_call
fire_post_tool_hook
fire_pre_tool_hook
process_single_call
0 direct · 58 reached through calls
58 tests: 58 absent
REQ-MCP-019
Tool results are size-capped with a marker and classified into typed kinds
NOT_RUN
7 functionsapply_result_size_cap
classify_tool_result
finalize_tool_call
is_effectively_empty
looks_like_tool_error
starts_with_json_error
truncate_to_cap
0 direct · 65 reached through calls
65 tests: 65 absent
REQ-MCP-020
A bounded, thread-safe ring buffer retains recent tool calls for introspection
NOT_RUN
11 functionsToolCallHistory
all
execute_tool
recent
record
record_to_json
record_tool_history
size
summarize_params
to_json
truncate_result
0 direct · 154 reached through calls
154 tests: 154 absent
REQ-MCP-021
Filesystem tools are root-confined, read-before-write gated, and size-bounded
NOT_RUN
51 functionsFilesystemServer
anchor_key
apply_edit
apply_insert
apply_str_replace
ask_outside_root_approver
authorize_outside_root
check_read_before_write
check_read_gates
collect_entries
collect_glob_matches
compile_grep_or_error
compute_max_read_bytes
confined_mcp_config
create_fs_tools
do_insert
do_str_replace
entropic_set_path_approval_callback
execute
execute
execute
execute
first_containing
list_page
log_outside_root_policy
make_error
max_read_bytes
outside_root_refusal
outside_root_thunk
parse_absolute_path_list
parse_outside_root_access
path_within
read_and_track
read_file_contents
read_numbered_lines
record_read
refuse_denied
refuse_escape
release_session
release_session
release_session
resolve_path
root_dir
set_outside_root_approver
set_outside_root_approver
set_working_dir
skip_duplicate_check
tracker
was_read
wire_outside_root_approver
write_file_contents
0 direct · 342 reached through calls
342 tests: 342 absent
REQ-MCP-022
Glob, grep, and read honour .gitignore plus .explorerignore semantics
NOT_RUN
32 functionsFilesystemServer
add_pattern
any_glob_match
check_read_gates
classify_glob_entry
collect_buckets
collect_glob_matches
compile_or_never
compile_pattern
emit_one
execute
execute
grep_file
grep_search
ignore
is_ignored
is_skipped_dir_name
load
load_file
load_nested_gitignores
make_base_prefix
normalize_base
pattern_to_regex
pop_highest
prunes_discovery
push_rule
read_page
rule_matches
set_working_dir
should_skip_dir
strip_flags
visit_discovery_entry
0 direct · 301 reached through calls
301 tests: 301 absent
REQ-MCP-023
Bash and git servers gate on operator approval, not command pattern matching; bash enforces a timeout on the whole process group
NOT_RUN
28 functionsBashServer
GitServer
cancelled_error
collect_until_exit
create_git_tools
drain
drain_and_close
execute
get_permission_pattern
init_builtins
is_safe_cwd
make_git_response
parse_bash_config
poll_stop
pump
reap
repo_dir
run_git
run_shell
set_working_dir
set_working_dir
shell_exited
shell_result
spawn_git
spawn_shell
timeout
timeout_error
working_dir
0 direct · 286 reached through calls
286 tests: 286 absent
REQ-MCP-024
Engine-level entropic.* tools validate their arguments and emit typed directives
NOT_RUN
24 functionsDelegateTool
PipelineTool
build_complete_directive
build_directive
call_provider
execute
execute
execute
execute
execute
execute
execute
execute
execute
execute
execute
extract_and_process_directives
followup_results
pipeline_rejection
register_core_tools
register_delegation_tools
register_introspection_tools
release_session
set_state_provider
0 direct · 263 reached through calls
263 tests: 263 absent
REQ-MCP-025
External servers are discovered safely, directive-stripped, and health-monitored
NOT_RUN
62 functionsattempt_reconnect
build_env
build_request
build_request_id
build_response
check_server
clear_external_tool_interrupts
clear_interrupt
clear_interrupt
clear_interrupt
compute_socket_path
connect
connect_and_register_external
connect_declared_servers
connect_discovered_servers
connect_external_server
delay_ms
disconnected_error
discover
empty_response_envelope
entropic_deregister_mcp_server
entropic_list_mcp_servers
entropic_register_mcp_server
execute
exhausted
expected_bridge_socket
has_blocked_prefix
infer_transport
initialize_external_servers
interrupt
interrupt_external_tools
is_blocked_env_var
is_interrupted
is_interrupted
is_interrupted
list_tools
make_transport
mismatched_response_envelope
on_reconnect_success
parse_mcp_json
parse_server_entry
parse_sse_entry
parse_stdio_entry
post_event
process_events
process_health_events
query_tools
refresh_tools
response_matches
response_problem
route_external_call
sanitize_display_name
send_initialize
send_request
send_request
set_discovered_server_approver
set_init_timeout_ms
set_own_bridge_socket
shutdown
start
watch
wire_external_server_policy
0 direct · 318 reached through calls
318 tests: 318 absent
REQ-MCP-026
A JSON-RPC response is paired with the request that asked for it
NOT_RUN
9 functionsbuild_request_id
drain_orphaned_responses
execute
mismatched_response_envelope
query_tools
response_matches
response_problem
send_initialize
send_request
0 direct · 269 reached through calls
269 tests: 269 absent
REQ-MCP-027
Named workspaces bind a session to its own tool root and servers
NOT_RUN
19 functionsapply_workspace_app_context
bind_session_workspace
build_workspace
clear_workspace_prompts
confined_mcp_config
entropic_session_bind_workspace
entropic_workspace_create
entropic_workspace_set_app_context
execute_tool
resolve_registration_target
servers_for
session_system_prompt
set_server_resolver
set_working_dir
set_workspace_prompts
validate_workspace_args
workspace_for
workspace_root_refusal
workspace_servers
0 direct · 274 reached through calls
274 tests: 274 absent