fix(mcp): migrate to standalone fastmcp package to resolve official SDK v2 breaking change (#15)
This commit is contained in:
1 parent
663e375ff3
commit
ca3ba01f36
3 files changed
+11
-4
No files matched your search
@@ -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"
|
||||
Reference in new issue
Block a user