mirror of
https://github.com/himanshudongre/smriti.git
synced 2026-08-28 05:14:59 +00:00
First two steps of V3 Build 2 (the MCP server transport):
- Pin `mcp>=1.27.0,<2.0.0` in cli/pyproject.toml. FastMCP has been
the high-level API across the entire 1.x line and is what the
server will use for tool registration. Verified importable as
`from mcp.server.fastmcp import FastMCP`.
- Add `[project.optional-dependencies].dev` with pytest>=7.0 and
`[tool.pytest.ini_options]` so `pip install -e "./cli[dev]"`
gets the full dev loop. The cli package previously had no tests.
- Create cli/tests/ with __init__.py, an empty conftest.py (soon
to host the shared mock_client fixture), and a smoke test that
just confirms `smriti_cli` imports. Gives us a working `pytest`
command from the first commit.
The `smriti-mcp` entry point + actual MCP server code land in the
next commit alongside mcp_server.py so every commit leaves the
package in an installable state.
0 lines
Python
0 lines
Python