Skip to main content
Glama
joelcanepa

OBD-II MCP Server

by joelcanepa

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OBD_FASTNoWhether to use fast mode (true/false).
OBD_PORTNoThe serial port for the ELM327 adapter (e.g., COM3 or /dev/rfcomm0).
OBD_TIMEOUTNoTimeout in seconds (e.g., 30).
OBD_BAUDRATENoThe baudrate to use (e.g., 38400).
OBD_MCP_HOSTNoHost for HTTP transport (e.g., 127.0.0.1).
OBD_MCP_HTTP_PORTNoPort for HTTP transport (e.g., 8000).
OBD_MCP_TRANSPORTNoTransport mode: 'stdio' or 'streamable-http'.
OBD_RECONNECT_DELAYNoDelay in seconds between reconnect attempts.
OBD_RECONNECT_ATTEMPTSNoNumber of reconnect attempts.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_connection_statusA

Check the ELM327/ECU connection, port, and OBD-II protocol.

Use this first when a vehicle may be off or disconnected.

list_supported_sensorsA

List live sensor PIDs discovered as supported by the vehicle.

Use these exact names with read_sensor.

read_sensorB

Read one or several supported sensors and return values with units.

Examples: RPM, SPEED, COOLANT_TEMP, INTAKE_PRESSURE.

read_dtcA

Read stored and pending/current-cycle diagnostic trouble codes.

Includes python-OBD technical descriptions when known and does not modify the ECU.

clear_dtcA

Clear ECU DTCs and freeze-frame only after explicit user approval.

Set confirm=true; this may reset readiness monitors and temporarily turn off the MIL.

get_vehicle_infoA

Read VIN, Check Engine/MIL state, DTC count, and OBD-II protocol.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joelcanepa/OBD2-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server