fix(mcp): migrate to standalone fastmcp package to resolve official SDK v2 breaking change (#15)

This commit is contained in:
i/o agent authored and GitHub committed 2026-08-12 14:08:06 -04:00
1 parent 663e375ff3
commit ca3ba01f36
3 files changed
+11 -4

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
"""Tests for the server module and its FastMCP initialization."""
import pytest
def test_server_imports():
"""Ensure that the server and mcp instance can be imported without errors."""
from npm_mcp.server import mcp
assert mcp is not None
assert mcp.name == "npm-mcp"