Metadata-Version: 2.4
Name: robocop-mcp
Version: 1.1.0
Summary: MCP server for helping user to resolve Robot Framework code issues detected by Robocop.
Author-email: Tatu Aalto <aalto.tatu@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/tatuaalto/robocop-mcp
Project-URL: Repository, https://github.com/tatuaalto/robocop-mcp
Project-URL: Issues, https://github.com/tatuaalto/robocop-mcp/issues
Project-URL: Documentation, https://github.com/tatuaalto/robocop-mcp/README.md
Keywords: robotframework,robocop,mcp,server,code quality,linting
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Utilities
Classifier: Framework :: Robot Framework
Classifier: Framework :: Robot Framework :: Tool
Classifier: Intended Audience :: Developers
Requires-Python: >=3.10.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx>=0.28.1
Requires-Dist: mcp[cli]>=1.21.1
Requires-Dist: robotframework-robocop>=6.11.0
Requires-Dist: tomli>=2.2.1
Dynamic: license-file

# Robocop MCP server
Robocop MCP server helps users to resolve their static code analysis
errors and warnings with help of an LLM.

# Install

Install with pip:
`pip install robocop-mcp`

# Running robocop-mcp server

## running MCP server in VS Code workspace:

1. Create a `.vscode/mcp.json` file in your workspace.
2. Add following configuration to the mcp.json file:
```json
{
    "servers": {
        "robocop-mcp":{
            "type": "stdio",
            "command": "${workspaceFolder}/.venv/bin/python",
            "args": [
                "-m",
                "robocop_mcp",
            ],

        }
    }
}
````
3. Change your CopPilot chat to Agent mode and select
suitable model for your use.
4. Remember to click start button in the `mcp.json` file

For general detail about configuring MCP server in VS Code,
see the VS Code
[documentation](https://code.visualstudio.com/docs/copilot/customization/mcp-servers#_configuration-format)

# Using robocop-mcp

https://github.com/user-attachments/assets/f446f31f-a91e-4cc1-bae0-6b691469dfba
