Skip to content

Commit a23426e

Browse files
committed
feat: add MCP optional dependency and entry point
- Add 'mcp' extras_require for optional MCP support - Add 'elm-mcp-server' console_scripts entry point - Install with: pip install 'elmclient[mcp]'
1 parent 87c5968 commit a23426e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@
3535
packages=["elmclient", "elmclient.examples","elmclient.tests"],
3636
include_package_data=True,
3737
install_requires=['CacheControl','anytree',"colorama","cryptography",'lark_parser','lockfile','lxml',"openpyxl","python-dateutil", "pytz", "requests","requests_toolbelt",'tqdm','urllib3', "bump2version", "twine",'filelock'],
38+
extras_require={
39+
"mcp": ["mcp[cli]"],
40+
},
3841
entry_points={
3942
"console_scripts": [
4043
"oslcquery=elmclient.examples.oslcquery:main",
@@ -43,6 +46,7 @@
4346
"reqif_io=elmclient.examples.reqif_io:main",
4447
"log2seq=elmclient.examples.log2seq:main",
4548
"validate=elmclient.examples.validate:main",
49+
"elm-mcp-server=elmclient.mcp_server:main",
4650
]
4751
},
4852
)

0 commit comments

Comments
 (0)