Confidential guide on numerology and astrology, based of GG33 Public information

servidor MCP
3 years
Works with Finder
1
Github Watches
0
Github Forks
0
Github Stars
MCP Server (mcp-tools)
This project contains a general MCP server designed to provide tools for AI agents, communicating via stdin/stdout using the Model Context Protocol (MCP).
Tools Provided
The server currently offers the following tools, callable via the call_tool
endpoint:
check_markdown_link_file
- Description: Checks HTTP/HTTPS links in a single specified Markdown file.
-
Arguments:
-
file_path
(string, required): The path to the Markdown file (relative to the project root or absolute).
-
-
Example
arguments
:{ "file_path": "docs/usage.md" }
- Output: A text report detailing the status of links found in the file (total, valid, broken, errors).
check_markdown_link_files
- Description: Checks HTTP/HTTPS links within a provided list of Markdown files.
-
Arguments:
-
file_paths
(list of strings, required): A list of paths to the Markdown files (relative to the project root or absolute).
-
-
Example
arguments
:{ "file_paths": [ "README.md", "docs/requirements/link_checker_tool_enhancements_reqs.md" ] }
- Output: A consolidated text report summarizing the link status across all processed files.
check_markdown_link_directory
-
Description: Recursively scans a specified directory for
*.md
files and checks HTTP/HTTPS links within them. -
Arguments:
-
directory_path
(string, required): The path to the directory to scan.
-
-
Example
arguments
:{ "directory_path": "docs/" }
- Output: A consolidated text report summarizing the link status across all Markdown files found in the directory.
check_markdown_links_project
-
Description: Scans the entire project for
*.md
files, excluding those listed in the root.gitignore
file, and checks HTTP/HTTPS links within the remaining files. - Arguments: None.
-
Example
arguments
:{}
-
Output: A consolidated text report summarizing the link status across all processed Markdown files found in the project (respecting
.gitignore
).
Setup & Usage (Using Makefile)
This project uses uv
for environment and dependency management, orchestrated via a Makefile
.
-
Navigate to the project directory: Ensure you are in the root directory of this project (
mcp-server
).cd /path/to/mcp-server
-
Install dependencies (including dev/test): This command creates a local virtual environment (
.venv
) if it doesn't exist and installs all necessary packages usinguv
.make install-dev
-
Run Tests & Coverage:
make test
This command runs all unit tests using
pytest
and generates a code coverage report usingcoverage.py
.- The test run is configured to fail if the total coverage drops below 85% (see
Makefile
). - As of 2025-04-04, the coverage status is:
- Overall: 85%
-
src/mcp_server/server.py
: 81% (Main handlers covered;main
loop untested) -
src/mcp_server/tools/link_checker.py
: 89% (Core logic covered; some edge cases in status checking untested)
- The test run is configured to fail if the total coverage drops below 85% (see
-
Lint & Format Code: Uses
ruff
to check for linting errors and format the code according to project standards.make lint
-
Run the Server (Manually): The server listens on stdin/stdout.
make run
(Note: Manual interaction requires sending correctly framed JSON-RPC messages, including
initialize
andinitialized
beforecall_tool
.) -
Clean Up: Removes the virtual environment and cache files.
make clean
Cursor MCP Integration (Linux)
This server can be integrated with Cursor as an MCP tool using the following global configuration in ~/.cursor/mcp.json
(you may need to create this file/directory):
{
"mcpServers": {
"local-link-checker": {
"name": "Local Link Checker", // Name displayed in Cursor
"type": "command",
// Use the absolute path to the python executable within THIS project's venv
"command": "/absolute/path/to/mcp-server/.venv/bin/python",
"args": [
"-m", // Run module
"mcp_server.server" // The server module to run
]
// Optional: Define the working directory if needed (usually handled by -m)
// "cwd": "/absolute/path/to/mcp-server"
}
}
}
Important Notes for Integration:
-
Absolute Paths: You MUST replace
/absolute/path/to/mcp-server
with the correct, absolute path to this project's directory on your system. -
Virtual Environment: This configuration assumes you have run
make install-dev
first to create the.venv
and install dependencies within this project directory. -
Working Directory & File Paths: When run via
python -m
, the server's working directory is typically the project root (/absolute/path/to/mcp-server
). Therefore, when invoking the tool (e.g.,@Local Link Checker
), thefile_path
argument should be relative to this project root (e.g.,file_path: test_links.md
for a file at the root) or an absolute path. -
Restart Cursor: After adding or modifying
~/.cursor/mcp.json
, you must restart Cursor for the changes to take effect.
Previous integration attempts using different methods (like uv run
or shell wrappers) failed due to issues with Cursor's process execution environment on Linux. The direct python -m
approach using the project's own virtual environment is the configuration proven to work.
Adding New Tools
- Define the tool's schema in
handle_list_tools
(src/mcp_server/server.py
). - Implement the tool's logic under a new
elif name == "your-tool-name":
block inhandle_call_tool
(src/mcp_server/server.py
).- Create helper functions in separate files under
src/mcp_server/tools/
as needed. - Add unit tests for the helper functions in
tests/
.
- Create helper functions in separate files under
- Add any new dependencies to
pyproject.toml
. - Update the
install-dev
target in theMakefile
if new test-only dependencies are added (base dependencies should be handled byuv sync
withininstall-dev
). - Update this README.
Contributing
Contributions are welcome! Please follow standard coding practices and ensure tests pass (make test
) before submitting pull requests.
License
[Specify your license here]
相关推荐
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
I find academic articles and books for research and literature reviews.
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Descubra la colección más completa y actualizada de servidores MCP en el mercado. Este repositorio sirve como un centro centralizado, que ofrece un extenso catálogo de servidores MCP de código abierto y propietarios, completos con características, enlaces de documentación y colaboradores.
Manipulación basada en Micrypthon I2C del expansor GPIO de la serie MCP, derivada de AdaFruit_MCP230xx
Servidor MCP para obtener contenido de la página web con el navegador sin cabeza de dramaturgo.
Un poderoso complemento Neovim para administrar servidores MCP (protocolo de contexto del modelo)
Puente entre los servidores Ollama y MCP, lo que permite a LLM locales utilizar herramientas de protocolo de contexto del modelo
🔍 Habilitar asistentes de IA para buscar y acceder a la información del paquete PYPI a través de una interfaz MCP simple.
Servidores MCP impresionantes: una lista curada de servidores de protocolo de contexto del modelo
Reviews

user_mSf22Ogu
I have been using mcp-server by danfmaia and it has significantly improved my development workflow. The setup process was smooth and the documentation is clear. The server’s performance is impressive, making it an essential tool for any developer. Highly recommended!