# xmp4 — Semantic code knowledge for your stack

> OSS libs in your stack, really used: source, tests, callers. C#, Java, TS, Python, Rust, PHP+.

- name: ai.example4/xmp4
- version: 1.2.6
- connection class: R0 (autonomous)
- trust: 89/100
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/ai.example4%2Fxmp4
- tools: https://api.protogrid.dev/v1/servers/ai.example4%2Fxmp4/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "xmp4": {
      "type": "http",
      "url": "https://mcp.example4.ai/mcp"
    }
  }
}
```


## Trust

- hygiene: 100
- liveness: 100
- freshness: 65
- provenance: 85
- drivers: +repository +dns-namespace +website +reachable +uptime-100% ~updated-180d-ago
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-03-26; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: xmp4_callees (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); xmp4_deps (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); xmp4_hierarchy (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 4,583 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 16, about 4,583 tokens to load them all
- tool set hash: b552b746098f6f4467b858c0b29df1b2
- badge: [![protogrid quality](https://protogrid.dev/badge/ai.example4/xmp4.svg)](https://protogrid.dev/servers/ai.example4/xmp4)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://mcp.example4.ai/mcp (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (16)

- `xmp4_callees`: Find direct callees (methods called by) a symbol in a project. Navigate step-by-step by calling xmp4_callees again on interesting results.
- `xmp4_callers`: Find direct callers of a symbol in a project. Navigate step-by-step by calling xmp4_callers again on interesting results.
- `xmp4_deps`: List external dependencies of a project.
- `xmp4_grep`: Server-side regex text search over indexed project source files. Free tier: requires file_path (single file). Premium tier (XMP4_PREMIUM_GREP_WALK=true): allows file_glob multi-file walk. Prefer xmp4_tests_for/xmp4_usages for SCIP symbols — grep is for text not indexed (comments, literals, config keys).
- `xmp4_guide`: Usage guide for xmp4 tools — read this first to learn the correct workflow
- `xmp4_hierarchy`: Get type hierarchy (base, interfaces, derived) for a symbol in a project.
- `xmp4_info`: Get detailed information about a symbol in a project.
- `xmp4_outline`: Get outline (all symbols) for a file in a project.
- `xmp4_projects`: Search and browse projects by language and name. Use this first to discover projects, then use other tools with the repo name.
- `xmp4_search`: Search symbols in a project. Use xmp4_projects first to find the project identifier.
- `xmp4_server`: Get server information, version, and capabilities
- `xmp4_source`: Extract source code for a symbol in a project.
- `xmp4_symbol_at`: LSP-style position→symbol lookup. Given (file_path, line, column) returns the symbol whose occurrence covers that cursor position. line is 1-based; column is 0-based. Use after xmp4_outline/xmp4_view when you know coordinates and want the canonical symbol.
- `xmp4_tests_for`: Find direct tests that exercise a given symbol (direct callers filtered to test-file candidates per language pattern: CSharp/Java/PHP: *Test(s).<ext>; Python: test_*.py / *_test.py; TypeScript/JavaScript: *.spec/test.{ts,js}; Rust: *_tests.rs / tests/; etc.).
- `xmp4_usages`: Find all usages/references of a symbol in a project.
- `xmp4_view`: Read a raw file excerpt from an indexed project by line range. Use after xmp4_search/xmp4_outline locates the region of interest, or to expand a truncated xmp4_source snippet. Hard cap of 500 lines per call.
