neuralcontrol-mcp

v1.3.0
neuralcontrol-mcp Checked 1 day ago Published 8 months ago

MCP Server for the AI Control Plane — gives AI editors live access to endpoint configs, metrics, and SDK docs

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_endpoint_config Get Endpoint Config

Fetch the live AI-tuned configuration for a specific service endpoint. Shows all feature flags: adaptive_timeout, cache_enabled, circuit_breaker, rate_limit_rule_rpm, load_shedding, queue_deferral, and theuir current values. Use this when the user asks: - "What is the AI setting for /checkout right now?" - "Is caching active for /products?" - "Why is the circuit breaker open for /payment?"

ParameterTypeDescription
endpoint *stringThe endpoint path (e.g. "/products")
service_name *stringThe name of the service (e.g. "hi-service")

get_recent_metrics Get Recent Metrics

Get real-time latency metrics (p50, p95, p99) and error rates for an endpoint. Use this when debugging performance issues: - "Why is /checkout slow right now?" - "What's the p99 latency for /products?" - "Is the error rate spiking for this endpoint?"

ParameterTypeDescription
endpoint *stringThe endpoint path
service_name *stringThe name of the service
windowstringTime window — "1h" (default) or "24h"

get_adaptive_timeout_status Get Adaptive Timeout Status

Get the live adaptive timeout status for ALL tracked endpoints. Returns: active status, current p99, threshold, latency trend for each endpoint. Use this when the user wants to see which endpoints are currently timing out.

get_ai_thresholds Get Ai Thresholds

Get the AI-calculated threshold values for a specific endpoint. Returns all tuned values: adaptive_timeout_latency_ms, cache_latency_ms, circuit_breaker_error_rate, rate_limit_rpm, load_shed_latency_ms, etc. Use this to understand exactly what numbers the AI is using for decisions.

ParameterTypeDescription
endpoint *stringThe endpoint path
service_name *stringThe name of the service

get_all_ai_insights Get All Ai Insights

Get recent AI analysis insights — explains WHY the AI enabled/disabled each feature. Shows the AI's reasoning: "Enabled caching on /products because p99 exceeded 800ms" Use this when the user asks "Why did the AI enable the circuit breaker?"

get_open_incidents Get Open Incidents

Get currently open incidents (latency spikes, error surges) detected by the AI. Use this when investigating why an endpoint is degraded right now.

ParameterTypeDescription
service_nameOptional — filter to a specific service. Omit for all.

get_active_overrides Get Active Overrides

List all manually created threshold overrides — these temporarily override the AI's decisions (e.g. "force timeout to 5000ms while DB is recovering"). Use this to see if any manual interventions are active.

create_threshold_override Create Threshold Override

Temporarily override the AI-tuned thresholds for a specific endpoint. Use this when the user needs immediate manual intervention: - "Raise the timeout for /checkout to 5000ms while DB is recovering" - "Disable rate limiting for /products during a live demo" - "Force the circuit breaker open on /payment while it's broken" Only provide the fields you want to override — all are optional.

ParameterTypeDescription
endpoint *stringEndpoint path (e.g. "/checkout")
service_name *stringName of the service
adaptive_timeout_latency_msOverride timeout threshold (ms)
cache_latency_msOverride caching latency threshold (ms)
circuit_breaker_error_rateOverride circuit breaker threshold (0.0–1.0)
load_shed_latency_msOverride load shedding latency threshold (ms)
rate_limit_rpmOverride rate limit (requests per minute)
reasonstringHuman-readable reason for the override

get_sdk_setup_instructions Get Sdk Setup Instructions

Get the official SDK installation and setup instructions. Returns the markdown content from GETTING_STARTED.md and README.md so the AI can automatically write the integration code for the user.

get_feature_documentation Get Feature Documentation

Read the official documentation for a specific AI Control Plane feature. Use this when the user needs help implementing or understanding a specific protection mechanism.

ParameterTypeDescription
feature *stringThe specific feature to look up. Must be one of: "rate_limiting", "caching", "load_shedding", "circuit_breaker", "queue_deferral", "adaptive_timeout", "request_coalescing", "feature_fl…

get_feature_flags Get Feature Flags

Fetch all feature flags for a specific service. Returns the flag names, rollout percentages, and status (enabled/disabled). Use this when the user asks: - "What feature flags exist for /checkout?" - "Is the new_payment_gateway flag enabled?"

ParameterTypeDescription
service_name *stringThe name of the service

set_feature_flag Set Feature Flag

Create or update a feature flag's rollout percentage. Status is automatically set to "enabled" if rollout_percent > 0, else "disabled". Use this when the user asks: - "Create a new feature flag called new_ui at 50% rollout" - "Disable the experimental_feature flag" - "Ramp up the new_payment_gateway to 100%"

ParameterTypeDescription
name *stringThe name of the feature flag to create/update
rollout_percent *integerThe percentage of users who should see this feature (0-100)
service_name *stringThe name of the service

get_trace Get Trace

Fetch the full distributed trace waterfall for a specific trace_id. Returns all spans across all services that share this trace_id, including latency and errors. Use this when the user provides a trace_id (e.g. from an incident or a log) and asks: - "Why was this specific request so slow?" - "Show me the trace for trace_id 1234abcd"

ParameterTypeDescription
trace_id *stringThe unique 32-character hex trace ID