trustgraph/trustgraph-mcp
Matt Van Horn 563ec51b03
chore(mcp): remove unused imports in trustgraph-mcp
Closes #784.

ruff F401 pass on `trustgraph-mcp/trustgraph/mcp_server/`:

- `tg_socket.py` — drop `dataclasses.dataclass` and `time` (the example
  called out in the issue; neither is referenced anywhere in the file).
- `mcp.py` — drop five additional unused imports surfaced by ruff in
  the same directory: `typing.Optional`, `time`, `typing.AsyncGenerator`,
  `asyncio`, `uuid`, `mcp.types.TextContent`, and
  `websockets.asyncio.client.connect`.

Scope is limited to the mcp_server directory — seven F401 hits, all
autofixable. Other packages in the monorepo have more F401 warnings
that can be cleaned up in follow-up PRs to keep this one reviewable.

`ruff check --select F401 trustgraph-mcp/trustgraph/mcp_server/` is
clean after the change.
2026-04-13 23:57:40 -04:00
..
trustgraph/mcp_server chore(mcp): remove unused imports in trustgraph-mcp 2026-04-13 23:57:40 -04:00
pyproject.toml Add missing trustgraph-base dependency (#606) 2026-01-09 14:48:44 +00:00
README.md PoC MCP server (#419) 2025-07-02 18:19:23 +01:00